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

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.

成员函数说明

◆ Cast()

static BrepSceneNode BrepSceneNode.Cast ( GfxObject  obj)
static

重载 GeneralSceneNode .

◆ Clone()

SceneNode BrepSceneNode.Clone ( )

重载 SceneNode .

◆ ComputeLineDistances()

boolean BrepSceneNode.ComputeLineDistances ( )

计算线的距离,如果存在

返回
是否成功

◆ Create() [1/3]

static BrepSceneNode BrepSceneNode.Create ( TopoShape  shape,
MaterialInstance  faceMaterial,
MaterialInstance  edgeMaterial 
)
static

创建对象

参数
shapeTopoShape对象
faceMaterial面材质,可以为null
edgeMaterial边材质,可以为null


返回

◆ Create() [2/3]

static BrepSceneNode BrepSceneNode.Create ( TopoShape  shape,
MaterialInstance  faceMaterial,
MaterialInstance  edgeMaterial,
double  deflection 
)
static

创建对象

参数
shapeTopoShape对象
faceMaterial面材质,可以为null
edgeMaterial边材质,可以为null
deflection精度

返回

◆ Create() [3/3]

static BrepSceneNode BrepSceneNode.Create ( TopoShape  shape,
MaterialInstance  faceMaterial,
MaterialInstance  edgeMaterial,
double  deflection,
boolean  optimized 
)
static

创建对象

参数
shapeTopoShape对象
faceMaterial面材质,可以为null
edgeMaterial边材质,可以为null
deflection精度
optimized是否优化
返回

◆ GetDisplayFilter()

EnumShapeFilter BrepSceneNode.GetDisplayFilter ( )

得到显示过滤器

返回
过滤器

◆ GetEdgeCount()

long BrepSceneNode.GetEdgeCount ( )

获取边的个数

返回
个数

◆ GetFaceCount()

long BrepSceneNode.GetFaceCount ( )

设置面的个数

返回
面个数

◆ GetTopoShape()

TopoShape BrepSceneNode.GetTopoShape ( )

获取几何对象

返回
几何对象

◆ ReComputeBoundingBox()

void BrepSceneNode.ReComputeBoundingBox ( )

重新计算包围盒

◆ SetDisplayFilter()

void BrepSceneNode.SetDisplayFilter ( EnumShapeFilter  filter)

设置显示过滤器

参数
filter过滤器

◆ SetEdgeMaterial() [1/2]

void BrepSceneNode.SetEdgeMaterial ( long  idx,
MaterialInstance  material 
)

设置边的材质

参数
idx索引
material材质

◆ SetEdgeMaterial() [2/2]

void BrepSceneNode.SetEdgeMaterial ( MaterialInstance  material)

设置边材质

参数
material材质

◆ SetFaceMaterial() [1/2]

void BrepSceneNode.SetFaceMaterial ( long  idx,
MaterialInstance  material 
)

设置指定面的材质

参数
idx面的索引
material材质

◆ SetFaceMaterial() [2/2]

void BrepSceneNode.SetFaceMaterial ( MaterialInstance  material)

设置整体的面材质

参数
material材质

◆ SetShape()

void BrepSceneNode.SetShape ( GRepShape  shape)

设置离散面片对象

参数
shape离散对象

◆ SetTopoShape()

void BrepSceneNode.SetTopoShape ( TopoShape  shape)

重新设置拓扑几何对象

参数
shape