AnyCAD Rapid SDK  2021
The Rapid CAD SDK
Public Member Functions | Protected Member Functions | Static Protected Member Functions | List of all members
BufferShapeBase Class Reference
Inheritance diagram for BufferShapeBase:
BatchedBufferShape BufferShape

Public Member Functions

synchronized void delete ()
 
 BufferShapeBase (TopoShape shape, MaterialInstance material, MaterialInstance edgeMaterial, double deflection)
 
TopoShape GetShape ()
 
AxisAlignedBox GetBoundingBox ()
 
void SetBoundingBox (AxisAlignedBox val)
 
boolean GetReady ()
 
double GetDeflection ()
 
MaterialInstance GetEdgeMaterial ()
 
MaterialInstance GetFaceMaterial ()
 
boolean IsNull ()
 
boolean Build ()
 
void SetShape (TopoShape shape)
 
void SetFaceMaterial (MaterialInstance material)
 
void SetFaceMaterial (long idx, MaterialInstance material)
 
void SetEdgeMaterial (MaterialInstance material)
 
void SetEdgeMaterial (long idx, MaterialInstance material)
 
void RequestUpdate ()
 
BufferShapeBase Clone ()
 

Protected Member Functions

 BufferShapeBase (long cPtr, boolean cMemoryOwn)
 
void swigSetCMemOwn (boolean own)
 
void finalize ()
 

Static Protected Member Functions

static long getCPtr (BufferShapeBase obj)
 

Detailed Description


BufferShape

The bridge between BufferGeometry and SceneNode.

Member Function Documentation

boolean BufferShapeBase.Build ( )

triangulate the shape.

Returns
true if done.
void BufferShapeBase.RequestUpdate ( )

request to update the shape.

void BufferShapeBase.SetShape ( TopoShape  shape)

Update the shape.

Parameters
shapethe new shape.