Defines a component represented by triangulation. More...
#include <cadex/ModelData_PMIGraphicalElementComponent.hxx>
Public Types | |
typedef cadex::internal::ModelData_PMITriangulatedComponentImpl | ImplType |
Public Member Functions | |
ModelData_PMITriangulatedComponent () | |
Constructor. | |
ModelData_PMITriangulatedComponent (ImplType *theImpl) | |
ModelData_PMITriangulatedComponent (const ModelData_IndexedTriangleSet &theTriangleSet) | |
void | SetTriangleSet (const ModelData_IndexedTriangleSet &theTriangleSet) |
ModelData_IndexedTriangleSet | TriangleSet () const |
![]() | |
void | Accept (ModelData_PMIGraphicalElementComponentVisitor &theVisitor) const |
template<typename T > | |
bool | IsOfType () const |
Returns true if the object has a type T. | |
![]() | |
void | Nullify () |
Resets reference to implementation object. | |
bool | IsNull () const |
Returns true if the object is nullified. | |
operator bool () const | |
Casts the object to the bool type. | |
internal::Base_HandledObject * | Impl () const |
Return a handle to backend (reserved for internal use). | |
Static Public Member Functions | |
static bool | CompareType (const ModelData_PMIGraphicalElementComponent &theComponent) |
Returns true if theOutline has ModelData_PMITriangulatedComponent type. | |
Additional Inherited Members | |
![]() | |
ModelData_PMIGraphicalElementComponent () | |
Constructor. | |
ModelData_PMIGraphicalElementComponent (internal::ModelData_PMIGraphicalElementComponentImpl *theImpl) | |
Constructor. | |
![]() | |
Base_PublicObject (const internal::Base_HandledObject *theObject) | |
Constructor (reserved for internal use). | |
template<typename T > | |
T * | GetOrCreateImpl () |
Reserved for internal use. | |
Defines a component represented by triangulation.
A component stores PMI graphical data expressed by triangulation, like filled text or any other triangulated planar shape.
A component contains indexed triangle set.
cadex::ModelData_PMITriangulatedComponent::ModelData_PMITriangulatedComponent | ( | ) |
Constructor.
Creates a null object (see IsNull()).