ObjectBase Class Reference

#include <basic/geometry/ObjectBase.h>

Inherits Entity, and MPK_Serializable.

Inherited by Mesh, MPK::Segment, MPK_Box, MPK_Cylinder, MPK_Sphere, ObjectGroup, and Range_Sensor.

Inheritance diagram for ObjectBase:

Inheritance graph
[legend]
Collaboration diagram for ObjectBase:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ObjectBase (FrameManager *frameManager)
 ObjectBase (const ObjectBase &right)
virtual ~ObjectBase ()
void PrintDebugInfo () const
virtual Entity * Clone () const =0
const Matrix4x4 & GetFrame () const
virtual void SetFrame (const Matrix4x4 &frame)
virtual bool IsInterfering (const Entity *entity) const =0
virtual int TotalPolys () const
virtual bool Verify () const =0

Static Public Member Functions

static ObjectBase * Create (const IGS_Object *right)
static ObjectBase * Deserialize (IfstreamWithComments &is)

Public Attributes

Matrix4x4 theFrame

Detailed Description

Definition at line 16 of file ObjectBase.h.


Constructor & Destructor Documentation

ObjectBase::ObjectBase (  FrameManager *  frameManager  ) 
 

Definition at line 28 of file ObjectBase.cpp.

ObjectBase::ObjectBase (  const ObjectBase &  right  ) 
 

Definition at line 39 of file ObjectBase.cpp.

ObjectBase::~ObjectBase (   )  [virtual]
 

Definition at line 52 of file ObjectBase.cpp.


Member Function Documentation

virtual Entity* ObjectBase::Clone (   )  const [pure virtual]
 

Implements Entity.

Implemented in Range_Sensor, Mesh, MPK::Segment, MPK_Sphere, ObjectGroup, GL_Box, GL_Cylinder, GL_Group, GL_Mesh, GL_Range_Sensor, GL_Segment, and GL_Sphere.

Referenced by DH_Link::AddObject(), ObjectGroup::AddObject(), ServerBase::AddObstacle(), DH_Link::DeSerialize(), and ServerBase::ParseObstacleFile().

ObjectBase * ObjectBase::Create (  const IGS_Object *  right  )  [static]
 

Definition at line 63 of file ObjectBase.cpp.

Referenced by VRML_Reader::GetTheObject(), and ObjectGroup::ObjectGroup().

ObjectBase * ObjectBase::Deserialize (  IfstreamWithComments &  is  )  [static]
 

Reimplemented in Mesh, MPK_Box, MPK_Cylinder, MPK_Sphere, and ObjectGroup.

Definition at line 111 of file ObjectBase.cpp.

References Mesh::Deserialize(), ObjectGroup::Deserialize(), eatwhite(), and IfstreamWithComments::getline().

Referenced by ObjectGroup::Deserialize().

Here is the call graph for this function:

const Matrix4x4 & ObjectBase::GetFrame (   )  const
 

Definition at line 97 of file ObjectBase.cpp.

References theFrame.

virtual bool ObjectBase::IsInterfering (  const Entity *  entity  )  const [pure virtual]
 

Implements Entity.

Implemented in Range_Sensor, Mesh, MPK_Box, MPK_Cylinder, MPK::Segment, MPK_Sphere, and ObjectGroup.

void ObjectBase::PrintDebugInfo (   )  const
 

Definition at line 144 of file ObjectBase.cpp.

References TotalPolys().

Here is the call graph for this function:

void ObjectBase::SetFrame (  const Matrix4x4 &  frame  )  [virtual]
 

Reimplemented in Mesh, MPK_Sphere, and ObjectGroup.

Definition at line 104 of file ObjectBase.cpp.

References theFrame.

Referenced by ServerBase::AddObstacle().

int ObjectBase::TotalPolys (   )  const [virtual]
 

Reimplemented in Mesh, and ObjectGroup.

Definition at line 139 of file ObjectBase.cpp.

Referenced by PrintDebugInfo().

virtual bool ObjectBase::Verify (   )  const [pure virtual]
 

Implemented in Range_Sensor, Mesh, MPK::Segment, MPK_Sphere, ObjectGroup, GL_Box, and GL_Cylinder.


Member Data Documentation

Matrix4x4 ObjectBase::theFrame
 

Definition at line 33 of file ObjectBase.h.

Referenced by Range_Sensor::AddBoxToDepthMap(), Range_Sensor::AddCylinderToDepthMap(), GL_Cylinder::DrawExplicit(), GL_Box::DrawExplicit(), Range_Sensor::Generate_Ray_Array(), GetFrame(), MPK_Sphere::IsInterfering(), Range_Sensor::Range_Sensor(), and SetFrame().


The documentation for this class was generated from the following files:
Generated on Sat Apr 1 21:52:03 2006 for Motion Planning Kernel by  doxygen 1.4.6-NO