3.4.0
CFaceTraits Class Reference

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::CTiglTransformationTransformation () const
 

Private Attributes

std::string _componentUID
 
std::string _faceName
 
unsigned int _indexInOrigin
 
tigl::CTiglTransformation _localTransformation
 
PNamedShape _origin
 

Detailed Description

The CFaceTraits class stores face metadata like a reference to the shape where the face was originally created in and its name.

Constructor & Destructor Documentation

◆ CFaceTraits()

TIGL_EXPORT CFaceTraits::CFaceTraits ( )

Member Function Documentation

◆ ComponentUID()

TIGL_EXPORT std::string CFaceTraits::ComponentUID ( ) const

◆ Index()

TIGL_EXPORT unsigned int CFaceTraits::Index ( ) const

◆ Name()

TIGL_EXPORT std::string CFaceTraits::Name ( ) const

◆ Origin()

TIGL_EXPORT const PNamedShape CFaceTraits::Origin ( ) const

◆ SetComponentUID()

TIGL_EXPORT void CFaceTraits::SetComponentUID ( const std::string &  uid)

◆ SetDerivedFromShape()

TIGL_EXPORT void CFaceTraits::SetDerivedFromShape ( PNamedShape  origin,
unsigned int  iface 
)

◆ SetIndex()

TIGL_EXPORT void CFaceTraits::SetIndex ( unsigned int  )

◆ SetName()

TIGL_EXPORT void CFaceTraits::SetName ( const std::string &  )

◆ SetOrigin()

TIGL_EXPORT void CFaceTraits::SetOrigin ( const  PNamedShape)

◆ SetTransformation()

TIGL_EXPORT void CFaceTraits::SetTransformation ( const tigl::CTiglTransformation trafo)

◆ Transformation()

TIGL_EXPORT const tigl::CTiglTransformation& CFaceTraits::Transformation ( ) const

Field Documentation

◆ _componentUID

std::string CFaceTraits::_componentUID
private

Name of the face

◆ _faceName

std::string CFaceTraits::_faceName
private

Index of face in original shape

◆ _indexInOrigin

unsigned int CFaceTraits::_indexInOrigin
private

Pointer to the original shape where this face was created

◆ _localTransformation

tigl::CTiglTransformation CFaceTraits::_localTransformation
private

UID of the TiGL component the face belongs to

◆ _origin

PNamedShape CFaceTraits::_origin
private

The documentation for this class was generated from the following file: