@NoOffset @Properties(inherit=BulletCollision.class) public class btQuantizedBvh extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Modifier and Type | Field and Description |
|---|---|
static int |
TRAVERSAL_RECURSIVE
enum btQuantizedBvh::btTraversalMode
|
static int |
TRAVERSAL_STACKLESS
enum btQuantizedBvh::btTraversalMode
|
static int |
TRAVERSAL_STACKLESS_CACHE_FRIENDLY
enum btQuantizedBvh::btTraversalMode
|
| Constructor and Description |
|---|
btQuantizedBvh() |
btQuantizedBvh(long size)
Native array allocator.
|
btQuantizedBvh(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
buildInternal()
buildInternal is expert use only: assumes that setQuantizationValues and LeafNodeArray are initialized
|
int |
calculateSerializeBufferSize() |
int |
calculateSerializeBufferSizeNew() |
void |
deSerializeDouble(btQuantizedBvhDoubleData quantizedBvhDoubleData) |
void |
deSerializeFloat(btQuantizedBvhFloatData quantizedBvhFloatData) |
static btQuantizedBvh |
deSerializeInPlace(Pointer i_alignedDataBuffer,
int i_dataBufferSize,
boolean i_swapEndian)
deSerializeInPlace loads and initializes a BVH from a buffer in memory 'in place'
|
static int |
getAlignmentSerializationPadding() |
btQuantizedBvhNodeArray |
getLeafNodeArray() |
btQuantizedBvh |
getPointer(long i) |
btQuantizedBvhNodeArray |
getQuantizedNodeArray() |
btBvhSubtreeInfoArray |
getSubtreeInfoArray() |
boolean |
isQuantized() |
btQuantizedBvh |
position(long position) |
void |
quantize(short[] out,
btVector3 point,
int isMax) |
void |
quantize(ShortBuffer out,
btVector3 point,
int isMax) |
void |
quantize(ShortPointer out,
btVector3 point,
int isMax) |
void |
quantizeWithClamp(short[] out,
btVector3 point2,
int isMax) |
void |
quantizeWithClamp(ShortBuffer out,
btVector3 point2,
int isMax) |
void |
quantizeWithClamp(ShortPointer out,
btVector3 point2,
int isMax) |
void |
reportAabbOverlappingNodex(btNodeOverlapCallback nodeCallback,
btVector3 aabbMin,
btVector3 aabbMax) |
void |
reportBoxCastOverlappingNodex(btNodeOverlapCallback nodeCallback,
btVector3 raySource,
btVector3 rayTarget,
btVector3 aabbMin,
btVector3 aabbMax) |
void |
reportRayOverlappingNodex(btNodeOverlapCallback nodeCallback,
btVector3 raySource,
btVector3 rayTarget) |
BytePointer |
serialize(Pointer dataBuffer,
btSerializer serializer)
fills the dataBuffer and returns the struct name (and 0 on failure)
|
boolean |
serialize(Pointer o_alignedDataBuffer,
int i_dataBufferSize,
boolean i_swapEndian)
Data buffer MUST be 16 byte aligned
|
void |
setQuantizationValues(btVector3 bvhAabbMin,
btVector3 bvhAabbMax) |
void |
setQuantizationValues(btVector3 bvhAabbMin,
btVector3 bvhAabbMax,
double quantizationMargin) |
void |
setTraversalMode(int traversalMode)
setTraversalMode let's you choose between stackless, recursive or stackless cache friendly tree traversal.
|
btVector3 |
unQuantize(short[] vecIn) |
btVector3 |
unQuantize(ShortBuffer vecIn) |
btVector3 |
unQuantize(ShortPointer vecIn) |
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 static final int TRAVERSAL_STACKLESS
public static final int TRAVERSAL_STACKLESS_CACHE_FRIENDLY
public static final int TRAVERSAL_RECURSIVE
public btQuantizedBvh(Pointer p)
Pointer(Pointer).public btQuantizedBvh(long size)
Pointer.position(long).public btQuantizedBvh()
public btQuantizedBvh position(long position)
public btQuantizedBvh getPointer(long i)
getPointer in class Pointerpublic void setQuantizationValues(@Const @ByRef btVector3 bvhAabbMin, @Const @ByRef btVector3 bvhAabbMax, @Cast(value="btScalar") double quantizationMargin)
public void setQuantizationValues(@Const @ByRef btVector3 bvhAabbMin, @Const @ByRef btVector3 bvhAabbMax)
@Cast(value="QuantizedNodeArray*") @ByRef public btQuantizedBvhNodeArray getLeafNodeArray()
public void buildInternal()
public void reportAabbOverlappingNodex(btNodeOverlapCallback nodeCallback, @Const @ByRef btVector3 aabbMin, @Const @ByRef btVector3 aabbMax)
public void reportRayOverlappingNodex(btNodeOverlapCallback nodeCallback, @Const @ByRef btVector3 raySource, @Const @ByRef btVector3 rayTarget)
public void reportBoxCastOverlappingNodex(btNodeOverlapCallback nodeCallback, @Const @ByRef btVector3 raySource, @Const @ByRef btVector3 rayTarget, @Const @ByRef btVector3 aabbMin, @Const @ByRef btVector3 aabbMax)
public void quantize(@Cast(value="unsigned short*") ShortPointer out, @Const @ByRef btVector3 point, int isMax)
public void quantize(@Cast(value="unsigned short*") ShortBuffer out, @Const @ByRef btVector3 point, int isMax)
public void quantize(@Cast(value="unsigned short*") short[] out, @Const @ByRef btVector3 point, int isMax)
public void quantizeWithClamp(@Cast(value="unsigned short*") ShortPointer out, @Const @ByRef btVector3 point2, int isMax)
public void quantizeWithClamp(@Cast(value="unsigned short*") ShortBuffer out, @Const @ByRef btVector3 point2, int isMax)
public void quantizeWithClamp(@Cast(value="unsigned short*") short[] out, @Const @ByRef btVector3 point2, int isMax)
@ByVal public btVector3 unQuantize(@Cast(value="const unsigned short*") ShortPointer vecIn)
@ByVal public btVector3 unQuantize(@Cast(value="const unsigned short*") ShortBuffer vecIn)
public void setTraversalMode(@Cast(value="btQuantizedBvh::btTraversalMode") int traversalMode)
@Cast(value="QuantizedNodeArray*") @ByRef public btQuantizedBvhNodeArray getQuantizedNodeArray()
@Cast(value="BvhSubtreeInfoArray*") @ByRef public btBvhSubtreeInfoArray getSubtreeInfoArray()
@Cast(value="bool") public boolean serialize(Pointer o_alignedDataBuffer, @Cast(value="unsigned") int i_dataBufferSize, @Cast(value="bool") boolean i_swapEndian)
public static btQuantizedBvh deSerializeInPlace(Pointer i_alignedDataBuffer, @Cast(value="unsigned int") int i_dataBufferSize, @Cast(value="bool") boolean i_swapEndian)
@Cast(value="unsigned int") public static int getAlignmentSerializationPadding()
public int calculateSerializeBufferSizeNew()
@Cast(value="const char*") public BytePointer serialize(Pointer dataBuffer, btSerializer serializer)
public void deSerializeFloat(@ByRef btQuantizedBvhFloatData quantizedBvhFloatData)
public void deSerializeDouble(@ByRef btQuantizedBvhDoubleData quantizedBvhDoubleData)
Copyright © 2024. All rights reserved.