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

  PUBLIC
DViewPoint3DC::DViewPoint3DC(RealT,Point3dC,Point3dC,Vector3dC,RealT,RealT)
DViewPoint3DC::Body(void)
DViewPoint3DC::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 &)

   DViewPoint3DC   
 
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:Normal
Library:RavlGUI3D
In Scope:RavlGUIN

Comments:
This also does some default setup of depth buffers, and shape models. If you wish to configures these aspects yours self you should do so after using this class. (Or not use it at all.)

Parent Classes: Methods:
DViewPoint3DC(RealT fov = 90,Point3dC nEye = Point3dC (0),Point3dC nCentre = Point3dC (0),Vector3dC nUp = Vector3dC (0),RealT dNear = 0.2,RealT dFar = 100)
Constructor.
Position of eye. (0,0,-1) Center of object (0,0,0) Up direction. (Y Axis.)

DViewPoint3DBodyC & Body()

const DViewPoint3DBodyC & 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