AnyCAD Rapid API 2024
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 SetFaceVisible (long idx, boolean visible)
 
boolean GetFaceVisible (long idx)
 
void SetFaceMaterial (long idx, MaterialInstance material)
 
void SetFaceMaterialByIndex (long idx, MaterialInstance material)
 
void SetFaceMaterial (MaterialInstance material)
 
void SetFaceMaterialByAll (MaterialInstance material)
 
void SetFaceColor (long idx, Vector3 color)
 
Vector3 GetFaceColor (long idx)
 
void SetColor (Vector3 color)
 
Vector3 GetColor ()
 
long GetEdgeCount ()
 
void SetEdgeVisible (long idx, boolean visible)
 
boolean GetEdgeVisible (long idx)
 
void SetEdgeMaterial (long idx, MaterialInstance material)
 
void SetEdgeMaterialByIndex (long idx, MaterialInstance material)
 
void SetEdgeMaterial (MaterialInstance material)
 
void SetEdgeMaterialByAll (MaterialInstance material)
 
void ReComputeBoundingBox ()
 
SceneNode Clone ()
 
- 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 ()
 
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 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 BrepSceneNode AddNode (Scene scene, TopoShape shape, double deflection, boolean optimized)
 

详细描述

<>
BrepSceneNode

The bridge between BufferGeometry and TopShape.

成员函数说明

◆ Cast()

static BrepSceneNode BrepSceneNode.Cast ( GfxObject obj)
static

重载 GeneralSceneNode .

◆ Clone()

SceneNode BrepSceneNode.Clone ( )

重载 SceneNode .

◆ Create() [1/6]

static BrepSceneNode BrepSceneNode.Create ( TopoShape shape)
static

创建对象

参数
shapeTopoShape对象


返回

◆ Create() [2/6]

static BrepSceneNode BrepSceneNode.Create ( TopoShape shape,
double deflection )
static

创建对象

参数
shapeTopoShape对象
deflection精度

返回

◆ Create() [3/6]

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

创建对象

参数
shapeTopoShape对象
deflection精度
optimized是否优化
返回

◆ Create() [4/6]

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

创建对象

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


返回

◆ Create() [5/6]

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

创建对象

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

返回

◆ Create() [6/6]

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 ( )

获取边的个数

返回
个数

◆ GetEdgeVisible()

boolean BrepSceneNode.GetEdgeVisible ( long idx)

判断边是否可见

参数
idx边的索引
返回
true可见

◆ GetFaceCount()

long BrepSceneNode.GetFaceCount ( )

设置面的个数

返回
面个数

◆ GetFaceVisible()

boolean BrepSceneNode.GetFaceVisible ( long idx)

判断面是否可见

参数
idx面的索引
返回
true可见

◆ GetTopoShape()

TopoShape BrepSceneNode.GetTopoShape ( )

获取几何对象

返回
几何对象

◆ ReComputeBoundingBox()

void BrepSceneNode.ReComputeBoundingBox ( )

重新计算包围盒

◆ SetColor()

void BrepSceneNode.SetColor ( Vector3 color)

全部覆盖

参数
color

◆ 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材质

◆ SetEdgeVisible()

void BrepSceneNode.SetEdgeVisible ( long idx,
boolean visible )

设置某个边的可见性

参数
idx边的索引
visible是否可见

◆ SetFaceColor()

void BrepSceneNode.SetFaceColor ( long idx,
Vector3 color )

设置指定面的颜色

参数
idx面的索引
color颜色

◆ SetFaceMaterial() [1/2]

void BrepSceneNode.SetFaceMaterial ( long idx,
MaterialInstance material )

设置指定面的材质

参数
idx面的索引
material材质

◆ SetFaceMaterial() [2/2]

void BrepSceneNode.SetFaceMaterial ( MaterialInstance material)

设置整体的面材质

参数
material材质

◆ SetFaceVisible()

void BrepSceneNode.SetFaceVisible ( long idx,
boolean visible )

设置某个面的可见性

参数
idx面的索引
visible是否可见

◆ SetShape()

void BrepSceneNode.SetShape ( GRepShape shape)

设置离散面片对象

参数
shape离散对象

◆ SetTopoShape()

void BrepSceneNode.SetTopoShape ( TopoShape shape)

重新设置拓扑几何对象

参数
shape