Generic CAM 0.1-PreAlpha

Surface Class Reference

#include <Surface.h>

Collaboration diagram for Surface:

List of all members.

Public Member Functions

 Surface ()
virtual ~Surface ()
void Paint (void) const
void Clear (void)
void CopyFrom (const Geometry &geometry)
void CopyTrianglesFrom (const Geometry &geometry)
void ApplyTransformation (const AffineTransformMatrix &matrix)
void ApplyTransformation (void)
size_t AddTriangle (const Vector3 &a, const Vector3 &b, const Vector3 &c)
size_t AddTriangleTransform (const Vector3 &a, const Vector3 &b, const Vector3 &c, const AffineTransformMatrix &transformMatrix)
size_t AddTriangleWithNormals (const Vector3 &a, const Vector3 &b, const Vector3 &c, const Vector3 &na, const Vector3 &nb, const Vector3 &nc)
size_t AddTriangleWithNormal (const Vector3 &a, const Vector3 &b, const Vector3 &c, const Vector3 &n)
void AddQuad (const Vector3 &a, const Vector3 &b, const Vector3 &c, const Vector3 &d)
void AddQuadTransform (const Vector3 &a, const Vector3 &b, const Vector3 &c, const Vector3 &d, const AffineTransformMatrix &transformMatrix)
void CalcNormals (void)
size_t GetVertexCount (void)
Vector3 GetVertex (const size_t i)

Public Attributes

wxString objectName
Vector3 color
bool visible
bool paintEdges
bool paintTriangles
bool paintVertices
AffineTransformMatrix matrix
 Transformation of the data.

Detailed Description

...


Constructor & Destructor Documentation

Surface::Surface ( )
Surface::~Surface ( ) [virtual]

Member Function Documentation

void Surface::AddQuad ( const Vector3 a,
const Vector3 b,
const Vector3 c,
const Vector3 d 
)
void Surface::AddQuadTransform ( const Vector3 a,
const Vector3 b,
const Vector3 c,
const Vector3 d,
const AffineTransformMatrix transformMatrix 
)
size_t Surface::AddTriangle ( const Vector3 a,
const Vector3 b,
const Vector3 c 
)
size_t Surface::AddTriangleTransform ( const Vector3 a,
const Vector3 b,
const Vector3 c,
const AffineTransformMatrix transformMatrix 
)
size_t Surface::AddTriangleWithNormal ( const Vector3 a,
const Vector3 b,
const Vector3 c,
const Vector3 n 
)
size_t Surface::AddTriangleWithNormals ( const Vector3 a,
const Vector3 b,
const Vector3 c,
const Vector3 na,
const Vector3 nb,
const Vector3 nc 
)
void Surface::ApplyTransformation ( const AffineTransformMatrix matrix)
void Surface::ApplyTransformation ( void  )
void Surface::CalcNormals ( void  )
void Surface::Clear ( void  )
void Surface::CopyFrom ( const Geometry geometry)
void Surface::CopyTrianglesFrom ( const Geometry geometry)
Vector3 Surface::GetVertex ( const size_t  i) [inline]
size_t Surface::GetVertexCount ( void  ) [inline]
void Surface::Paint ( void  ) const

Member Data Documentation

Transformation of the data.


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