Developer Documentation
Centre for Vision, Speech & Signal Processing
USER IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  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::IsValid(void) const
RCHandleC::IsValidObject(void) const
RCHandleC::operator=(const RCHandleC &)
RCHandleC::operator==(const RCHandleC &) const
RCHandleC::operator!=(const RCHandleC &) const
RCHandleC::Hash(void) const
RCHandleC::IsConst(void) const
RCHandleC::IsNotConst(void) const
RCHandleC::SetConst(void) const
RCHandleC::Invalidate(void)
RCHandleC::Body(void)
RCHandleC::Body(void) const
DViewPoint3DC
 
Setup a view point in the 3D world.
 
include "amma/GUI/3D/ViewPoint.hh"
User Level:Default
Library:GUI3D
Example:ex3DCanvas.cc
Section:GUI.3D
In Scope:std

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,0,5),Point3dC nCentre = Point3dC(0,0,0),Vector3dC nUp = Vector3dC(0,1,0),RealT nmaxDist = 0.2,RealT nminDist = 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 "amma/GUI/3D/Object.hh"
DObject3DBodyC & Body()
Access body.

const DObject3DBodyC & Body() const
Access body.

BooleanT Render(Canvas3DC & c3d)
Render object.

BooleanT 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 "amma/RCHandle.hh"
BooleanT IsValid() const
Check its a valid handle.

BooleanT IsValidObject() const
Check its a valid handle, and that the object is pointed to is also valid.

RCHandleC<DObject3DBodyC> & operator=(const RCHandleC<DObject3DBodyC> & oth)
Assignment.

BooleanT operator==(const RCHandleC<DObject3DBodyC> & oth) const
Comparison operator.

BooleanT operator!=(const RCHandleC<DObject3DBodyC> & oth) const
Comparison operator.

UIntT Hash() const
Hash function.x

BooleanT IsConst() const
Is object constant ?

BooleanT IsNotConst() const
Is object not constant ?

void SetConst(void) const
Lock the object.
This is const as a convience though it actual modified the object, often object you wish to ensure are constant already have const set. protected:

void Invalidate()
Turn this into an invalid handle.

DObject3DBodyC & Body()
Direct access to body.

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


Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001