15 #include "CeeGeometry/Base.h" 16 #include "CeeVisualization/Model.h" 17 #include "CeeCore/RefCountedObject.h" 18 #include "CeeGeometry/Effect.h" 35 void setVisible(
bool visible);
38 void setIntersectable(
bool intersectable);
39 bool intersectable()
const;
41 size_t effectCount()
const;
42 size_t effectIndex(
const Effect* effect)
const;
43 Effect* effect(
size_t index);
44 const Effect* effect(
size_t index)
const;
45 void addEffect(
Effect* effect);
46 void removeEffect(
Effect* effect);
47 void removeAllEffects();
50 const T* activeEffectOfType()
const;
52 T* activeEffectOfType();
55 void removeAllEffectsOfType();
71 size_t i = effectCount();
75 if (dynamic_cast<const T*>(effect(i)))
77 removeEffect(effect(i));
90 size_t i = effectCount();
94 if (dynamic_cast<const T*>(effect(i)))
96 return static_cast<const T*
>(effect(i));
Part settings represents how to draw a part and it's associated part data.
Definition: PartSettings.h:29
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
void removeAllEffectsOfType()
Removes all effects of the given type.
Definition: PartSettings.h:69
Base class for all reference counted objects with built-in support for intrusive reference counting...
Definition: RefCountedObject.h:34
GeometryModel is a subclass of Model that can handle a large number of parts efficiently.
Definition: GeometryModel.h:36
const T * activeEffectOfType() const
Returns the active (last inserted/top of stack) effect of the given type T, or NULL if no effect of t...
Definition: PartSettings.h:88
Base class for an effect describing how to draw a part and it's associated part data.
Definition: Effect.h:28
Geometry part and how it is to be drawn.
Definition: Part.h:32