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

  PUBLIC
DViewPoint3DBodyC::DViewPoint3DBodyC(RealT,Point3dC,Point3dC,Vector3dC,RealT,RealT)
DViewPoint3DBodyC::Render(Canvas3DC &)
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)

   DViewPoint3DBodyC   
 
Setup a view point in the 3D world.
 
include "Ravl/GUI/DViewPoint3D.hh"
Created:12/04/99 
Source file:Ravl/GUI/3D/DViewPoint3D.hh
User Level:Develop
Library:RavlGUI3D
In Scope:RavlGUIN

Comments:
See handles description for more information.

Parent Classes: Variables:
RealT fov;
Field of view angle.

Point3dC eye;
Position of eye.

Point3dC centre;
Center of object to look at.

Vector3dC up;
Up direction.

RealT m_dNear;
Clipping planes

RealT m_dFar;
Clipping planes

Methods:
DViewPoint3DBodyC(RealT nFov,Point3dC nEye,Point3dC nCentre,Vector3dC nUp,RealT dNear,RealT dFar)
Default constructor.

bool Render(Canvas3DC & c3d)
Render object.

#include "Ravl/GUI/DObject3D.hh"
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:30 2002