User Documentation
RAVL, Recognition And Vision Library
DEVELOP HOME PAGE CLASS LIST CONTENTS
Ravl - GUI - 3D - DObject3DBodyC
 

  PUBLIC
DObject3DBodyC::DObject3DBodyC(void)
DObject3DBodyC::~DObject3DBodyC(void)
DObject3DBodyC::Render(Canvas3DC &)
DObject3DBodyC::RenderDL(Canvas3DC &)
DObject3DBodyC::GLColour(const RealRGBValueC &)
DObject3DBodyC::GLVertex(const Point3dC &)
DObject3DBodyC::GLNormal(const Vector3dC &)
DObject3DBodyC::GLTexCoord(const Point2dC &)
DObject3DBodyC::Center(void)
DObject3DBodyC::Extent(void)
DObject3DBodyC::EnableDisplayList(void)
DObject3DBodyC::DisplayListID(void) const
DObject3DBodyC::DisplayListID(void)
RCBodyVC::Save(ostream &) const
RCBodyVC::Save(BinOStreamC &) const
RCBodyVC::Copy(void) const
RCBodyVC::DeepCopy(UIntT) const
RCBodyC::References(void) const
RCBodyC::Copy(void) const
RCBodyC::DeepCopy(UIntT) const
RCBodyC::IncRefCounter(void)
RCBodyC::DecRefCounter(void)

   DObject3DBodyC   
 
Body of a basic display object in a 3d world.
 
include "Ravl/GUI/DObject3D.hh"
Created:12/04/99 
User Level:Develop
Library:RavlGUI3D
In Scope:RavlGUIN

Parent Classes: Derived Classes: Variables:
Methods:
DObject3DBodyC()
Default constructor.

~DObject3DBodyC()
Destructor.
Make sure display list is free'd

bool Render(Canvas3DC & c3d)
Render object.

bool RenderDL(Canvas3DC & c3d)
Render, checking for display lists.

void GLColour(const RealRGBValueC & colour)
Set current colour.

void GLVertex(const Point3dC & v)
Set a vertex.

void GLNormal(const Vector3dC & v)
Set a vertex.

void GLTexCoord(const Point2dC & p)
Set a texture coordinate

Vector3dC Center()
Get center of object.
defaults to 0,0,0

RealT Extent()
Get extent of object.
defaults to 1

void EnableDisplayList()
Enable generation of a display list.

IntT DisplayListID() const
Access display list ID.

IntT & DisplayListID()
Access display list ID.

#include "Ravl/RCHandleV.hh"
bool Save(ostream & out) const
Save to stream 'out'.

bool Save(BinOStreamC & out) const
Save to binary stream 'out'.

RCBodyVC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

#include "Ravl/RefCounter.hh"
UIntT References() const
Access count of handles open to this object.

RCBodyC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

void IncRefCounter()
Increment reference counter.

bool DecRefCounter()
Decrement reference counter.


Maintainer:Charles Galambos, Created: 12/04/99, Documentation by CxxDoc: Tue Aug 13 09:59:02 2002