15 #include "CeeGeometry/Base.h" 16 #include "CeeCore/RefCountedObject.h" 17 #include "CeeCore/Mat4d.h" 18 #include "CeeCore/BoundingBox.h" 25 class TextureCoordinates;
40 const Data* data()
const;
41 void setData(
Data* data);
47 const T* dataOfType()
const;
57 const Mat4d& transformation()
const;
58 void setTransformation(
const Mat4d& matrix);
63 CEE_PRIVATE_IMPL(
Part);
65 CEE_DISALLOW_COPY_AND_ASSIGN(
Part);
76 if (dynamic_cast<const T*>(data()))
78 return static_cast<const T*
>(data());
93 return const_cast<T*
>(
static_cast<const Part&
>(*this).
dataOfType<T>());
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
Texture coordinates.
Definition: TextureCoordinates.h:30
Base class for all geometry part data classes.
Definition: Data.h:28
Base class for all reference counted objects with built-in support for intrusive reference counting...
Definition: RefCountedObject.h:34
Axis-aligned bounding box.
Definition: BoundingBox.h:27
GeometryModel is a subclass of Model that can handle a large number of parts efficiently.
Definition: GeometryModel.h:36
const T * dataOfType() const
Returns the active (last inserted/top of stack) effect of the given type T, or NULL if no effect of t...
Definition: Part.h:74
Geometry part and how it is to be drawn.
Definition: Part.h:32
4 dimensional matrix.
Definition: Mat4d.h:26