 |
AGXDynamics
2.35.0.3
|
Go to the documentation of this file.
17 #ifndef AGXQT_PARTICLEPOSTPROCESSCOLORER_H
18 #define AGXQT_PARTICLEPOSTPROCESSCOLORER_H
21 #include <osg/ref_ptr>
121 void setParticleColorModeFromName(
const agx::String& name);
123 bool particleColorModeExists(
const agx::String& name);
135 void setEnableModifyScalarFromAlpha(
bool enable);
137 void setLimitInBound(
bool limitInBound);
139 bool getLimitInBound()
const;
144 void initParticleModes();
148 void initColorRange();
150 bool shouldLimitColorToBound()
const;
255 bool m_shouldResetPostions;
295 GetParticleRealFunc m_getRealFunc;
virtual ~ParticlePostPorcessColorerVelocity()
Implements the particle post processor colorer for contact force.
agx::Real getMaxScalar() const
Implements the particle post processor colorer for contact force.
Contains classes/utility functions for connecting AGX to QT with OSG.
agx::Name getName() const
Implements the particle post processor colorer for contact force.
bool m_modifyAlphaFromScalar
std::function< ParticleColorer *()> ColorerConstructor
ParticleColorMode.
virtual ~ParticlePostPorcessColorerHeight()
Class that represents a linear scalar color map that converts a scalar interval to a specified color ...
Implements the particle post processor colorer for velocities.
Implements the particle post processor colorer for velocities.
ParticleColorModeTable m_particleColorModeTable
virtual ~ParticleColorerManager()
Class that can be used to extract data from elements in a simulation within a specified bound.
Implements the particle post processor colorer for velocities.
A class holding 4 dimensional vectors and providing basic arithmetic.
virtual ~ParticlePostPorcessColorerDisplacement()
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
void setEnableModifyScalarFromAlpha(bool enable)
std::function< agx::Real(agx::ParticleSystem *, agx::Physics::ParticlePtr)> GetParticleRealFunc
agx::HashTable< agx::Index, agx::Vec3 > m_particleIdToPosition
virtual ~ParticlePostPorcessColorerContactForce()
Pointer to a entity instance of type Physics.Particle.
static const char *const COLORMODE_NONE_NAME
virtual ~ParticlePostPorcessColorerRadius()
A basic particle system that contains all the storages and buffers required for basic operation and a...
agxOSG::ScalarColorMap * getColorMap() const
agx::Real getMinScalar() const
void setMinScalar(agx::Real minScalar)
Inheritance with partial specialization due to bug with ref_ptr containers.
agx::Vector< ParticleColorMode > ParticleColorModeVector
Representation of a name string.
ParticleColorerRef m_activeParticleColorer
void setLimitInBound(bool limitInBound)
Base class providing referencing counted objects.
#define AGX_DECLARE_POINTER_TYPES(type)
bool getLimitInBound() const
bool operator==(const ParticleColorMode &rhs)
void setMaxScalar(agx::Real maxScalar)
ParticleColorMode AGXQT_EXPORT createNoneParticleColorMode()
virtual ~ParticlePostPorcessKineticEnergy()
agxOSG::ScalarColorMapRef m_colorMap
virtual ~ParticleColorer()
ColorerConstructor m_constructor
void setAnalysisBox(const agx::AnalysisBox *analysisBox)
agx::HashTable< agx::Name, ParticleColorMode > ParticleColorModeTable
virtual ~ParticlePostPorcessColorerLambda()
const agx::AnalysisBox * m_analysisBox
Implements the particle post processor colorer for velocities.