|
AGX Dynamics
2.35.0.1
|
#include <ParticlePostProcessColorer.h>
Inheritance diagram for agxQt::ParticleColorerManager:Public Types | |
| typedef agx::HashTable< agx::Name, ParticleColorMode > | ParticleColorModeTable |
Public Member Functions | |
| ParticleColorerManager () | |
| void | addCustomColorMode (const agx::String &name, ParticleColorer::GetParticleRealFunc getRealFunc, const agx::String &unitString) |
| void | colorParticles (agx::ParticleSystem *system) |
| ParticleColorMode | getActiveParticleColorMode () const |
| ParticleColorModeVector | getAvailableParticleColorModes () |
| agxOSG::ScalarColorMap * | getColorMap () const |
| bool | getLimitInBound () const |
| agx::Real | getMaxScalar () const |
| agx::Real | getMinScalar () const |
| bool | particleColorModeExists (const agx::String &name) |
| void | setAnalysisBox (const agx::AnalysisBox *analysisBox) |
| void | setEnableModifyScalarFromAlpha (bool enable) |
| void | setLimitInBound (bool limitInBound) |
| void | setMaxScalar (agx::Real maxScalar) |
| void | setMinScalar (agx::Real minScalar) |
| void | setParticleColorModeFromName (const agx::String &name) |
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 | ~ParticleColorerManager () |
| void | initColorRange () |
| void | initParticleModes () |
| void | setParticleColorMode (ParticleColorMode mode) |
| bool | shouldLimitColorToBound () const |
Protected Member Functions inherited from agx::Referenced | |
| virtual | ~Referenced () |
| Destructor. More... | |
| void | allocateObserverVector () const |
| void | deleteUsingDeleteHandler () const |
Protected Attributes | |
| ParticleColorerRef | m_activeParticleColorer |
| const agx::AnalysisBox * | m_analysisBox |
| bool | m_limitInBound |
| agx::Real | m_maxScalar |
| agx::Real | m_minScalar |
| bool | m_modifyAlphaFromScalar |
| ParticleColorModeTable | m_particleColorModeTable |
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... | |
Definition at line 104 of file ParticlePostProcessColorer.h.
| typedef agx::HashTable<agx::Name, ParticleColorMode> agxQt::ParticleColorerManager::ParticleColorModeTable |
Definition at line 107 of file ParticlePostProcessColorer.h.
| agxQt::ParticleColorerManager::ParticleColorerManager | ( | ) |
|
inlineprotectedvirtual |
Definition at line 146 of file ParticlePostProcessColorer.h.
| void agxQt::ParticleColorerManager::addCustomColorMode | ( | const agx::String & | name, |
| ParticleColorer::GetParticleRealFunc | getRealFunc, | ||
| const agx::String & | unitString | ||
| ) |
| void agxQt::ParticleColorerManager::colorParticles | ( | agx::ParticleSystem * | system | ) |
| ParticleColorMode agxQt::ParticleColorerManager::getActiveParticleColorMode | ( | ) | const |
| ParticleColorModeVector agxQt::ParticleColorerManager::getAvailableParticleColorModes | ( | ) |
| agxOSG::ScalarColorMap* agxQt::ParticleColorerManager::getColorMap | ( | ) | const |
| bool agxQt::ParticleColorerManager::getLimitInBound | ( | ) | const |
Definition at line 177 of file ParticlePostProcessColorer.h.
References m_limitInBound.
| agx::Real agxQt::ParticleColorerManager::getMaxScalar | ( | ) | const |
Definition at line 165 of file ParticlePostProcessColorer.h.
References m_maxScalar.
| agx::Real agxQt::ParticleColorerManager::getMinScalar | ( | ) | const |
Definition at line 167 of file ParticlePostProcessColorer.h.
References m_minScalar.
|
protected |
Referenced by setAnalysisBox(), setMaxScalar(), and setMinScalar().
|
protected |
| bool agxQt::ParticleColorerManager::particleColorModeExists | ( | const agx::String & | name | ) |
| void agxQt::ParticleColorerManager::setAnalysisBox | ( | const agx::AnalysisBox * | analysisBox | ) |
Definition at line 173 of file ParticlePostProcessColorer.h.
References initColorRange(), and m_analysisBox.
| void agxQt::ParticleColorerManager::setEnableModifyScalarFromAlpha | ( | bool | enable | ) |
Definition at line 179 of file ParticlePostProcessColorer.h.
References m_modifyAlphaFromScalar.
| void agxQt::ParticleColorerManager::setLimitInBound | ( | bool | limitInBound | ) |
Definition at line 175 of file ParticlePostProcessColorer.h.
References m_limitInBound.
| void agxQt::ParticleColorerManager::setMaxScalar | ( | agx::Real | maxScalar | ) |
Definition at line 169 of file ParticlePostProcessColorer.h.
References initColorRange(), and m_maxScalar.
| void agxQt::ParticleColorerManager::setMinScalar | ( | agx::Real | minScalar | ) |
Definition at line 171 of file ParticlePostProcessColorer.h.
References initColorRange(), and m_minScalar.
|
protected |
| void agxQt::ParticleColorerManager::setParticleColorModeFromName | ( | const agx::String & | name | ) |
|
protected |
|
protected |
Definition at line 162 of file ParticlePostProcessColorer.h.
|
protected |
Definition at line 158 of file ParticlePostProcessColorer.h.
Referenced by setAnalysisBox().
|
protected |
Definition at line 159 of file ParticlePostProcessColorer.h.
Referenced by getLimitInBound(), and setLimitInBound().
|
protected |
Definition at line 156 of file ParticlePostProcessColorer.h.
Referenced by getMaxScalar(), and setMaxScalar().
|
protected |
Definition at line 157 of file ParticlePostProcessColorer.h.
Referenced by getMinScalar(), and setMinScalar().
|
protected |
Definition at line 160 of file ParticlePostProcessColorer.h.
Referenced by setEnableModifyScalarFromAlpha().
|
protected |
Definition at line 161 of file ParticlePostProcessColorer.h.