AxisGeometry Class Reference

#include <AxisGeometry.h>

List of all members.

Public Member Functions

 AxisGeometry (osg::Vec3d direction, osg::Vec4d color=osg::Vec4d(0.5, 0.5, 0.5, 1.0), double length=1.0, bool doubleSided=false)
virtual ~AxisGeometry (void)
void setLength (double length)
 postavlja duljinu osi
void setLineWidth (float width)
 postavlja debljinu linije koja predstavlja os
osg::Vec3d getDirection ()
 vraća vektor smjera osi

Protected Member Functions

void createGeometry ()

Protected Attributes

double _length
osg::Vec3d _direction
osg::Vec3Array * _vertices
osg::Vec4Array * _color
osg::LineWidth * _linewidth

Detailed Description

Čvor koji sadrži podatke o koordinatnoj osi manipulatora čvorova (duljina i smjer), te geometrisku reprezentaciju osi


Constructor & Destructor Documentation

AxisGeometry::AxisGeometry ( osg::Vec3d  direction,
osg::Vec4d  color = osg::Vec4d(0.5,0.5,0.5,1.0),
double  length = 1.0,
bool  doubleSided = false 
)
AxisGeometry::~AxisGeometry ( void   )  [virtual]

Member Function Documentation

void AxisGeometry::createGeometry (  )  [protected]
osg::Vec3d AxisGeometry::getDirection (  ) 

vraća vektor smjera osi

void AxisGeometry::setLength ( double  length  ) 

postavlja duljinu osi

void AxisGeometry::setLineWidth ( float  width  ) 

postavlja debljinu linije koja predstavlja os


Member Data Documentation

osg::Vec4Array* AxisGeometry::_color [protected]
osg::Vec3d AxisGeometry::_direction [protected]
double AxisGeometry::_length [protected]
osg::LineWidth* AxisGeometry::_linewidth [protected]
osg::Vec3Array* AxisGeometry::_vertices [protected]

The documentation for this class was generated from the following files:

Generated on Thu Jan 14 20:50:12 2010 for TerrainEditor by  doxygen 1.6.1