ObjectGroup Class Reference

#include <basic/geometry/ObjectGroup.h>

Inherits ObjectBase.

Inherited by GL_Group.

Inheritance diagram for ObjectGroup:

Inheritance graph
[legend]
Collaboration diagram for ObjectGroup:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ObjectGroup (FrameManager *frameManager)
 ObjectGroup (const ObjectGroup &right)
 ObjectGroup (const IGS_Group &right)
virtual ~ObjectGroup ()
const ObjectBase * operator[] (const unsigned int index) const
int AddObject (const ObjectBase *object)
void Clear ()
virtual bool IsInterfering (const Entity *entity) const
virtual void SetFrameManager (FrameManager *frameManager)
virtual Entity * Clone () const
virtual bool CanCheckInterference (const Entity *entity) const
void SetBaseFrame (const unsigned int baseFrame)
virtual void SetFrame (const Matrix4x4 &frame)
unsigned int Size () const
virtual void Serialize (ostream &os) const
virtual void Deserialize (IfstreamWithComments &is)
virtual bool Verify () const
virtual int TotalPolys () const

Public Attributes

Frame * offsetFrame
Frame * baseFrame

Protected Attributes

std::vector< ObjectBase * > objects

Detailed Description

Definition at line 44 of file ObjectGroup.h.


Constructor & Destructor Documentation

ObjectGroup::ObjectGroup (  FrameManager *  frameManager  ) 
 

Definition at line 29 of file ObjectGroup.cpp.

Referenced by Clone().

ObjectGroup::ObjectGroup (  const ObjectGroup &  right  ) 
 

Definition at line 42 of file ObjectGroup.cpp.

References objects.

ObjectGroup::ObjectGroup (  const IGS_Group &  right  ) 
 

Definition at line 67 of file ObjectGroup.cpp.

References ObjectBase::Create(), and IGS_Group::objects.

Here is the call graph for this function:

ObjectGroup::~ObjectGroup (   )  [virtual]
 

Definition at line 83 of file ObjectGroup.cpp.

References objects.


Member Function Documentation

int ObjectGroup::AddObject (  const ObjectBase *  object  ) 
 

Definition at line 108 of file ObjectGroup.cpp.

References ObjectBase::Clone(), and objects.

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

Here is the call graph for this function:

bool ObjectGroup::CanCheckInterference (  const Entity *  entity  )  const [virtual]
 

Implements Entity.

Definition at line 175 of file ObjectGroup.cpp.

References Entity::CanCheckInterference(), and objects.

Here is the call graph for this function:

void ObjectGroup::Clear (   ) 
 

Definition at line 162 of file ObjectGroup.cpp.

References objects.

Referenced by VRML_Reader::GetTheObject().

Entity * ObjectGroup::Clone (   )  const [virtual]
 

Implements ObjectBase.

Reimplemented in GL_Group.

Definition at line 168 of file ObjectGroup.cpp.

References ObjectGroup().

Here is the call graph for this function:

void ObjectGroup::Deserialize (  IfstreamWithComments &  is  )  [virtual]
 

Reimplemented from ObjectBase.

Definition at line 250 of file ObjectGroup.cpp.

References AddObject(), and ObjectBase::Deserialize().

Referenced by ObjectBase::Deserialize().

Here is the call graph for this function:

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

Implements ObjectBase.

Definition at line 117 of file ObjectGroup.cpp.

References Entity::CanCheckInterference(), and objects.

Here is the call graph for this function:

const ObjectBase * ObjectGroup::operator[] (  const unsigned int  index  )  const
 

Definition at line 100 of file ObjectGroup.cpp.

References objects.

void ObjectGroup::Serialize (  ostream &  os  )  const [virtual]
 

Definition at line 222 of file ObjectGroup.cpp.

References objects.

void ObjectGroup::SetBaseFrame (  const unsigned int  baseFrame  )  [virtual]
 

Reimplemented from Entity.

Definition at line 194 of file ObjectGroup.cpp.

References objects, and Entity::SetBaseFrame().

Here is the call graph for this function:

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

Reimplemented from ObjectBase.

Definition at line 205 of file ObjectGroup.cpp.

References objects.

void ObjectGroup::SetFrameManager (  FrameManager *  frameManager  )  [virtual]
 

Reimplemented from Entity.

Definition at line 149 of file ObjectGroup.cpp.

References Entity::frameManager, objects, and Entity::SetFrameManager().

Here is the call graph for this function:

unsigned int ObjectGroup::Size (   )  const
 

Definition at line 215 of file ObjectGroup.cpp.

References objects.

Referenced by Range_Sensor::AddEntityToDepthMap(), CD_Solid::AddEntityToSolid(), and CD_Range_Sensor::FindFirstCamera().

int ObjectGroup::TotalPolys (   )  const [virtual]
 

Reimplemented from ObjectBase.

Definition at line 273 of file ObjectGroup.cpp.

References objects.

bool ObjectGroup::Verify (   )  const [virtual]
 

Implements ObjectBase.

Definition at line 284 of file ObjectGroup.cpp.


Member Data Documentation

Frame* ObjectGroup::baseFrame
 

Reimplemented from Entity.

Definition at line 114 of file ObjectGroup.h.

std::vector<ObjectBase*> ObjectGroup::objects [protected]
 

Definition at line 128 of file ObjectGroup.h.

Referenced by AddObject(), CanCheckInterference(), Clear(), GL_Group::DrawExplicit(), IsInterfering(), ObjectGroup(), operator[](), Serialize(), SetBaseFrame(), SetFrame(), SetFrameManager(), Size(), TotalPolys(), and ~ObjectGroup().

Frame* ObjectGroup::offsetFrame
 

Definition at line 108 of file ObjectGroup.h.


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