|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
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
-
- 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
- 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
|