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

  PUBLIC
DLight3DBodyC::DLight3DBodyC(const RealRGBValueC &,const Point3dC &,int)
DLight3DBodyC::Render(Canvas3DC &)
DLight3DBodyC::LightNo(IntT)
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)

   DLight3DBodyC   
 
Draw some lines.
 
include "Ravl/GUI/DLight3D.hh"
Created:18/06/99 
Source file:Ravl/GUI/3D/DLight3D.hh
User Level:Develop
Library:RavlGUI3D
In Scope:RavlGUIN

Parent Classes: Variables:
IntT n;
Number of light. 0-7

RealRGBValueC colour;
Colour of light.

Point3dC pos;
Position of light.

bool spot;
Spot light ?

Vector3dC dir;
Direction of spot light.

RealT ang;
angle of light.

Methods:
DLight3DBodyC(const RealRGBValueC & nCol,const Point3dC & nPos,int nn)
Constructor.

bool Render(Canvas3DC & c3d)
Render object.

GLenum LightNo(IntT no)
Convert Light number.

#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: 18/06/99, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002