AnyCAD Rapid API 2023
Help you to create a better world!
载入中...
搜索中...
未找到
PointCloud类 参考
类 PointCloud 继承关系图:
ShapeSceneNode SceneNode GfxObject SharedPointCloud

Public 成员函数

 PointCloud (CompoundShape shape, float pointSize)
 
PointsMaterial GetMaterial ()
 
void SetMaterial (PointsMaterial val)
 
MeshPhongMaterial GetNormalMaterial ()
 
void SetNormalMaterial (MeshPhongMaterial val)
 
void AddPoints (Float32Buffer points, Float32Buffer colors, Float32Buffer normals)
 
long GetPointCount ()
 
void SetPointSize (float pointSize)
 
void UseVertexColors (boolean enabled)
 
void SetPosition (long idx, Vector3 position)
 
Vector3 GetPosition (long idx)
 
void SetNormal (long idx, Vector3 normal)
 
Vector3 GetNormal (long idx)
 
void SetPosition (long primitiveIdx, long pointIdx, Vector3 position)
 
Vector3 GetPosition (long primitiveIdx, long pointIdx)
 
void SetColor (long idx, Vector3 color)
 
Vector3 GetColor (long idx)
 
void UpdateBoundingBox ()
 
SceneNode Clone ()
 
- Public 成员函数 继承自 ShapeSceneNode
 ShapeSceneNode (CompoundShape shape)
 
CompoundShape GetShape ()
 
void SetShape (CompoundShape val)
 
PrimitiveShapeList GetPrimitives ()
 
PrimitiveShape GetPrimitive (long idx)
 
long GetPrimitiveCount ()
 
SceneNode Clone ()
 
- Public 成员函数 继承自 SceneNode
java.math.BigInteger GetUserId ()
 
void SetUserId (java.math.BigInteger val)
 
Matrix4 GetTransform ()
 
AABox GetBoundingBox ()
 
void SetBoundingBox (AABox val)
 
Matrix4 GetWorldTransform ()
 
AABox GetWorldBBox ()
 
long GetState ()
 
SceneNode GetParent ()
 
void SetParent (SceneNode val)
 
float GetPickOrder ()
 
void SetPickOrder (float val)
 
long GetUpdateVersion ()
 
void SetUpdateVersion (long val)
 
MaterialInstance GetOverrideFaceMaterial ()
 
void SetOverrideFaceMaterial (MaterialInstance val)
 
MaterialInstance GetOverrideEdgeMaterial ()
 
void SetOverrideEdgeMaterial (MaterialInstance val)
 
boolean GetCastShadow ()
 
void SetCastShadow (boolean bEnabled)
 
boolean GetPickable ()
 
void SetPickable (boolean bEnabled)
 
boolean GetCulling ()
 
void SetCulling (boolean bEnabled)
 
boolean GetVisible ()
 
void SetVisible (boolean bEnabled)
 
boolean GetChildrenPickable ()
 
void SetChildrenPickable (boolean bEnabled)
 
boolean GetContainer ()
 
void SetContainer (boolean bEnabled)
 
boolean GetFixedSize ()
 
void SetFixedSize (boolean bEnabled)
 
boolean GetPhysics ()
 
void SetPhysics (boolean bEnabled)
 
void SetTransform (Matrix4 trf)
 
SceneNode GetRootNode ()
 
SceneNode Clone ()
 
void RequestUpdate ()
 
void AddTransform (Matrix4 trf)
 
void SetWorldTransform (Matrix4 world)
 
void UpdateTransform (Matrix4 parent)
 
AABox ComputeBoundingBox (Matrix4 parent)
 
boolean IsVisiblePath ()
 
- Public 成员函数 继承自 GfxObject
long GetUuid ()
 

静态 Public 成员函数

static PointCloud Cast (GfxObject obj)
 
static PointCloud Create (Float32Buffer points, Float32Buffer colors, Float32Buffer normals, float pointSize)
 
static ShapeSceneNode Cast (GfxObject obj)
 
static SceneNode Cast (GfxObject obj)
 

详细描述

<>
The point cloude node.

成员函数说明

◆ AddPoints()

void PointCloud.AddPoints ( Float32Buffer  points,
Float32Buffer  colors,
Float32Buffer  normals 
)

Add another point cloud.

参数
pointsthe positions.
colorsthe colors.

◆ Cast()

static PointCloud PointCloud.Cast ( GfxObject  obj)
static

重载 ShapeSceneNode .

◆ Clone()

SceneNode PointCloud.Clone ( )

重载 ShapeSceneNode .

◆ Create()

static PointCloud PointCloud.Create ( Float32Buffer  points,
Float32Buffer  colors,
Float32Buffer  normals,
float  pointSize 
)
static

Create the point cloud

参数
pointsthe positions.
colorsthe colors.
pointSizethe point size.
返回
the PointCloud

◆ SetPointSize()

void PointCloud.SetPointSize ( float  pointSize)

Change the point displaying size.

参数
pointSizethe point size.

◆ UseVertexColors()

void PointCloud.UseVertexColors ( boolean  enabled)

Enable displaying with vertex colors.

参数
enabledtrue to use the point colors.