cgma
CubitEntity Class Reference

#include <CubitEntity.hpp>

Inheritance diagram for CubitEntity:
CubitCoordinateSystem RefEntity BasicTopologyEntity Body RefCollection RefEdge RefFace RefVertex RefVolume RefGroup

List of all members.

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 &)

Detailed Description

Definition at line 21 of file CubitEntity.hpp.


Constructor & Destructor Documentation

Definition at line 26 of file CubitEntity.hpp.

: entityId(0) {}

Definition at line 32 of file CubitEntity.cpp.

{ 
}
CubitEntity::CubitEntity ( const CubitEntity ) [private]

Member Function Documentation

virtual CubitBox CubitEntity::bounding_box ( ) [pure virtual]

Reimplemented in RefEdge, RefEntity, RefFace, RefVolume, RefGroup, Body, and RefVertex.

Definition at line 73 of file CubitEntity.cpp.

{
  return bounding_box().center();
}
virtual const char* CubitEntity::class_name ( ) const [pure virtual]
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]

Reimplemented in RefEntity.

Definition at line 57 of file CubitEntity.cpp.

{ entityId = i; }

Member Data Documentation

int CubitEntity::entityId [protected]

Definition at line 62 of file CubitEntity.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines