AGX Dynamics  2.37.3.2
agxQt::ParticleContactGraphRenderer Class Reference

#include <QtOSGUtils.h>

+ Inheritance diagram for agxQt::ParticleContactGraphRenderer:

Public Member Functions

 ParticleContactGraphRenderer (osg::Group *root, agx::ParticleSystem *ps)
 
bool getEnable () const
 
agx::Real getMaxNetworkForce () const
 
agx::Real getMinNetworkForce () const
 
void setEnable (bool enable)
 
void setMaxNetworkForce (agx::Real minForce)
 
void setMinNetworkForce (agx::Real minForce)
 
- Public Member Functions inherited from agx::Referenced
 Referenced ()
 Default constructor. More...
 
 Referenced (const Referenced &)
 
template<typename T >
T * as ()
 Subclass casting. More...
 
template<typename T >
const T * as () const
 
template<typename T >
T * asSafe ()
 Safe subclass casting, return nullptr if template type does not match. More...
 
template<typename T >
const T * asSafe () const
 
int getReferenceCount () const
 
template<typename T >
bool is () const
 Subclass test. More...
 
Referenced & operator= (const Referenced &)
 Assignment operator. Will increment the number of references to the referenced object. More...
 
void reference (void *ptr=nullptr) const
 Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it. More...
 
void unreference (void *ptr=nullptr) const
 Decrement the reference count by one, indicating that a pointer to this object is referencing it. More...
 
void unreference_nodelete () const
 Decrement the reference count by one, indicating that a pointer to this object is referencing it. More...
 

Protected Member Functions

virtual ~ParticleContactGraphRenderer ()
 
- Protected Member Functions inherited from agx::Referenced
virtual ~Referenced ()
 Destructor. More...
 
void allocateObserverVector () const
 
void deleteUsingDeleteHandler () const
 

Protected Attributes

agxOSG::ParticleContactGraphDrawable * m_graphDrawable
 
agx::ParticleSystem * m_particleSystem
 
osg::observer_ptr< osg::Group > m_root
 
- Protected Attributes inherited from agx::Referenced
Mutex m_mutex
 
ObserverContainer m_observers
 
AtomicValue m_refCount
 

Additional Inherited Members

- Static Public Member Functions inherited from agx::Referenced
template<typename T >
static bool ValidateCast (const Referenced *object)
 
- Static Protected Member Functions inherited from agx::Referenced
static DeleteHandler * getDeleteHandler ()
 
static void setDeleteHandler (DeleteHandler *handler)
 Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to. More...
 

Detailed Description

Definition at line 193 of file QtOSGUtils.h.

Constructor & Destructor Documentation

◆ ParticleContactGraphRenderer()

agxQt::ParticleContactGraphRenderer::ParticleContactGraphRenderer ( osg::Group *  root,
agx::ParticleSystem *  ps 
)

◆ ~ParticleContactGraphRenderer()

virtual agxQt::ParticleContactGraphRenderer::~ParticleContactGraphRenderer ( )
protectedvirtual

Member Function Documentation

◆ getEnable()

bool agxQt::ParticleContactGraphRenderer::getEnable ( ) const

Definition at line 223 of file QtOSGUtils.h.

◆ getMaxNetworkForce()

agx::Real agxQt::ParticleContactGraphRenderer::getMaxNetworkForce ( ) const

Definition at line 231 of file QtOSGUtils.h.

◆ getMinNetworkForce()

agx::Real agxQt::ParticleContactGraphRenderer::getMinNetworkForce ( ) const

Definition at line 229 of file QtOSGUtils.h.

◆ setEnable()

void agxQt::ParticleContactGraphRenderer::setEnable ( bool  enable)

Definition at line 221 of file QtOSGUtils.h.

◆ setMaxNetworkForce()

void agxQt::ParticleContactGraphRenderer::setMaxNetworkForce ( agx::Real  minForce)

Definition at line 225 of file QtOSGUtils.h.

◆ setMinNetworkForce()

void agxQt::ParticleContactGraphRenderer::setMinNetworkForce ( agx::Real  minForce)

Definition at line 227 of file QtOSGUtils.h.

Member Data Documentation

◆ m_graphDrawable

agxOSG::ParticleContactGraphDrawable* agxQt::ParticleContactGraphRenderer::m_graphDrawable
protected

Definition at line 218 of file QtOSGUtils.h.

◆ m_particleSystem

agx::ParticleSystem* agxQt::ParticleContactGraphRenderer::m_particleSystem
protected

Definition at line 217 of file QtOSGUtils.h.

◆ m_root

osg::observer_ptr<osg::Group> agxQt::ParticleContactGraphRenderer::m_root
protected

Definition at line 216 of file QtOSGUtils.h.


The documentation for this class was generated from the following file: