AnyCAD Rapid API 2023
Help you to create a better world!
|
Public 成员函数 | |
SceneManager (long width, long height) | |
Camera | GetCamera () |
Camera | GetCropCamera () |
SelectionManager | GetSelectionManager () |
AABox | GetWorldBBox () |
AABox | GetSceneBBox () |
CoordinateGridWidget | GetCoodinateGrid () |
void | SetCoodinateGrid (CoordinateGridWidget val) |
Background | GetBackground () |
void | SetBackground (Background val) |
AABox | GetCropBox () |
void | SetCropBox (AABox val) |
boolean | GetUseCropBox () |
void | SetUseCropBox (boolean val) |
boolean | GetDrawCropBox () |
void | SetDrawCropBox (boolean val) |
long | GetDisplayFilter () |
void | SetDisplayFilter (long val) |
long | AddScene (Scene scene) |
boolean | RemoveScene (long sceneId) |
Scene | FindScene (long sceneId) |
Scene | GetScene () |
Scene | GetTempScene () |
Scene | GetScene2D () |
void | ResetDisplayFilters () |
void | AddDisplayFilter (EnumShapeFilter filter) |
void | ClearDisplayFilter (EnumShapeFilter filter) |
void | ClearSelection (boolean bNotify) |
void | ClearOverride () |
boolean | Select (SceneNode pNode) |
boolean | Select (long nodeId) |
boolean | Select (ObjectId id) |
boolean | SelectSubShape (long nodeId, EnumShapeFilter type, long shapeIndex, IntersectPoint pPoint) |
boolean | SelectSubShape (long nodeId, EnumShapeFilter type, long shapeIndex) |
boolean | SelectSubTopo (long nodeId, EnumShapeFilter type, long topoIdx, IntersectPoint pPoint) |
boolean | SelectSubTopo (long nodeId, EnumShapeFilter type, long topoIdx) |
boolean | SelectSubShape (ObjectId id, EnumShapeFilter type, long shapeIndex, IntersectPoint pPoint) |
boolean | SelectSubShape (ObjectId id, EnumShapeFilter type, long shapeIndex) |
boolean | SelectSubTopo (ObjectId id, EnumShapeFilter type, long topoIdx, IntersectPoint pPoint) |
boolean | SelectSubTopo (ObjectId id, EnumShapeFilter type, long topoIdx) |
boolean | SelectSubTopo (ObjectId id, java.math.BigInteger tag, EnumShapeFilter type, long topoIdx, IntersectPoint pPoint) |
boolean | SelectSubTopo (ObjectId id, java.math.BigInteger tag, EnumShapeFilter type, long topoIdx) |
boolean | OverrideSubTopo (ObjectId id, java.math.BigInteger tag, EnumShapeFilter type, long topoIdx) |
boolean | OverrideSubTopo (PickedItem item) |
void | UpdateWorld (boolean forced) |
boolean | UpdateFixedSizeWorld () |
boolean | HitCropBox (int x, int y) |
int | HitCropBoxGrip (int x, int y) |
Vector3 | WindowPointToCropWorldPoint (int x, int y) |
void | Clear () |
<>
场景管理器.
void SceneManager.AddDisplayFilter | ( | EnumShapeFilter | filter | ) |
添加显示过滤器
filter | 过滤条件 |
long SceneManager.AddScene | ( | Scene | scene | ) |
添加场景
scene | 场景对象 |
void SceneManager.ClearDisplayFilter | ( | EnumShapeFilter | filter | ) |
清空选择过滤器
filter | 过滤条件 |
void SceneManager.ClearOverride | ( | ) |
清除覆盖色
void SceneManager.ClearSelection | ( | boolean | bNotify | ) |
清空选择集
bNotify | 是否通知 |
Scene SceneManager.FindScene | ( | long | sceneId | ) |
查找场景
sceneId | ID |
Scene SceneManager.GetScene | ( | ) |
获取默认的场景
Scene SceneManager.GetScene2D | ( | ) |
获取二维场景
Scene SceneManager.GetTempScene | ( | ) |
获取临时对象的场景
boolean SceneManager.OverrideSubTopo | ( | ObjectId | id, |
java.math.BigInteger | tag, | ||
EnumShapeFilter | type, | ||
long | topoIdx | ||
) |
设置指定的拓扑元素为重写颜色
id | 对象ID |
type | 类型 |
topoIdx | 索引 |
boolean SceneManager.RemoveScene | ( | long | sceneId | ) |
移除场景
sceneId | 场景ID |
void SceneManager.ResetDisplayFilters | ( | ) |
重置显示过滤器
boolean SceneManager.Select | ( | ObjectId | id | ) |
根据对象ID选择
id | 对象ID |
boolean SceneManager.Select | ( | SceneNode | pNode | ) |
根据Node来选择
pNode | Node对象 |
boolean SceneManager.SelectSubShape | ( | long | nodeId, |
EnumShapeFilter | type, | ||
long | shapeIndex | ||
) |
根据NodeID选择其子元素
nodeId | the Node UUID |
type | 子类型 |
shapeIndex | 索引 |
boolean SceneManager.SelectSubShape | ( | long | nodeId, |
EnumShapeFilter | type, | ||
long | shapeIndex, | ||
IntersectPoint | pPoint | ||
) |
根据NodeID选择其子元素
nodeId | the Node UUID |
type | 子类型 |
shapeIndex | 索引 |
boolean SceneManager.SelectSubShape | ( | ObjectId | id, |
EnumShapeFilter | type, | ||
long | shapeIndex | ||
) |
根据对ID选择其子元素
id | 对象ID |
type | 子类型 |
shapeIndex | 类型索引 |
boolean SceneManager.SelectSubShape | ( | ObjectId | id, |
EnumShapeFilter | type, | ||
long | shapeIndex, | ||
IntersectPoint | pPoint | ||
) |
根据对ID选择其子元素
id | 对象ID |
type | 子类型 |
shapeIndex | 类型索引 |
boolean SceneManager.SelectSubTopo | ( | long | nodeId, |
EnumShapeFilter | type, | ||
long | topoIdx | ||
) |
根据拓扑ID选择子元素
nodeId | Node Uuid |
type | 类型 |
topoIdx | 拓扑索引 |
boolean SceneManager.SelectSubTopo | ( | long | nodeId, |
EnumShapeFilter | type, | ||
long | topoIdx, | ||
IntersectPoint | pPoint | ||
) |
根据拓扑ID选择子元素
nodeId | Node Uuid |
type | 类型 |
topoIdx | 拓扑索引 |
boolean SceneManager.SelectSubTopo | ( | ObjectId | id, |
EnumShapeFilter | type, | ||
long | topoIdx | ||
) |
根据拓扑ID选择子图元
id | 对象ID |
type | 类型 |
topoIdx | 拓扑索引 |
boolean SceneManager.SelectSubTopo | ( | ObjectId | id, |
EnumShapeFilter | type, | ||
long | topoIdx, | ||
IntersectPoint | pPoint | ||
) |
根据拓扑ID选择子图元
id | 对象ID |
type | 类型 |
topoIdx | 拓扑索引 |