|
AnyCAD Rapid API 2024
Help you to create a better world!
|
Public 成员函数 | |
| 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 | 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 () |
| void | SetMaterial (MaterialInstance pMaterial) |
| void | SetColor (Vector3 color) |
Public 成员函数 继承自 SceneNode | |
| String | GetName () |
| void | SetName (String val) |
| java.math.BigInteger | GetUserId () |
| void | SetUserId (java.math.BigInteger val) |
| java.math.BigInteger | GetParentId () |
| void | SetParentId (java.math.BigInteger val) |
| Matrix4d | GetTransform () |
| AABox | GetBoundingBox () |
| void | SetBoundingBox (AABox val) |
| Matrix4d | 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 | GetPickByBox () |
| void | SetPickByBox (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 | GetInfiniteSize () |
| void | SetInfiniteSize (boolean bEnabled) |
| boolean | GetPhysics () |
| void | SetPhysics (boolean bEnabled) |
| void | SetTransform (Matrix4d trf) |
| SceneNode | GetRootNode () |
| void | RequestUpdate () |
| void | AddTransform (Matrix4d trf) |
| void | SetWorldTransform (Matrix4d world) |
| void | UpdateTransform (Matrix4d parent) |
| AABox | ComputeBoundingBox (Matrix4d parent) |
| boolean | IsVisiblePath () |
Public 成员函数 继承自 GfxObject | |
| long | GetUuid () |
静态 Public 成员函数 | |
| static PointCloud | Cast (GfxObject obj) |
| static PointCloud | Create (Float32Buffer points, Float32Buffer colors, Float32Buffer normals, float pointSize) |
<>
点云显示对象.
| void PointCloud.AddPoints | ( | Float32Buffer | points, |
| Float32Buffer | colors, | ||
| Float32Buffer | normals ) |
添加点云.
| points | 顶点. |
| colors | 颜色. |
| normals | 顶点法向 |
|
static |
重载 ShapeSceneNode .
|
static |
| Vector3 PointCloud.GetColor | ( | long | idx | ) |
获取颜色
| idx | 索引 |
| Vector3 PointCloud.GetNormal | ( | long | idx | ) |
获取法线
| idx | 索引 |
| long PointCloud.GetPointCount | ( | ) |
获取点的个数
| Vector3 PointCloud.GetPosition | ( | long | idx | ) |
获取点的位置
| idx | 索引 |
| void PointCloud.SetColor | ( | long | idx, |
| Vector3 | color ) |
修改颜色
| idx | 索引 |
| color | 颜色 |
| void PointCloud.SetNormal | ( | long | idx, |
| Vector3 | normal ) |
修改法线
| idx | 索引 |
| normal | 法线 |
| void PointCloud.SetPointSize | ( | float | pointSize | ) |
设置点显示大小.
| pointSize | the point size. |
| void PointCloud.SetPosition | ( | long | idx, |
| Vector3 | position ) |
修改某个点的位置
| idx | 索引 |
| position | 位置 |
| void PointCloud.UpdateBoundingBox | ( | ) |
修改位置后,需要更新包围盒。
| void PointCloud.UseVertexColors | ( | boolean | enabled | ) |
启用顶点着色.
| enabled | true to use the point colors. |