|
cgma
|
#include <CubitEntity.hpp>
Public Member Functions | |
| CubitEntity () | |
| virtual | ~CubitEntity () |
| virtual int | id () const |
| virtual void | set_id (int i) |
| virtual CubitBox | bounding_box ()=0 |
| virtual CubitVector | center_point () |
| virtual void | color (int value) |
| virtual int | color () const |
| virtual void | is_visible (int flag) |
| virtual int | is_visible () const |
| virtual void | is_transparent (int flag) |
| virtual int | is_transparent () const |
| virtual const std::type_info & | entity_type_info () const =0 |
| virtual const char * | class_name () const =0 |
| virtual CubitString | entity_name () const =0 |
Protected Attributes | |
| int | entityId |
Private Member Functions | |
| CubitEntity (const CubitEntity &) | |
| void | operator= (const CubitEntity &) |
Definition at line 21 of file CubitEntity.hpp.
| CubitEntity::CubitEntity | ( | ) | [inline] |
Definition at line 26 of file CubitEntity.hpp.
: entityId(0) {}
| CubitEntity::~CubitEntity | ( | ) | [virtual] |
Definition at line 32 of file CubitEntity.cpp.
{
}
| CubitEntity::CubitEntity | ( | const CubitEntity & | ) | [private] |
| virtual CubitBox CubitEntity::bounding_box | ( | ) | [pure virtual] |
Implemented in BasicTopologyEntity, RefGroup, Body, and CubitCoordinateSystem.
| CubitVector CubitEntity::center_point | ( | ) | [virtual] |
| virtual const char* CubitEntity::class_name | ( | ) | const [pure virtual] |
Implemented in RefFace, BasicTopologyEntity, RefVolume, Body, RefEdge, RefGroup, CubitCoordinateSystem, and RefVertex.
| void CubitEntity::color | ( | int | value | ) | [virtual] |
Reimplemented in RefEntity, and Body.
Definition at line 61 of file CubitEntity.cpp.
{
// assert (0);
}
| int CubitEntity::color | ( | ) | const [virtual] |
Reimplemented in RefEntity, and Body.
Definition at line 67 of file CubitEntity.cpp.
{
// assert (0);
return -1;
}
| virtual CubitString CubitEntity::entity_name | ( | ) | const [pure virtual] |
Implemented in RefEntity, and CubitCoordinateSystem.
| virtual const std::type_info& CubitEntity::entity_type_info | ( | ) | const [pure virtual] |
| int CubitEntity::id | ( | void | ) | const [virtual] |
Definition at line 55 of file CubitEntity.cpp.
{ return entityId; }
| void CubitEntity::is_transparent | ( | int | flag | ) | [virtual] |
Definition at line 48 of file CubitEntity.cpp.
{ assert (0); }
| int CubitEntity::is_transparent | ( | ) | const [virtual] |
Definition at line 52 of file CubitEntity.cpp.
{ assert (0); return 0; }
| void CubitEntity::is_visible | ( | int | flag | ) | [virtual] |
Definition at line 40 of file CubitEntity.cpp.
{ assert (0);}
| int CubitEntity::is_visible | ( | ) | const [virtual] |
Definition at line 44 of file CubitEntity.cpp.
{ assert (0); return 0; }
| void CubitEntity::operator= | ( | const CubitEntity & | ) | [private] |
| void CubitEntity::set_id | ( | int | i | ) | [virtual] |
int CubitEntity::entityId [protected] |
Definition at line 62 of file CubitEntity.hpp.