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

Teddy::Models::Triangles Class Reference

#include <Triangles.h>

Inheritance diagram for Teddy::Models::Triangles:

Inheritance graph
[legend]
Collaboration diagram for Teddy::Models::Triangles:

Collaboration graph
[legend]
List of all members.

Public Methods

 Triangles ()
 Constructor. More...

virtual ~Triangles ()
 Destructor. More...

virtual void draw (Projection *p)
 Draw TriangleFan. More...

virtual unsigned long countCSGFaceElements ()

Protected Attributes

list< Vector * > normals

Constructor & Destructor Documentation

Teddy::Models::Triangles::Triangles  
 

Constructor.

Definition at line 38 of file Triangles.cpp.

Teddy::Models::Triangles::~Triangles   [virtual]
 

Destructor.

Definition at line 43 of file Triangles.cpp.


Member Function Documentation

unsigned long Teddy::Models::Triangles::countCSGFaceElements   [virtual]
 

Definition at line 88 of file Triangles.cpp.

References Teddy::Models::Element::vertices.

void Teddy::Models::Triangles::draw Projection *    p [virtual]
 

Draw TriangleFan.

Implements Teddy::Models::Element.

Definition at line 48 of file Triangles.cpp.

References Teddy::SysSupport::dmsg, Teddy::SysSupport::M_INIT, and Teddy::Models::Element::vertices.


Member Data Documentation

list<Vector*> Teddy::Models::Triangles::normals [protected]
 

Definition at line 49 of file Triangles.h.


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