3.4.0
CNamedShape Class Reference

The CNamedShape class stores a TopoDS_Shape and additional metadata to origin of faces, names and history. More...

#include <CNamedShape.h>

Public Member Functions

TIGL_EXPORT void Clear ()
 
TIGL_EXPORT CNamedShape ()
 
TIGL_EXPORT CNamedShape (const TopoDS_Shape &shape, const std::string &shapeName)
 
TIGL_EXPORT CNamedShape (const TopoDS_Shape &shape, const std::string &shapeName, const std::string &shapeShortName)
 
TIGL_EXPORT CNamedShape (const CNamedShape &)
 
TIGL_EXPORT PNamedShape DeepCopy () const
 
TIGL_EXPORT CFaceTraitsFaceTraits (unsigned int iFace)
 
TIGL_EXPORT unsigned int GetFaceCount () const
 
TIGL_EXPORT const CFaceTraitsGetFaceTraits (unsigned int iFace) const
 
TIGL_EXPORT std::string Name () const
 
TIGL_EXPORT CNamedShapeoperator= (const CNamedShape &)
 
TIGL_EXPORT void SetFaceTraits (int iFace, const CFaceTraits &traits)
 
TIGL_EXPORT void SetName (const std::string &)
 
TIGL_EXPORT void SetShape (const TopoDS_Shape &)
 
TIGL_EXPORT void SetShortName (const std::string &)
 
TIGL_EXPORT const TopoDS_Shape & Shape () const
 
TIGL_EXPORT std::string ShortName () const
 
TIGL_EXPORT ~CNamedShape ()
 

Protected Member Functions

void InitFaceTraits ()
 

Protected Attributes

FaceList _myfaceTraits
 
std::string _myname
 
TopoDS_Shape _myshape
 
std::string _myshortName
 

Detailed Description

The CNamedShape class stores a TopoDS_Shape and additional metadata to origin of faces, names and history.

Constructor & Destructor Documentation

◆ CNamedShape() [1/4]

TIGL_EXPORT CNamedShape::CNamedShape ( )

◆ CNamedShape() [2/4]

TIGL_EXPORT CNamedShape::CNamedShape ( const TopoDS_Shape &  shape,
const std::string &  shapeName 
)

◆ CNamedShape() [3/4]

TIGL_EXPORT CNamedShape::CNamedShape ( const TopoDS_Shape &  shape,
const std::string &  shapeName,
const std::string &  shapeShortName 
)

◆ CNamedShape() [4/4]

TIGL_EXPORT CNamedShape::CNamedShape ( const CNamedShape )

◆ ~CNamedShape()

TIGL_EXPORT CNamedShape::~CNamedShape ( )

Member Function Documentation

◆ Clear()

TIGL_EXPORT void CNamedShape::Clear ( )

◆ DeepCopy()

TIGL_EXPORT PNamedShape CNamedShape::DeepCopy ( ) const

◆ FaceTraits()

TIGL_EXPORT CFaceTraits& CNamedShape::FaceTraits ( unsigned int  iFace)

◆ GetFaceCount()

TIGL_EXPORT unsigned int CNamedShape::GetFaceCount ( ) const

◆ GetFaceTraits()

TIGL_EXPORT const CFaceTraits& CNamedShape::GetFaceTraits ( unsigned int  iFace) const

◆ InitFaceTraits()

void CNamedShape::InitFaceTraits ( )
protected

◆ Name()

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

◆ operator=()

TIGL_EXPORT CNamedShape& CNamedShape::operator= ( const CNamedShape )

◆ SetFaceTraits()

TIGL_EXPORT void CNamedShape::SetFaceTraits ( int  iFace,
const CFaceTraits traits 
)

◆ SetName()

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

◆ SetShape()

TIGL_EXPORT void CNamedShape::SetShape ( const TopoDS_Shape &  )

◆ SetShortName()

TIGL_EXPORT void CNamedShape::SetShortName ( const std::string &  )

◆ Shape()

TIGL_EXPORT const TopoDS_Shape& CNamedShape::Shape ( ) const

◆ ShortName()

TIGL_EXPORT std::string CNamedShape::ShortName ( ) const

Field Documentation

◆ _myfaceTraits

FaceList CNamedShape::_myfaceTraits
protected

◆ _myname

std::string CNamedShape::_myname
protected

◆ _myshape

TopoDS_Shape CNamedShape::_myshape
protected

◆ _myshortName

std::string CNamedShape::_myshortName
protected

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