Classes | Public Member Functions | Public Attributes | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes

btConvexHullInternal Class Reference

Collaboration diagram for btConvexHullInternal:
Collaboration graph
[legend]

List of all members.

Classes

class  DMul
class  Edge
class  Face
class  Int128
class  IntermediateHull
class  Point32
class  Point64
class  PointR128
class  Pool
class  PoolArray
class  Rational128
class  Rational64
class  Vertex

Public Member Functions

void compute (const void *coords, bool doubleCoords, int stride, int count)
btVector3 getCoordinates (const Vertex *v)
btScalar shrink (btScalar amount, btScalar clampAmount)

Public Attributes

VertexvertexList

Private Types

enum  Orientation {
  NONE,
  CLOCKWISE,
  COUNTER_CLOCKWISE
}

Private Member Functions

EdgefindMaxAngle (bool ccw, const Vertex *start, const Point32 &s, const Point64 &rxs, const Point64 &sxrxs, Rational64 &minCot)
void findEdgeForCoplanarFaces (Vertex *c0, Vertex *c1, Edge *&e0, Edge *&e1, Vertex *stop0, Vertex *stop1)
EdgenewEdgePair (Vertex *from, Vertex *to)
void removeEdgePair (Edge *edge)
void computeInternal (int start, int end, IntermediateHull &result)
bool mergeProjection (IntermediateHull &h0, IntermediateHull &h1, Vertex *&c0, Vertex *&c1)
void merge (IntermediateHull &h0, IntermediateHull &h1)
btVector3 toBtVector (const Point32 &v)
btVector3 getBtNormal (Face *face)
bool shiftFace (Face *face, btScalar amount, btAlignedObjectArray< Vertex * > stack)

Static Private Member Functions

static Orientation getOrientation (const Edge *prev, const Edge *next, const Point32 &s, const Point32 &t)

Private Attributes

btVector3 scaling
btVector3 center
Pool< VertexvertexPool
Pool< EdgeedgePool
Pool< FacefacePool
btAlignedObjectArray< Vertex * > originalVertices
int mergeStamp
int minAxis
int medAxis
int maxAxis
int usedEdgePairs
int maxUsedEdgePairs

Detailed Description

Definition at line 52 of file btConvexHullComputer.cpp.


Member Enumeration Documentation

Enumerator:
NONE 
CLOCKWISE 
COUNTER_CLOCKWISE 

Definition at line 663 of file btConvexHullComputer.cpp.


Member Function Documentation

void btConvexHullInternal::compute ( const void *  coords,
bool  doubleCoords,
int  stride,
int  count 
)

Definition at line 1940 of file btConvexHullComputer.cpp.

void btConvexHullInternal::computeInternal ( int  start,
int  end,
IntermediateHull result 
) [private]

Definition at line 1204 of file btConvexHullComputer.cpp.

void btConvexHullInternal::findEdgeForCoplanarFaces ( Vertex c0,
Vertex c1,
Edge *&  e0,
Edge *&  e1,
Vertex stop0,
Vertex stop1 
) [private]

Definition at line 1463 of file btConvexHullComputer.cpp.

btConvexHullInternal::Edge * btConvexHullInternal::findMaxAngle ( bool  ccw,
const Vertex start,
const Point32 s,
const Point64 rxs,
const Point64 sxrxs,
Rational64 minCot 
) [private]

Definition at line 1411 of file btConvexHullComputer.cpp.

btVector3 btConvexHullInternal::getBtNormal ( Face face  )  [private]

Definition at line 2070 of file btConvexHullComputer.cpp.

btVector3 btConvexHullInternal::getCoordinates ( const Vertex v  ) 

Definition at line 2075 of file btConvexHullComputer.cpp.

btConvexHullInternal::Orientation btConvexHullInternal::getOrientation ( const Edge prev,
const Edge next,
const Point32 s,
const Point32 t 
) [static, private]

Definition at line 1385 of file btConvexHullComputer.cpp.

void btConvexHullInternal::merge ( IntermediateHull h0,
IntermediateHull h1 
) [private]

Definition at line 1647 of file btConvexHullComputer.cpp.

bool btConvexHullInternal::mergeProjection ( IntermediateHull h0,
IntermediateHull h1,
Vertex *&  c0,
Vertex *&  c1 
) [private]

Definition at line 1019 of file btConvexHullComputer.cpp.

btConvexHullInternal::Edge * btConvexHullInternal::newEdgePair ( Vertex from,
Vertex to 
) [private]

Definition at line 998 of file btConvexHullComputer.cpp.

void btConvexHullInternal::removeEdgePair ( Edge edge  )  [inline, private]

Definition at line 779 of file btConvexHullComputer.cpp.

bool btConvexHullInternal::shiftFace ( Face face,
btScalar  amount,
btAlignedObjectArray< Vertex * >  stack 
) [private]

Definition at line 2205 of file btConvexHullComputer.cpp.

btScalar btConvexHullInternal::shrink ( btScalar  amount,
btScalar  clampAmount 
)

Definition at line 2084 of file btConvexHullComputer.cpp.

btVector3 btConvexHullInternal::toBtVector ( const Point32 v  )  [private]

Definition at line 2061 of file btConvexHullComputer.cpp.


Member Data Documentation

Definition at line 761 of file btConvexHullComputer.cpp.

Definition at line 763 of file btConvexHullComputer.cpp.

Definition at line 764 of file btConvexHullComputer.cpp.

Definition at line 769 of file btConvexHullComputer.cpp.

Definition at line 771 of file btConvexHullComputer.cpp.

Definition at line 768 of file btConvexHullComputer.cpp.

Definition at line 766 of file btConvexHullComputer.cpp.

Definition at line 767 of file btConvexHullComputer.cpp.

Definition at line 765 of file btConvexHullComputer.cpp.

Definition at line 760 of file btConvexHullComputer.cpp.

Definition at line 770 of file btConvexHullComputer.cpp.

Definition at line 828 of file btConvexHullComputer.cpp.

Definition at line 762 of file btConvexHullComputer.cpp.


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