AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
Public 成员函数 | 所有成员列表
AnyCAD::API::ArrowWidget类 参考

The arrow widget. 更多...

#include <APIArrowWidget.h>

类 AnyCAD::API::ArrowWidget 继承关系图:
AnyCAD::API::GroupSceneNode AnyCAD::API::SceneNode AnyCAD::API::Object

Public 成员函数

Vector3 GetDirection () const
 
void SetDirection (const Vector3 &dir)
 
Vector3 GetPosition () const
 
void SetPosition (const Vector3 &pos)
 
Vector3 GetScale () const
 
void SetScale (const Vector3 &scale)
 
void SetTransform (const Vector3 &pos, const Vector3 &rotate)
 
void SetTransform (const Vector3 &position, const Vector3 &direction, const Vector3 &scale)
 
- Public 成员函数 继承自 AnyCAD::API::GroupSceneNode
void AddNode (const SceneNode &pNode)
 
void RemoveNode (const ElementId &nId)
 
SceneNode FindNode (const ElementId &nId) const
 
SceneNode GetNodeByIndex (long idx) const
 
SceneNodeIterator NewSceneNodeIterator () const
 
long GetCount () const
 
void ClearAll ()
 
void SetAnimator (const Animator &pAnimator)
 
Animator GetAnimator () const
 
virtual void ResetShapeFilter (int nFilter)
 
- Public 成员函数 继承自 AnyCAD::API::SceneNode
ElementId GetId () const
 
void SetId (const ElementId &nId)
 
String GetName () const
 
void SetName (const String &name)
 
void SetVisible (bool bVisible)
 
bool IsVisible () const
 
bool IsPickable () const
 
void SetPickable (bool enabled)
 
bool IsFilterable () const
 
void SetFilterable (bool enabled)
 
bool IsFixedSize () const
 
void SetFixedSize (bool enabled)
 
void SetBBox (const AABox &bbox)
 
AABox GetBBox () const
 
void SetTransform (const Matrix4 &trf)
 
Matrix4 GetTransform () const
 
void SetPointStyle (const PointStyle &pointStyle)
 
PointStyle GetPointStyle () const
 
void SetLineStyle (const LineStyle &lineStyle)
 
LineStyle GetLineStyle () const
 
void SetFaceStyle (const FaceStyle &faceStyle)
 
FaceStyle GetFaceStyle () const
 
void SetRenderOrder (int order)
 
int GetRenderOrder () const
 
- Public 成员函数 继承自 AnyCAD::API::Object
String GetObjectClassId () const
 
StringList ListParentClassIds () const
 

详细描述

The arrow widget.

TODO:

成员函数说明

Vector3 AnyCAD::API::ArrowWidget::GetDirection ( ) const

Get the direction.

返回
dir the arrow direction.
Vector3 AnyCAD::API::ArrowWidget::GetPosition ( ) const

Get the Position.

返回
the position.
Vector3 AnyCAD::API::ArrowWidget::GetScale ( ) const

Get the Scale.

返回
the Scale.
void AnyCAD::API::ArrowWidget::SetDirection ( const Vector3 dir)

Set the direction.

参数
dirthe arrow direction.
void AnyCAD::API::ArrowWidget::SetPosition ( const Vector3 pos)

Set the Position.

参数
posthe arrow position.
void AnyCAD::API::ArrowWidget::SetScale ( const Vector3 scale)

Set the Scale.

参数
scalethe arrow scale.
void AnyCAD::API::ArrowWidget::SetTransform ( const Vector3 pos,
const Vector3 rotate 
)

Set the location and direction.

参数
posthe position.
rotatethe rotation by Euler Angles XYZ.
void AnyCAD::API::ArrowWidget::SetTransform ( const Vector3 position,
const Vector3 direction,
const Vector3 scale 
)

Set the location, direction and scale.

参数
positionthe position.
directionthe direction.
scalethe scale.

该类的文档由以下文件生成: