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 CFaceTraits & | FaceTraits (unsigned int iFace) |
TIGL_EXPORT unsigned int | GetFaceCount () const |
TIGL_EXPORT const CFaceTraits & | GetFaceTraits (unsigned int iFace) const |
TIGL_EXPORT std::string | Name () const |
TIGL_EXPORT CNamedShape & | operator= (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 |
The CNamedShape class stores a TopoDS_Shape and additional metadata to origin of faces, names and history.
TIGL_EXPORT CNamedShape::CNamedShape | ( | ) |
TIGL_EXPORT CNamedShape::CNamedShape | ( | const TopoDS_Shape & | shape, |
const std::string & | shapeName | ||
) |
TIGL_EXPORT CNamedShape::CNamedShape | ( | const TopoDS_Shape & | shape, |
const std::string & | shapeName, | ||
const std::string & | shapeShortName | ||
) |
TIGL_EXPORT CNamedShape::CNamedShape | ( | const CNamedShape & | ) |
TIGL_EXPORT CNamedShape::~CNamedShape | ( | ) |
TIGL_EXPORT void CNamedShape::Clear | ( | ) |
TIGL_EXPORT PNamedShape CNamedShape::DeepCopy | ( | ) | const |
TIGL_EXPORT CFaceTraits& CNamedShape::FaceTraits | ( | unsigned int | iFace | ) |
TIGL_EXPORT unsigned int CNamedShape::GetFaceCount | ( | ) | const |
TIGL_EXPORT const CFaceTraits& CNamedShape::GetFaceTraits | ( | unsigned int | iFace | ) | const |
|
protected |
TIGL_EXPORT std::string CNamedShape::Name | ( | ) | const |
TIGL_EXPORT CNamedShape& CNamedShape::operator= | ( | const CNamedShape & | ) |
TIGL_EXPORT void CNamedShape::SetFaceTraits | ( | int | iFace, |
const CFaceTraits & | traits | ||
) |
TIGL_EXPORT void CNamedShape::SetName | ( | const std::string & | ) |
TIGL_EXPORT void CNamedShape::SetShape | ( | const TopoDS_Shape & | ) |
TIGL_EXPORT void CNamedShape::SetShortName | ( | const std::string & | ) |
TIGL_EXPORT const TopoDS_Shape& CNamedShape::Shape | ( | ) | const |
TIGL_EXPORT std::string CNamedShape::ShortName | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |