Hide menu
Loading...
Searching...
No Matches
cadex::PMI::TriangulatedComponent Class Reference

Defines a component represented by a triangulation. More...

#include <cadex/PMI/GraphicalComponent.hxx>

Inheritance diagram for cadex::PMI::TriangulatedComponent:
cadex::PMI::GraphicalComponent cadex::BaseObject

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.
 
- Public Member Functions inherited from cadex::PMI::GraphicalComponent
void Accept (GraphicalComponentVisitor &theVisitor) const
 
- Public Member Functions inherited from cadex::BaseObject
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 Public Member Functions inherited from cadex::PMI::GraphicalComponent
static bool CompareType (const BaseObject &theObject)
 Returns true if theObject has GraphicalComponent type.
 

Additional Inherited Members

- Public Types inherited from cadex::BaseObject
typedef std::shared_ptr< internal::BaseObjectImpl > ImplType
 
- Protected Member Functions inherited from cadex::PMI::GraphicalComponent
 GraphicalComponent (const ImplType &theImpl)
 
- Protected Member Functions inherited from cadex::BaseObject
 BaseObject (const ImplType &theImpl)
 

Detailed Description

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.

See also
GraphicalRepresentation
Examples
exploring/pmi/Program.cs, and exploring/pmi/main.cxx.