The CFaceTraits class stores face metadata like a reference to the shape where the face was originally created in and its name. More...
#include <CNamedShape.h>
Public Member Functions | |
TIGL_EXPORT | CFaceTraits () |
TIGL_EXPORT std::string | ComponentUID () const |
TIGL_EXPORT unsigned int | Index () const |
TIGL_EXPORT std::string | Name () const |
TIGL_EXPORT const PNamedShape | Origin () const |
TIGL_EXPORT void | SetComponentUID (const std::string &uid) |
TIGL_EXPORT void | SetDerivedFromShape (PNamedShape origin, unsigned int iface) |
TIGL_EXPORT void | SetIndex (unsigned int) |
TIGL_EXPORT void | SetName (const std::string &) |
TIGL_EXPORT void | SetOrigin (const PNamedShape) |
TIGL_EXPORT void | SetTransformation (const tigl::CTiglTransformation &trafo) |
TIGL_EXPORT const tigl::CTiglTransformation & | Transformation () const |
Private Attributes | |
std::string | _componentUID |
std::string | _faceName |
unsigned int | _indexInOrigin |
tigl::CTiglTransformation | _localTransformation |
PNamedShape | _origin |
The CFaceTraits class stores face metadata like a reference to the shape where the face was originally created in and its name.
TIGL_EXPORT CFaceTraits::CFaceTraits | ( | ) |
TIGL_EXPORT std::string CFaceTraits::ComponentUID | ( | ) | const |
TIGL_EXPORT unsigned int CFaceTraits::Index | ( | ) | const |
TIGL_EXPORT std::string CFaceTraits::Name | ( | ) | const |
TIGL_EXPORT const PNamedShape CFaceTraits::Origin | ( | ) | const |
TIGL_EXPORT void CFaceTraits::SetComponentUID | ( | const std::string & | uid | ) |
TIGL_EXPORT void CFaceTraits::SetDerivedFromShape | ( | PNamedShape | origin, |
unsigned int | iface | ||
) |
TIGL_EXPORT void CFaceTraits::SetIndex | ( | unsigned int | ) |
TIGL_EXPORT void CFaceTraits::SetName | ( | const std::string & | ) |
TIGL_EXPORT void CFaceTraits::SetOrigin | ( | const | PNamedShape | ) |
TIGL_EXPORT void CFaceTraits::SetTransformation | ( | const tigl::CTiglTransformation & | trafo | ) |
TIGL_EXPORT const tigl::CTiglTransformation& CFaceTraits::Transformation | ( | ) | const |
|
private |
Name of the face
|
private |
Index of face in original shape
|
private |
Pointer to the original shape where this face was created
|
private |
UID of the TiGL component the face belongs to
|
private |