Bullet Collision Detection & Physics Library
Classes | Public Member Functions | Public Attributes | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
btConvexHullInternal Class Reference
Collaboration diagram for btConvexHullInternal:
Collaboration graph
[legend]

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 1944 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 2074 of file btConvexHullComputer.cpp.

btVector3 btConvexHullInternal::getCoordinates ( const Vertex v)

Definition at line 2079 of file btConvexHullComputer.cpp.

btConvexHullInternal::Orientation btConvexHullInternal::getOrientation ( const Edge prev,
const Edge next,
const Point32 s,
const Point32 t 
)
staticprivate

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)
inlineprivate

Definition at line 779 of file btConvexHullComputer.cpp.

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

Definition at line 2209 of file btConvexHullComputer.cpp.

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

Definition at line 2088 of file btConvexHullComputer.cpp.

btVector3 btConvexHullInternal::toBtVector ( const Point32 v)
private

Definition at line 2065 of file btConvexHullComputer.cpp.

Member Data Documentation

btVector3 btConvexHullInternal::center
private

Definition at line 761 of file btConvexHullComputer.cpp.

Pool<Edge> btConvexHullInternal::edgePool
private

Definition at line 763 of file btConvexHullComputer.cpp.

Pool<Face> btConvexHullInternal::facePool
private

Definition at line 764 of file btConvexHullComputer.cpp.

int btConvexHullInternal::maxAxis
private

Definition at line 769 of file btConvexHullComputer.cpp.

int btConvexHullInternal::maxUsedEdgePairs
private

Definition at line 771 of file btConvexHullComputer.cpp.

int btConvexHullInternal::medAxis
private

Definition at line 768 of file btConvexHullComputer.cpp.

int btConvexHullInternal::mergeStamp
private

Definition at line 766 of file btConvexHullComputer.cpp.

int btConvexHullInternal::minAxis
private

Definition at line 767 of file btConvexHullComputer.cpp.

btAlignedObjectArray<Vertex*> btConvexHullInternal::originalVertices
private

Definition at line 765 of file btConvexHullComputer.cpp.

btVector3 btConvexHullInternal::scaling
private

Definition at line 760 of file btConvexHullComputer.cpp.

int btConvexHullInternal::usedEdgePairs
private

Definition at line 770 of file btConvexHullComputer.cpp.

Vertex* btConvexHullInternal::vertexList

Definition at line 828 of file btConvexHullComputer.cpp.

Pool<Vertex> btConvexHullInternal::vertexPool
private

Definition at line 762 of file btConvexHullComputer.cpp.


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