Blender  V3.3
Functions | Variables
btConvexPointCloudShape.h File Reference
#include "btPolyhedralConvexShape.h"
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h"
#include "LinearMath/btAlignedObjectArray.h"

Go to the source code of this file.

Functions

 BT_DECLARE_ALIGNED_ALLOCATOR ()
 
 btConvexPointCloudShape ()
 
 btConvexPointCloudShape (btVector3 *points, int numPoints, const btVector3 &localScaling, bool computeAabb=true)
 
void setPoints (btVector3 *points, int numPoints, bool computeAabb=true, const btVector3 &localScaling=btVector3(1.f, 1.f, 1.f))
 
SIMD_FORCE_INLINE btVector3getUnscaledPoints ()
 
SIMD_FORCE_INLINE int getNumPoints () const
 
SIMD_FORCE_INLINE btVector3 getScaledPoint (int index) const
 
virtual btVector3 localGetSupportingVertex (const btVector3 &vec) const
 
virtual btVector3 localGetSupportingVertexWithoutMargin (const btVector3 &vec) const
 btConvexShape Interface More...
 
virtual void batchedUnitVectorGetSupportingVertexWithoutMargin (const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const
 
virtual const char * getName () const
 
virtual int getNumVertices () const
 
virtual int getNumEdges () const
 
virtual void getEdge (int i, btVector3 &pa, btVector3 &pb) const
 
virtual void getVertex (int i, btVector3 &vtx) const
 
virtual int getNumPlanes () const
 
virtual void getPlane (btVector3 &planeNormal, btVector3 &planeSupport, int i) const
 
virtual bool isInside (const btVector3 &pt, btScalar tolerance) const
 
virtual void setLocalScaling (const btVector3 &scaling)
 in case we receive negative scaling More...
 

Variables

btConvexPointCloudShape __pad0__
 The btConvexPointCloudShape implements an implicit convex hull of an array of vertices. More...
 
int m_numPoints
 

Function Documentation

◆ batchedUnitVectorGetSupportingVertexWithoutMargin()

virtual void batchedUnitVectorGetSupportingVertexWithoutMargin ( const btVector3 vectors,
btVector3 supportVerticesOut,
int  numVectors 
) const
virtual

Definition at line 71 of file btBox2dShape.h.

◆ BT_DECLARE_ALIGNED_ALLOCATOR()

BT_DECLARE_ALIGNED_ALLOCATOR ( )

◆ btConvexPointCloudShape() [1/2]

btConvexPointCloudShape ( )

◆ btConvexPointCloudShape() [2/2]

btConvexPointCloudShape ( btVector3 points,
int  numPoints,
const btVector3 localScaling,
bool  computeAabb = true 
)

◆ getEdge()

virtual void getEdge ( int  i,
btVector3 pa,
btVector3 pb 
) const
virtual

Definition at line 218 of file btBox2dShape.h.

◆ getName()

virtual const char* getName ( ) const
virtual

Definition at line 89 of file btConvexPointCloudShape.h.

◆ getNumEdges()

virtual int getNumEdges ( ) const
virtual

Definition at line 174 of file btBox2dShape.h.

◆ getNumPlanes()

virtual int getNumPlanes ( ) const
virtual

Definition at line 169 of file btBox2dShape.h.

◆ getNumPoints()

SIMD_FORCE_INLINE int getNumPoints ( ) const

Definition at line 72 of file btConvexPointCloudShape.h.

References m_numPoints.

◆ getNumVertices()

virtual int getNumVertices ( ) const
virtual

Definition at line 140 of file btBox2dShape.h.

◆ getPlane()

virtual void getPlane ( btVector3 planeNormal,
btVector3 planeSupport,
int  i 
) const
virtual

Definition at line 155 of file btBox2dShape.h.

◆ getScaledPoint()

SIMD_FORCE_INLINE btVector3 getScaledPoint ( int  index) const

Definition at line 77 of file btConvexPointCloudShape.h.

References m_localScaling.

◆ getUnscaledPoints()

SIMD_FORCE_INLINE btVector3* getUnscaledPoints ( )

Definition at line 62 of file btConvexPointCloudShape.h.

◆ getVertex()

virtual void getVertex ( int  i,
btVector3 vtx 
) const
virtual

Definition at line 179 of file btBox2dShape.h.

◆ isInside()

virtual bool isInside ( const btVector3 pt,
btScalar  tolerance 
) const
virtual

Definition at line 284 of file btBox2dShape.h.

◆ localGetSupportingVertex()

virtual btVector3 localGetSupportingVertex ( const btVector3 vec) const
virtual

Definition at line 51 of file btBox2dShape.h.

◆ localGetSupportingVertexWithoutMargin()

virtual btVector3 localGetSupportingVertexWithoutMargin ( const btVector3 vec) const
virtual

btConvexShape Interface

Definition at line 62 of file btBox2dShape.h.

◆ setLocalScaling()

virtual void setLocalScaling ( const btVector3 scaling)
virtual

in case we receive negative scaling

Definition at line 120 of file btBox2dShape.h.

◆ setPoints()

void setPoints ( btVector3 points,
int  numPoints,
bool  computeAabb = true,
const btVector3 localScaling = btVector3(1.f, 1.f, 1.f) 
)

Definition at line 52 of file btConvexPointCloudShape.h.

References m_localScaling, m_numPoints, and recalcLocalAabb().

Variable Documentation

◆ __pad0__

The btConvexPointCloudShape implements an implicit convex hull of an array of vertices.

Definition at line 25 of file btConvexPointCloudShape.h.

◆ m_numPoints

int m_numPoints

Definition at line 28 of file btConvexPointCloudShape.h.

Referenced by btConvexPointCloudShape(), getNumPoints(), and setPoints().