Public Member Functions | Public Attributes | List of all members
IndexedTriangle Class Reference

#include <IceIndexedTriangle.h>

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. More...
 
inline_ IndexedTriangle (udword r0, udword r1, udword r2)
 Constructor. More...
 
inline_ IndexedTriangle (const IndexedTriangle &triangle)
 Copy constructor. More...
 
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. More...
 

Public Attributes

udword mVRef [3]
 Vertex-references. More...
 

Detailed Description

Definition at line 23 of file IceIndexedTriangle.h.

Constructor & Destructor Documentation

inline_ IndexedTriangle::IndexedTriangle ( )
inline

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.

inline_ IndexedTriangle::IndexedTriangle ( const IndexedTriangle triangle)
inline

Copy constructor.

Definition at line 31 of file IceIndexedTriangle.h.

inline_ IndexedTriangle::~IndexedTriangle ( )
inline

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
CubeIndex IndexedTriangle::ComputeCubeIndex ( 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
bool IndexedTriangle::Equal ( const IndexedTriangle tri) const
ubyte IndexedTriangle::FindEdge ( udword  vref0,
udword  vref1 
) const
void IndexedTriangle::Flip ( )
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::IsDegenerate ( ) 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
inline_ udword IndexedTriangle::OppositeVertex ( ubyte  edgenb) const
inline

Definition at line 61 of file IceIndexedTriangle.h.

float IndexedTriangle::Perimeter ( const Point verts) const
inline_ Plane IndexedTriangle::PlaneEquation ( const Point verts) const
inline

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

udword IndexedTriangle::mVRef[3]

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 Sat May 8 2021 02:42:43