Ray Class Reference

Simple plane class for rays which build up the edge of the bounding box of volume texture. More...

#include <Ray.h>

List of all members.

Public Member Functions

 Ray (ngl::Vector _start, ngl::Vector _end)
 Constructor for Ray.
ngl::Vector getStart () const
 a method to get the start point of the Ray
ngl::Vector getend () const
 a method to get the end point of the Ray
void draw (const std::string &_shaderName, ngl::TransformStack &_transformStack) const
 draw method

Detailed Description

Simple plane class for rays which build up the edge of the bounding box of volume texture.

basic implementation file for the Axis class


Constructor & Destructor Documentation

Ray::Ray ( ngl::Vector  _start,
ngl::Vector  _end 
)

Constructor for Ray.

Parameters:
[in] _pos the start point of the Ray
[in] _vel the end point of the Ray

Member Function Documentation

void Ray::draw ( const std::string &  _shaderName,
ngl::TransformStack &  _transformStack 
) const

draw method

Parameters:
[in] _shaderName the mane of the shader for drawing obstacles
[in] _transform our transform stack for drawing obstacles

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions
Generated on Fri Aug 19 09:45:46 2011 for quad.pro by  doxygen 1.6.3