Defines a component represented by an outline. More...
#include <cadex/PMI/GraphicalComponent.hxx>
Public Member Functions | |
OutlinedComponent () | |
Constructor. | |
OutlinedComponent (const Outline &theOutline) | |
Creates the outline component from the outline. | |
void | SetOutline (const Outline &theOutline) |
Sets the outline. | |
PMI::Outline | Outline () const |
Returns the outline. | |
![]() | |
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 OutlinedComponent 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 an outline.
The component stores PMI graphical data expressed by outline(s), like: unfilled text, lines, frames, arrows, etc.
The 2d elements of a component are defined by coordinates in the plane of its parent graphical element.