Defines a component represented by a triangulation. More...
#include <cadex/PMI/GraphicalComponent.hxx>
Public Member Functions | |
TriangulatedComponent () | |
Constructor. | |
TriangulatedComponent (const ModelData::IndexedTriangleSet &theTriangleSet) | |
Constructor. | |
void | SetTriangleSet (const ModelData::IndexedTriangleSet &theTriangleSet) |
Sets the triangle set. | |
ModelData::IndexedTriangleSet | TriangleSet () const |
Returns the triangle set. | |
![]() | |
void | Accept (GraphicalComponentVisitor &theVisitor) const |
![]() | |
size_t | Id () const |
Return unique identifier of public object. | |
internal::BaseObjectImpl * | Impl () const |
bool | IsNull () const |
operator bool () const | |
template<typename T > | |
bool | IsOfType () const |
template<typename T > | |
T * | Impl () const |
Reserved for internal use. | |
Static Public Member Functions | |
static bool | CompareType (const BaseObject &theObject) |
Returns true if theObject has the TriangulatedComponent type. | |
![]() | |
static bool | CompareType (const BaseObject &theObject) |
Returns true if theObject has GraphicalComponent type. | |
Additional Inherited Members | |
![]() | |
typedef std::shared_ptr< internal::BaseObjectImpl > | ImplType |
![]() | |
GraphicalComponent (const ImplType &theImpl) | |
![]() | |
BaseObject (const ImplType &theImpl) | |
Defines a component represented by a triangulation.
The component stores PMI graphical data expressed by triangulation, like a filled text or any other triangulated planar shape.
The component contains an indexed triangle set.