@NoOffset @Properties(inherit=BulletCollision.class) public class btGImpactQuantizedBvh extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btGImpactQuantizedBvh()
this constructor doesn't build the tree.
|
btGImpactQuantizedBvh(btPrimitiveManagerBase primitive_manager)
this constructor doesn't build the tree.
|
btGImpactQuantizedBvh(long size)
Native array allocator.
|
btGImpactQuantizedBvh(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
buildSet()
this rebuild the entire set
|
static void |
find_collision(btGImpactQuantizedBvh boxset1,
btTransform trans1,
btGImpactQuantizedBvh boxset2,
btTransform trans2,
btPairSet collision_pairs) |
BT_QUANTIZED_BVH_NODE |
get_node_pointer() |
BT_QUANTIZED_BVH_NODE |
get_node_pointer(int index) |
int |
getEscapeNodeIndex(int nodeindex) |
int |
getLeftNode(int nodeindex) |
int |
getNodeCount()
node count
|
int |
getNodeData(int nodeindex) |
void |
getNodeTriangle(int nodeindex,
btPrimitiveTriangle triangle) |
btGImpactQuantizedBvh |
getPointer(long i) |
btPrimitiveManagerBase |
getPrimitiveManager() |
int |
getRightNode(int nodeindex) |
boolean |
hasHierarchy()
tells if this set has hierarcht
|
boolean |
isLeafNode(int nodeindex)
tells if the node is a leaf
|
boolean |
isTrimesh()
tells if this set is a trimesh
|
btGImpactQuantizedBvh |
position(long position) |
boolean |
rayQuery(btVector3 ray_dir,
btVector3 ray_origin,
btIntArray collided_results)
returns the indices of the primitives in the m_primitive_manager
|
void |
setPrimitiveManager(btPrimitiveManagerBase primitive_manager) |
void |
update()
node manager prototype functions
\{
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic btGImpactQuantizedBvh(Pointer p)
Pointer(Pointer).public btGImpactQuantizedBvh(long size)
Pointer.position(long).public btGImpactQuantizedBvh()
public btGImpactQuantizedBvh(btPrimitiveManagerBase primitive_manager)
public btGImpactQuantizedBvh position(long position)
public btGImpactQuantizedBvh getPointer(long i)
getPointer in class Pointerpublic void setPrimitiveManager(btPrimitiveManagerBase primitive_manager)
public btPrimitiveManagerBase getPrimitiveManager()
public void update()
this attemps to refit the box set.
public void buildSet()
@Cast(value="bool") public boolean rayQuery(@Const @ByRef btVector3 ray_dir, @Const @ByRef btVector3 ray_origin, @ByRef btIntArray collided_results)
public int getNodeCount()
public int getNodeData(int nodeindex)
public int getLeftNode(int nodeindex)
public int getRightNode(int nodeindex)
public int getEscapeNodeIndex(int nodeindex)
public void getNodeTriangle(int nodeindex,
@ByRef
btPrimitiveTriangle triangle)
@Const public BT_QUANTIZED_BVH_NODE get_node_pointer(int index)
@Const public BT_QUANTIZED_BVH_NODE get_node_pointer()
public static void find_collision(@Const btGImpactQuantizedBvh boxset1, @Const @ByRef btTransform trans1, @Const btGImpactQuantizedBvh boxset2, @Const @ByRef btTransform trans2, @ByRef btPairSet collision_pairs)
Copyright © 2024. All rights reserved.