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

Public 成员函数

 DocumentSceneNode (Document document, Viewer viewer, ObjectId dbViewId, boolean asViewport)
 
 DocumentSceneNode (Document document, Viewer viewer, ObjectId dbViewId)
 
Document GetDocument ()
 
Viewer GetViewer ()
 
void SetViewer (Viewer val)
 
ObjectId GetDBViewId ()
 
void SetDBViewId (ObjectId val)
 
boolean GetAsViewport ()
 
void SetDocument (Document doc, ObjectId viewId)
 
void ComputeBoundingBox ()
 
Element FindElement (ObjectId id)
 
TopoShape FindShape (ObjectId id)
 
TopoShape FindShapeById (ObjectId id)
 
TopoShape FindShape (PickedItem item)
 
TopoShape FindShapeByPicker (PickedItem item)
 
TopoShape FindSubShape (PickedItem item)
 
- Public 成员函数 继承自 GeneralSceneNode
boolean IsDocumentNode ()
 
- 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 ()
 
SceneNode Clone ()
 
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 DocumentSceneNode Cast (GfxObject obj)
 
static DocumentSceneNode Create (Document document, Viewer viewer, ObjectId dbViewId, boolean asViewport)
 
static DocumentSceneNode Create (Document document, Viewer viewer, ObjectId dbViewId)
 

详细描述

<>
DocumentSceneNode
文档对象在场景中的表达.

成员函数说明

◆ Cast()

static DocumentSceneNode DocumentSceneNode.Cast ( GfxObject obj)
static

重载 GeneralSceneNode .

◆ FindElement()

Element DocumentSceneNode.FindElement ( ObjectId id)

根据ID获取图元对象

返回
图元对象

◆ FindShape() [1/2]

TopoShape DocumentSceneNode.FindShape ( ObjectId id)

根据对象ID查找对应的拓扑几何对象

参数
idID
返回
拓扑几何对象

◆ FindShape() [2/2]

TopoShape DocumentSceneNode.FindShape ( PickedItem item)

根据选择信息获取拓扑几何对象

参数
item选择信息
返回
拓扑几何对象

◆ FindSubShape()

TopoShape DocumentSceneNode.FindSubShape ( PickedItem item)

根据选择信息获取子的拓扑几何对象

参数
item选择信息
返回
拓扑几何对象

◆ SetDocument()

void DocumentSceneNode.SetDocument ( Document doc,
ObjectId viewId )

设置文档

参数
doc文档
viewIdDbViewBase视图Id