Public Member Functions | Public Attributes
IndexedTriangle Class Reference

#include <IceIndexedTriangle.h>

List of all members.

Public Member Functions

float Angle (const IndexedTriangle &tri, const Point *verts) const
float Area (const Point *verts) const
bool BackfaceCulling (const Point *verts, const Point &source) const
void Center (const Point *verts, Point &center) const
void CenteredNormal (const Point *verts, Point &normal) const
float Compacity (const Point *verts) const
CubeIndex ComputeCubeIndex (const Point *verts) const
float ComputeOcclusionPotential (const Point *verts, const Point &view) const
void ComputePoint (const Point *verts, float u, float v, Point &pt, udword *nearvtx=null) const
void DenormalizedNormal (const Point *verts, Point &normal) const
bool Equal (const IndexedTriangle &tri) const
ubyte FindEdge (udword vref0, udword vref1) const
void Flip ()
void GetVRefs (ubyte edgenb, udword &vref0, udword &vref1, udword &vref2) const
bool HasVertex (udword ref) const
bool HasVertex (udword ref, udword *index) const
inline_ IndexedTriangle ()
 Constructor.
inline_ IndexedTriangle (udword r0, udword r1, udword r2)
 Constructor.
inline_ IndexedTriangle (const IndexedTriangle &triangle)
 Copy constructor.
bool IsDegenerate () const
bool IsVisible (const Point *verts, const Point &source) const
float MaxEdgeLength (const Point *verts) const
float MinEdgeLength (const Point *verts) const
void Normal (const Point *verts, Point &normal) const
udword OppositeVertex (udword vref0, udword vref1) const
inline_ udword OppositeVertex (ubyte edgenb) const
float Perimeter (const Point *verts) const
inline_ Plane PlaneEquation (const Point *verts) const
void RandomPoint (const Point *verts, Point &random) const
bool ReplaceVertex (udword oldref, udword newref)
inline_ ~IndexedTriangle ()
 Destructor.

Public Attributes

udword mVRef [3]
 Vertex-references.

Detailed Description

Definition at line 23 of file IceIndexedTriangle.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 27 of file IceIndexedTriangle.h.

inline_ IndexedTriangle::IndexedTriangle ( udword  r0,
udword  r1,
udword  r2 
) [inline]

Constructor.

Definition at line 29 of file IceIndexedTriangle.h.

Copy constructor.

Definition at line 31 of file IceIndexedTriangle.h.

Destructor.

Definition at line 38 of file IceIndexedTriangle.h.


Member Function Documentation

float IndexedTriangle::Angle ( const IndexedTriangle tri,
const Point verts 
) const
float IndexedTriangle::Area ( const Point verts) const
bool IndexedTriangle::BackfaceCulling ( const Point verts,
const Point source 
) const
void IndexedTriangle::Center ( const Point verts,
Point center 
) const
void IndexedTriangle::CenteredNormal ( const Point verts,
Point normal 
) const
float IndexedTriangle::Compacity ( const Point verts) const
float IndexedTriangle::ComputeOcclusionPotential ( const Point verts,
const Point view 
) const
void IndexedTriangle::ComputePoint ( const Point verts,
float  u,
float  v,
Point pt,
udword nearvtx = null 
) const
void IndexedTriangle::DenormalizedNormal ( const Point verts,
Point normal 
) const
ubyte IndexedTriangle::FindEdge ( udword  vref0,
udword  vref1 
) const
void IndexedTriangle::GetVRefs ( ubyte  edgenb,
udword vref0,
udword vref1,
udword vref2 
) const
bool IndexedTriangle::HasVertex ( udword  ref) const
bool IndexedTriangle::HasVertex ( udword  ref,
udword index 
) const
bool IndexedTriangle::IsVisible ( const Point verts,
const Point source 
) const
float IndexedTriangle::MaxEdgeLength ( const Point verts) const
float IndexedTriangle::MinEdgeLength ( const Point verts) const
void IndexedTriangle::Normal ( const Point verts,
Point normal 
) const
udword IndexedTriangle::OppositeVertex ( udword  vref0,
udword  vref1 
) const

Definition at line 61 of file IceIndexedTriangle.h.

float IndexedTriangle::Perimeter ( const Point verts) const

Definition at line 67 of file IceIndexedTriangle.h.

void IndexedTriangle::RandomPoint ( const Point verts,
Point random 
) const
bool IndexedTriangle::ReplaceVertex ( udword  oldref,
udword  newref 
)

Member Data Documentation

Vertex-references.

Definition at line 40 of file IceIndexedTriangle.h.


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


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sun Apr 2 2017 03:43:59