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

The axis widget. 更多...

#include <APIAxesWidget.h>

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

Public 成员函数

void SetCoordinate (const Coordinate3 &coord)
 
Coordinate3 GetCoordinate () const
 
Vector3 GetPosition () const
 
void ShowArrow (int nType, bool bShow)
 
void ShowArrows (bool bShow)
 
void SetArrowText (int nType, const String &text)
 
void EnableLeftHandCS ()
 
- 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 axis widget.

TODO:

成员函数说明

void AnyCAD::API::AxesWidget::EnableLeftHandCS ( )

Set to left hand coordinate system.

Coordinate3 AnyCAD::API::AxesWidget::GetCoordinate ( ) const

Get the local coordinate.

返回
the coordinate
Vector3 AnyCAD::API::AxesWidget::GetPosition ( ) const

Get the position.

返回
the position
void AnyCAD::API::AxesWidget::SetArrowText ( int  nType,
const String text 
)

Set the text of the arrow.

参数
nTypeby EnumAxesType.
textthe text string.
void AnyCAD::API::AxesWidget::SetCoordinate ( const Coordinate3 coord)

Set the local coordinate

参数
coordthe coordinate
void AnyCAD::API::AxesWidget::ShowArrow ( int  nType,
bool  bShow 
)

Show the arrow.

参数
nTypeby EnumAxesType.
bShowtrue to show.
void AnyCAD::API::AxesWidget::ShowArrows ( bool  bShow)

Show all the arrow.

参数
bShowtrue to show.,

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