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

Public 成员函数

Vector3 GetOffset ()
 
GroupSceneNode GetNodes ()
 
Vector3 GetXDirection ()
 
void Initialize (Matrix4 frame)
 
void SetDragGrip (java.math.BigInteger id)
 
boolean BeginDrag ()
 
boolean Dragging (Ray pick)
 
void EndDrag ()
 
boolean SetValue (double val)
 
boolean Translate (float length)
 
boolean Rotate (float angle)
 
TransformWidget CloneTransformWidget ()
 
SceneNode Clone ()
 
- Public 成员函数 继承自 FrameWidget
Vector3 GetCenter ()
 
void SetCenter (Vector3 val)
 
float GetRadius ()
 
Vector3 GetDirection ()
 
double GetValue ()
 
- Public 成员函数 继承自 DraggableWidget
String GetName ()
 
void SetName (String val)
 
java.math.BigInteger GetDragGrip ()
 
Vector3 GetDragPosition ()
 
Matrix4 GetStartFrame ()
 
void SetStartFrame (Matrix4 val)
 
Matrix4 GetTargetFrame ()
 
Vector3 GetPosition ()
 
void BeforeRendering (ViewContext ctx)
 
boolean OnMouseDown (ViewContext ctx, InputEvent evt)
 
boolean OnMouseUp (ViewContext ctx, InputEvent evt)
 
boolean OnMouseMove (ViewContext ctx, InputEvent evt)
 
- Public 成员函数 继承自 GeneralSceneNode
boolean IsDocumentNode ()
 
- Public 成员函数 继承自 SceneNode
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 TransformWidget Cast (GfxObject obj)
 
static TransformWidget Create (float size)
 

详细描述

成员函数说明

◆ BeginDrag()

boolean TransformWidget.BeginDrag ( )

重载 DraggableWidget .

◆ Cast()

static TransformWidget TransformWidget.Cast ( GfxObject obj)
static

重载 FrameWidget .

◆ Clone()

SceneNode TransformWidget.Clone ( )

重载 SceneNode .

◆ Dragging()

boolean TransformWidget.Dragging ( Ray pick)

重载 DraggableWidget .

◆ EndDrag()

void TransformWidget.EndDrag ( )

重载 DraggableWidget .

◆ Initialize()

void TransformWidget.Initialize ( Matrix4 frame)

初始化

参数
frame对象的矩阵

重载 FrameWidget .

◆ SetDragGrip()

void TransformWidget.SetDragGrip ( java.math.BigInteger id)

重载 DraggableWidget .

◆ SetValue()

boolean TransformWidget.SetValue ( double val)

重载 FrameWidget .