Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - GUI - 3D - DCube3DC
 

  PUBLIC
DCube3DC::DCube3DC(const Vector3dC &,const RealRGBValueC &)
DCube3DC::Body(void)
DCube3DC::Body(void) const
DObject3DC::Body(void)
DObject3DC::Body(void) const
DObject3DC::Render(Canvas3DC &)
DObject3DC::RenderDL(Canvas3DC &)
DObject3DC::EnableDisplayList(void)
DObject3DC::DisplayListID(void) const
DObject3DC::DisplayListID(void)
DObject3DC::Center(void)
DObject3DC::Extent(void)
RCHandleC::operator =(const RCHandleC &)
RCHandleC::DeepCopy(UIntT) const
RCHandleC::operator ==(const RCHandleC &) const
RCHandleC::operator !=(const RCHandleC &) const
RCHandleC::Hash(void) const
RCHandleC::IsValid(void) const
RCHandleC::Invalidate(void)
RCHandleC::IsHandleType(const DT &) const
RCHandleC::CheckHandleType(const DT &) const
RCHandleC::Body(void)
RCHandleC::Body(void) const
RCHandleC::References(void) const
RCHandleC::operator <<(ostream &,const RCHandleC &)
RCHandleC::operator >>(istream &,RCHandleC &)

   DCube3DC   
 
Handle to basic object in a 3d world.
 
include "Ravl/GUI/DCube3D.hh"
Created:12/04/99 
Source file:Ravl/GUI/3D/DCube3D.hh
User Level:Normal
Library:RavlGUI3D
In Scope:RavlGUIN

Parent Classes: Methods:
DCube3DC(const Vector3dC & nDiag = Vector3dC (1),const RealRGBValueC & col = RealRGBValueC (1))
Default constructor.
Creates an invalid handle.

DCube3DBodyC & Body()

const DCube3DBodyC & Body() const

#include "Ravl/GUI/DObject3D.hh"
DObject3DBodyC & Body()
Access body.

const DObject3DBodyC & Body() const
Access body.

bool Render(Canvas3DC & c3d)
Render object.

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

void EnableDisplayList()
Enable generation of a display list.

IntT DisplayListID() const
Access display list ID.

IntT & DisplayListID()
Access display list ID.

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

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

#include "Ravl/RefCounter.hh"
const RCHandleC<DObject3DBodyC> & operator =(const RCHandleC<DObject3DBodyC> & oth)
Assign handle.

RCHandleC<DObject3DBodyC> DeepCopy(UIntT levels = ((UIntT))) const
Do a deep copy of the object.

bool operator ==(const RCHandleC<DObject3DBodyC> & oth) const
Are handles to the same object ?

bool operator !=(const RCHandleC<DObject3DBodyC> & oth) const
Are handles to different objects ?

UIntT Hash() const
Default hash function.
This hashes on the address of the body.

bool IsValid() const
Test if this is a valid handle.

void Invalidate()
Invalidate this handle.
Unattaches the body from the handle.

bool IsHandleType(const DT &) const
Is handle of given type ?

void CheckHandleType(const DT & dummy) const
Check handle type. Throw an expception if not.

DObject3DBodyC & Body()
Access body of object.

const DObject3DBodyC & Body() const
Constant access to body of object.

UIntT References() const
Find the number of references to the body of this object.

ostream & operator <<(ostream & strm,const RCHandleC<DObject3DBodyC> & obj)

istream & operator >>(istream & strm,RCHandleC<DObject3DBodyC> & obj)


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