17 #ifndef AGXQT_FILTER_H 18 #define AGXQT_FILTER_H 20 #include <agx/config/AGX_USE_KEYSHOT.h> 72 void setActiveParticleRenderFilterFromString(
const agx::String& name);
91 ParticleRenderFilterModeVector getAvailableParticleRenderModes()
const;
98 bool particleRenderFilterExists(
const agx::String& name);
106 void setFilterThresholdScalar(
agx::Real threshold);
114 agx::Real getFilterThresholdScalar()
const;
124 void initStandardFilters();
159 void setScalarRenderThreshold(
agx::Real scalarThreshold);
ParticleFilterConstructor m_constructor
std::function< ParticleRenderFilter *()> ParticleFilterConstructor
Struct containing information and constructors for a specific particle filter, that removes rendering...
Contains classes/utility functions for connecting AGX to QT with OSG.
#define AGX_DECLARE_POINTER_TYPES(type)
Representation of a name string.
bool operator==(const ParticleFilterMode &rhs)
agx::Vector< ParticleFilterMode > ParticleRenderFilterModeVector
This is a class that filters particles from certain criteria.
Base class providing referencing counted objects.
static const char *const PARTICLEFILTER_NONE_NAME
std::function< bool(agx::ParticleSystem *, agx::Physics::ParticlePtr)> ParticleFilterFunction
A basic particle system that contains all the storages and buffers required for basic operation and a...
agx::Real m_scalarThreshold
ParticleFilterMode AGXQT_EXPORT createNoneParticleFilterMode()
ParticleColorModeTable m_availableParticleFilters
agx::Real m_scalarThreshold
agx::Name getName() const
Returns the name type identifier for the ParticleFilter.
ParticleRenderFilter * m_activeParticleFilter
Inheritance with partial specialization due to bug with ref_ptr containers.
ParticleFilterFunction m_filterFunction
Pointer to a entity instance of type Physics.Particle.
This is a base abstract class for filtering particles.
This is a class that filters particles from certain criteria.
agx::HashTable< agx::Name, ParticleFilterMode > ParticleColorModeTable