Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

A3DL::Viewpoint Class Reference

#include <viewpoint.hh>

Inheritance diagram for A3DL::Viewpoint:

MetaObject List of all members.

Public Member Functions

Static Public Member Functions

Protected Attributes


Constructor & Destructor Documentation

Viewpoint::Viewpoint MetaObject superobject  ) 
 

Definition at line 26 of file viewpoint.cc.

Referenced by new_Viewpoint().

Viewpoint::~Viewpoint  )  [virtual]
 

Definition at line 31 of file viewpoint.cc.


Member Function Documentation

double Viewpoint::getFOV  )  throw (NoSuchObjectError) [virtual]
 

Get viewpoint field of view.

Returns:
the viewpoint field of view
Exceptions:
NoSuchObjectError if "viewpoint:fov" subobject does not exist, or is not a property.

Definition at line 108 of file viewpoint.cc.

void Viewpoint::getOrientation double &  x,
double &  y,
double &  z,
double &  r
throw (NoSuchObjectError) [virtual]
 

The orientation of this viewpoint in angle-axis representation.

See A3DL::Object3D::getOrientation() for details

Definition at line 82 of file viewpoint.cc.

void Viewpoint::getPosition double &  x,
double &  y,
double &  z
throw (NoSuchObjectError) [virtual]
 

Get position of this viewpoint.

Parameters:
x X translation, relative to origin of parent object
y Y translation, relative to origin of parent object
z Z translation, relative to origin of parent object
Exceptions:
NoSuchObjectError if "position" subobject does not exist, or is not a property.

Definition at line 54 of file viewpoint.cc.

PropertyAccessControl * Viewpoint::getPropertyAccessControl  ) 
 

Definition at line 39 of file viewpoint.cc.

string Viewpoint::getTitle  )  throw (NoSuchObjectError) [virtual]
 

Get the viewpoint's title.

Definition at line 134 of file viewpoint.cc.

const string Viewpoint::getType  )  [virtual]
 

Definition at line 165 of file viewpoint.cc.

virtual void A3DL::Viewpoint::initialize  )  [inline, virtual]
 

Definition at line 109 of file viewpoint.hh.

void Viewpoint::initialize PropertyAccessControl access  )  throw (NoSuchObjectError) [virtual]
 

Initialize subproperties: position=(0,0,0), orientaiont=(0,0,0), viewpoint:fov and viewpoint:title are unset.

Parameters:
access Access control object for subproperties. Default is none.
Warning:
sets No access control by default!

Definition at line 151 of file viewpoint.cc.

MetaObject * Viewpoint::new_Viewpoint MetaObject superobject,
const string &  type
[static]
 

Definition at line 160 of file viewpoint.cc.

void Viewpoint::registerExtenders  )  [static]
 

Definition at line 170 of file viewpoint.cc.

void Viewpoint::setFOV double  angle  )  throw (NoSuchObjectError) [virtual]
 

Set viewpoint field of view.

Parameters:
angle View angle in radians. PI > angle > 0
Exceptions:
NoSuchObjectError if "viewpoint:fov" subobject does not exist, or is not a property.

Definition at line 99 of file viewpoint.cc.

void Viewpoint::setOrientation double  x,
double  y,
double  z,
double  r
throw (NoSuchObjectError) [virtual]
 

The orientation of this viewpoint in angle-axis representation.

See A3DL::Object3D::setOrientation() for details

Definition at line 71 of file viewpoint.cc.

void Viewpoint::setPosition double  x,
double  y,
double  z
throw (NoSuchObjectError) [virtual]
 

Set position of this viewpoint.

Parameters:
x X translation, relative to origin of parent object
y Y translation, relative to origin of parent object
z Z translation, relative to origin of parent object
Exceptions:
NoSuchObjectError if "position" subobject does not exist, or is not a property.

Definition at line 43 of file viewpoint.cc.

void Viewpoint::setPropertyAccessControl PropertyAccessControl pac  ) 
 

Definition at line 35 of file viewpoint.cc.

void Viewpoint::setTitle const string &  text  )  throw (NoSuchObjectError) [virtual]
 

Set the viewpoint's title.

Parameters:
text Title in plain text.

Definition at line 125 of file viewpoint.cc.


Member Data Documentation

PropertyAccessControl* A3DL::Viewpoint::propac [protected]
 

Definition at line 42 of file viewpoint.hh.

Referenced by getPropertyAccessControl(), and setPropertyAccessControl().


The documentation for this class was generated from the following files:
Generated on Tue Aug 12 03:56:01 2003 for Interreality Project - VOS by doxygen 1.3.2