|
AnyCAD Rapid API 2023
Help you to create a better world!
|
Public 成员函数 | |
| ClassId | GetClassId () |
| Float32Buffer | GetPositions () |
| boolean | SetPositions (Float32Buffer val) |
| Float32Buffer | GetNormals () |
| boolean | SetNormals (Float32Buffer val) |
| Float32Buffer | GetColors () |
| boolean | SetColors (Float32Buffer val) |
| Float32Buffer | GetScalarData () |
| boolean | SetScalarData (Float32Buffer val) |
| float | GetPointSize () |
| boolean | SetPointSize (float val) |
| Vector3 | GetPointColor () |
| boolean | SetPointColor (Vector3 val) |
| StringList | GetPointNames () |
| boolean | SetPointNames (StringList val) |
| void | DeletePoints (Uint32List ids) |
| void | AddPoint (Vector3 position, Vector3 normal, Vector3 color, float data, String name) |
Public 成员函数 继承自 DrawableElement | |
| ClassId | GetClassId () |
| ObjectId | GetLayerId () |
| boolean | SetLayerId (ObjectId val) |
| long | GetDisplayFilter () |
| boolean | SetDisplayFilter (long val) |
| ObjectId | GetMaterialId () |
| boolean | SetMaterialId (ObjectId val) |
| boolean | GetManaged () |
| boolean | SetManaged (boolean val) |
| ObjectId | GetFunctionId () |
| boolean | SetFunctionId (ObjectId val) |
| AABox | GetLocalBBox () |
| void | SetTransformBehaviour (EnumTransformBehaviour behaviour) |
| EnumTransformBehaviour | GetTransformBehaviour () |
| AABox | GetWorldBBox () |
| TopoShape | GetFinalShape (EnumLevelOfDetail lod) |
| TopoShape | GetFinalShape () |
| void | SetTransform (GTrsf trf) |
| GTrsf | GetTransform () |
| GTrsf | GetParentTransform () |
| GTrsf | GetLocalTransform () |
| void | SetLocalTransform (GTrsf trf) |
| ObjectId | GetUsedMaterialId () |
| void | RequestUpdate () |
Public 成员函数 继承自 EntityElement | |
| ClassId | GetClassId () |
| long | GetState () |
| boolean | SetState (long val) |
| ObjectId | GetParentId () |
| boolean | SetParentId (ObjectId val) |
| ObjectId | GetDbViewId () |
| boolean | SetDbViewId (ObjectId val) |
| void | SetVisible (boolean bVisible) |
| boolean | GetVisible () |
| void | SetProvisional (boolean enabled) |
| boolean | GetProvisional () |
| void | SetPickable (boolean bPickable) |
| boolean | GetPickable () |
| void | SetSectionable (boolean bSectionable) |
| boolean | GetSectionable () |
| void | SetBrowserable (boolean browserable) |
| boolean | GetBrowserable () |
| void | SetEditable (boolean editable) |
| boolean | GetEditable () |
| void | SetLODEnabled (boolean enabled) |
| boolean | GetLODEnabled () |
| Component | GetComponent (String className) |
| Component | FindComponent (String className, String name) |
| void | CollectChildren (ReferenceCollector collector) |
| void | ListParameters (ParameterDict parameters) |
| boolean | SetParameter (ParameterDict parameters, String key) |
Public 成员函数 继承自 Element | |
| ClassId | GetClassId () |
| ObjectId | GetId () |
| long | GetUserId () |
| boolean | SetUserId (long val) |
| String | GetName () |
| boolean | SetName (String val) |
| String | GetSchemaName () |
| boolean | SetSchemaName (String val) |
| long | GetUserFlags () |
| void | SetUserFlags (long val) |
| void | MakeUniqueName (String base) |
| void | MakeUniqueName () |
| void | RequestUpdate () |
| void | ListParameters (ParameterDict parameters) |
| boolean | SetParameter (ParameterDict parameters, String key) |
Public 成员函数 继承自 AObject | |
| ClassId | GetClassId () |
| boolean | IsEqual (AObject other) |
静态 Public 成员函数 | |
| static ClassId | GetStaticClassId () |
| static PointCloudElement | Cast (AObject obj) |
| static PointCloudElement | Create (Document pDoc) |
| static ClassId | GetStaticClassId () |
| static DrawableElement | Cast (AObject obj) |
| static DrawableElement | Create (Document pDoc) |
| static ClassId | GetStaticClassId () |
| static EntityElement | Cast (AObject obj) |
| static EntityElement | Create (Document pDoc) |
| static ClassId | GetStaticClassId () |
| static Element | Cast (AObject obj) |
| static ClassId | GetStaticClassId () |
额外继承的成员函数 | |
静态 Public 属性 继承自 DrawableElement | |
| static final long | PID_Transform = AnyCADJNI.DrawableElement_PID_Transform_get() |
| static final long | PID_RegenParameter = AnyCADJNI.DrawableElement_PID_RegenParameter_get() |
| static final long | PID_Graphics = AnyCADJNI.DrawableElement_PID_Graphics_get() |
| static final long | PID_RegenSection = AnyCADJNI.DrawableElement_PID_RegenSection_get() |
静态 Public 属性 继承自 EntityElement | |
| static final long | PID_Visibility = AnyCADJNI.EntityElement_PID_Visibility_get() |
<>
点云数据管理
| void PointCloudElement.AddPoint | ( | Vector3 | position, |
| Vector3 | normal, | ||
| Vector3 | color, | ||
| float | data, | ||
| String | name | ||
| ) |
添加一个点。代价较高。
| position | 位置 |
| normal | 法向 |
| color | 颜色 |
| data | 值 |
|
static |
重载 DrawableElement .
|
static |
重载 DrawableElement .
| void PointCloudElement.DeletePoints | ( | Uint32List | ids | ) |
删除指定的点
| ids | 点的索引。 |
| ClassId PointCloudElement.GetClassId | ( | ) |
|
static |