User Documentation
RAVL, Recognition And Vision Library
DEVELOP HOME PAGE CLASS LIST CONTENTS
Ravl - 3D - Mesh - TriC
 

  PUBLIC
TriC::TriC(void)
TriC::TriC(const TFVectorC &)
TriC::TriC(VertexC &,VertexC &,VertexC &)
TriC::Flip(void)
TriC::Vertex(UIntT)
TriC::Vertex(UIntT) const
TriC::operator [](UIntT) const
TriC::operator [](UIntT)
TriC::FaceNormal(void) const
TriC::FaceNormal(void)
TriC::Normal(UIntT)
TriC::Normal(UIntT) const
TriC::Position(UIntT)
TriC::Position(UIntT) const
TriC::UpdateFaceNormal(void)
TriC::VertexPtr(UIntT)
TriC::VertexPtr(UIntT) const
TriC::TextureCoords(void)
TriC::TextureCoords(void) const
TriC::Colour(void)
TriC::Colour(void) const

   TriC   
 
Triangle in TriMesh.
 
include "Ravl/3D/Tri.hh"
User Level:Normal
Library:Ravl3D
In Scope:Ravl3DN

Comments:
Tri's must be associated with a tri set, in the parent triset goes out of scope the behavour of a tri from it is undefined.

Variables:
Methods:
TriC()
Default constructor.

TriC(const TFVectorC<VertexC *,3> & v)
Construct from another vector.

TriC(VertexC & v0,VertexC & v1,VertexC & v2)
Construct from vertices.

void Flip(void)
Flips the triangle.
Reverse the order of the vertices in the triangle.

VertexC & Vertex(UIntT ind)
Access vertex.

const VertexC & Vertex(UIntT ind) const
Access vertex.

const Vector3dC & operator [](UIntT ind) const
Access position of vertex.

Vector3dC & operator [](UIntT ind)
Access position of vertex.

const Vector3dC & FaceNormal() const
Unit normal orthogonal to triangle plane

Vector3dC & FaceNormal()
Unit normal orthogonal to triangle plane

Vector3dC & Normal(UIntT n)
Access normal for a vertex.

const Vector3dC Normal(UIntT n) const
Access normal for a vertex.

Vector3dC & Position(UIntT n)
Access normal for a vertex.

const Vector3dC Position(UIntT n) const
Access normal for a vertex.

void UpdateFaceNormal()
Update the face normal.

VertexC *& VertexPtr(UIntT n)
Access vertex pointer.
Advanced users only.

VertexC * VertexPtr(UIntT n) const
Access vertex pointer.
Advanced users only.

TFVectorC<Vector2dC,3> & TextureCoords()
Access texture co-ordinates.

const TFVectorC<Vector2dC,3> & TextureCoords() const
Access texture co-ordinates.

TFVectorC<ByteT,3> & Colour()
Colour of face.

const TFVectorC<ByteT,3> & Colour() const
Colour of face.


Maintainer:Charles Galambos, Documentation by CxxDoc: Tue Aug 13 09:59:02 2002