AnyCAD Rapid API 2023
Help you to create a better world!
|
Public 成员函数 | |
BrepSceneNode (TopoShape shape, MaterialInstance faceMaterial, MaterialInstance edgeMaterial, double deflection, boolean optimized) | |
BrepSceneNode (TopoShape shape, MaterialInstance faceMaterial, MaterialInstance edgeMaterial, double deflection) | |
BrepSceneNode (GRepShape shape) | |
GRepShape | GetShape () |
void | SetSubShapePickable (boolean pickable) |
boolean | GetSubShapePickable () |
void | SetDisplayFilter (EnumShapeFilter filter) |
EnumShapeFilter | GetDisplayFilter () |
TopoShape | GetTopoShape () |
void | SetTopoShape (TopoShape shape) |
void | SetShape (GRepShape shape) |
long | GetFaceCount () |
void | SetFaceMaterial (long idx, MaterialInstance material) |
void | SetFaceMaterial (MaterialInstance material) |
long | GetEdgeCount () |
void | SetEdgeMaterial (long idx, MaterialInstance material) |
void | SetEdgeMaterial (MaterialInstance material) |
boolean | ComputeLineDistances () |
void | ReComputeBoundingBox () |
SceneNode | Clone () |
Public 成员函数 继承自 GeneralSceneNode | |
boolean | IsDocumentNode () |
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 BrepSceneNode | Cast (GfxObject obj) |
static BrepSceneNode | Create (TopoShape shape, MaterialInstance faceMaterial, MaterialInstance edgeMaterial, double deflection, boolean optimized) |
static BrepSceneNode | Create (TopoShape shape, MaterialInstance faceMaterial, MaterialInstance edgeMaterial, double deflection) |
static BrepSceneNode | Create (TopoShape shape, MaterialInstance faceMaterial, MaterialInstance edgeMaterial) |
static BrepSceneNode | Create (TopoShape shape, double deflection, boolean optimized) |
static BrepSceneNode | Create (TopoShape shape, double deflection) |
static BrepSceneNode | Create (TopoShape shape) |
static GeneralSceneNode | Cast (GfxObject obj) |
static SceneNode | Cast (GfxObject obj) |
<>
BrepSceneNode
The bridge between BufferGeometry and TopShape.
|
static |
重载 GeneralSceneNode .
boolean BrepSceneNode.ComputeLineDistances | ( | ) |
计算线的距离,如果存在
|
static |
创建对象
shape | TopoShape对象 |
faceMaterial | 面材质,可以为null |
edgeMaterial | 边材质,可以为null |
|
static |
创建对象
shape | TopoShape对象 |
faceMaterial | 面材质,可以为null |
edgeMaterial | 边材质,可以为null |
deflection | 精度 |
|
static |
创建对象
shape | TopoShape对象 |
faceMaterial | 面材质,可以为null |
edgeMaterial | 边材质,可以为null |
deflection | 精度 |
optimized | 是否优化 |
EnumShapeFilter BrepSceneNode.GetDisplayFilter | ( | ) |
得到显示过滤器
long BrepSceneNode.GetEdgeCount | ( | ) |
获取边的个数
long BrepSceneNode.GetFaceCount | ( | ) |
设置面的个数
TopoShape BrepSceneNode.GetTopoShape | ( | ) |
获取几何对象
void BrepSceneNode.ReComputeBoundingBox | ( | ) |
重新计算包围盒
void BrepSceneNode.SetDisplayFilter | ( | EnumShapeFilter | filter | ) |
设置显示过滤器
filter | 过滤器 |
void BrepSceneNode.SetEdgeMaterial | ( | long | idx, |
MaterialInstance | material | ||
) |
设置边的材质
idx | 索引 |
material | 材质 |
void BrepSceneNode.SetEdgeMaterial | ( | MaterialInstance | material | ) |
设置边材质
material | 材质 |
void BrepSceneNode.SetFaceMaterial | ( | long | idx, |
MaterialInstance | material | ||
) |
设置指定面的材质
idx | 面的索引 |
material | 材质 |
void BrepSceneNode.SetFaceMaterial | ( | MaterialInstance | material | ) |
设置整体的面材质
material | 材质 |
void BrepSceneNode.SetShape | ( | GRepShape | shape | ) |
设置离散面片对象
shape | 离散对象 |
void BrepSceneNode.SetTopoShape | ( | TopoShape | shape | ) |
重新设置拓扑几何对象
shape |