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

OpenCAL::Plane Class Reference

#include <Plane.h>

Inheritance diagram for OpenCAL::Plane:

Inheritance graph
[legend]
Collaboration diagram for OpenCAL::Plane:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Plane (System *parent)
 Plane (System *parent, const Vector3 &position, const Vector3 &normal)
virtual ~Plane ()
const TriangleMeshgetSurface () const
TriangleMeshgetSurfaceP ()
const Vector3 & getNormal () const
Vector3 * getNormalP ()
virtual void render ()
float distance (const Vector3 &point) const

Protected Attributes

TriangleMesh m_surface
Vector3 m_normal

Detailed Description

This object represents a 3D plane

Definition at line 30 of file Plane.h.


Constructor & Destructor Documentation

Plane::Plane System parent  ) 
 

This constructor creates a plane at the origin, with its normal pointing upwards. Definition at line 30 of file Plane.cpp.

Plane::~Plane  )  [virtual]
 

Todo:
Plane(System *parent, float a, float b, float c, float d);
Definition at line 41 of file Plane.cpp.


The documentation for this class was generated from the following files:
Generated on Sun Aug 15 19:19:30 2004 for OpenCAL: Open Computer Animation Library by doxygen 1.3.8