Plane Class Reference

Simple plane class for intersection slice. More...

#include <Plane.h>

List of all members.

Public Member Functions

bool getIsHit () const
 return the state of ray-plane intersection
 Plane (ngl::Vector _p0, ngl::Vector _p1, ngl::Vector _p2)
 ctor
void reset (ngl::Vector _v0, ngl::Vector _v1, ngl::Vector _v2)
 a method to update each of the Boids contained in the system
const ngl::Vector & getFirstV () const
 return the three vertices of the plane
const ngl::Vector & getSecondV () const
const ngl::Vector & getThirdV () const
void draw (const std::string &_shaderName, ngl::TransformStack &_transformStack)
 method to draw the plane
void drawSphere (const std::string &_shaderName, ngl::TransformStack &_transformStack)
 method to draw the joint
void rayPlaneIntersect (Ray &_ray)
 method to see if ray has intercepted with Plane.

Detailed Description

Simple plane class for intersection slice.


Member Function Documentation

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

method to draw the plane

Parameters:
[in] _transformStack our transform stack for drawing plane
[in] _shaderName the name of the shader to invoke when drawing

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