Defines a PMI graphical element. More...
#include <cadex/PMI/GraphicalRepresentation.hxx>
Public Member Functions | |
GraphicalRepresentation (Initialized) | |
Constructor. | |
GraphicalRepresentation (const GraphicalComponent &theComponent) | |
Constructor. | |
void | SetPlane (const Geom::Plane &thePlane) |
Geom::Plane | Plane () const |
void | AddComponent (const GraphicalComponent &theComponent) |
const std::vector< PMI::GraphicalComponent > & | Components () const |
Returns the graphical components. | |
bool | IsEmpty () const |
size_t | NumberOfComponents () const |
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 GraphicalRepresentation type. | |
Additional Inherited Members | |
![]() | |
typedef std::shared_ptr< internal::BaseObjectImpl > | ImplType |
![]() | |
BaseObject (const ImplType &theImpl) | |
Defines a PMI graphical element.
The element contains a graphical representation of PMI entity such as dimension or tolerance measurement.
The represented information can be stored in different ways: outlines, text or triangulation. There is the GraphicalComponent subclass for each representation mechanism. An element contains any number of components and plane.