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

The grid item element. 更多...

#include <APIGridItemElement.h>

类 AnyCAD::API::GridItemElement 继承关系图:
AnyCAD::API::RenderableElement AnyCAD::API::PropertiesElement AnyCAD::API::Element AnyCAD::API::Object

Public 成员函数

void SetGridSystemId (const ElementId &_GridSystemId)
 
ElementId GetGridSystemId () const
 
void SetItemDirection (const EnumAxesDirection &_ItemDirection)
 
EnumAxesDirection GetItemDirection () const
 
void SetItemIndexU (int _ItemIndexU)
 
int GetItemIndexU () const
 
void SetItemIndexV (int _ItemIndexV)
 
int GetItemIndexV () const
 
GridLabelElement AddLable (int position)
 
virtual SceneNode GetSceneNode () const
 
- Public 成员函数 继承自 AnyCAD::API::RenderableElement
void SetVisible (bool _Visible)
 
bool GetVisible () const
 
void SetStandalone (bool _Standalone)
 
bool GetStandalone () const
 
void SetStyleId (const ElementId &_StyleId)
 
ElementId GetStyleId () const
 
bool IsVisible () const
 
- Public 成员函数 继承自 AnyCAD::API::PropertiesElement
void AddParameter (ParameterId paramId, const ParameterValue &pParameter)
 
ParameterValue RemoveParameter (ParameterId paramId)
 
void AddParameterUI (ParameterId paramId, const ParameterUI &pParameterUI)
 
ParameterUI GetParameterUI (ParameterId paramId) const
 
ParameterUI RemoveParameterUI (ParameterId paramId)
 
ParameterUISet GetParameterUISet () const
 
virtual ParameterValue GetParameterValue (ParameterId paramId) const
 
virtual bool SetParameterValue (ParameterId paramId, const ParameterValue &pValue)
 
- Public 成员函数 继承自 AnyCAD::API::Element
ElementId GetId () const
 
String GetName () const
 
void SetName (const String &strName)
 
String GetCategory () const
 
void SetCategory (const String &category)
 
ParameterUISet GetSystemParameterUISet () const
 
Document GetOwnerDocument () const
 
- Public 成员函数 继承自 AnyCAD::API::Object
String GetObjectClassId () const
 
StringList ListParentClassIds () const
 

详细描述

The grid item element.

TODO:

成员函数说明

GridLabelElement AnyCAD::API::GridItemElement::AddLable ( int  position)

Add Label for the

参数
positionthe position. 0: Start 1: End.
返回
the GridLableElement.
ElementId AnyCAD::API::GridItemElement::GetGridSystemId ( ) const

Get GridSystemId.

返回
the GridSystemId.
EnumAxesDirection AnyCAD::API::GridItemElement::GetItemDirection ( ) const

Get ItemDirection.

返回
the ItemDirection.
int AnyCAD::API::GridItemElement::GetItemIndexU ( ) const

Get ItemIndexU.

返回
the ItemIndexU.
int AnyCAD::API::GridItemElement::GetItemIndexV ( ) const

Get ItemIndexV.

返回
the ItemIndexV.
virtual SceneNode AnyCAD::API::GridItemElement::GetSceneNode ( ) const
virtual

Get the visual node.

返回
the SceneNode.

重载 AnyCAD::API::RenderableElement .

void AnyCAD::API::GridItemElement::SetGridSystemId ( const ElementId _GridSystemId)

Set the GridSystemId.

参数
_GridSystemIdthe GridSystemId.
void AnyCAD::API::GridItemElement::SetItemDirection ( const EnumAxesDirection _ItemDirection)

Set the ItemDirection.

参数
_ItemDirectionthe ItemDirection.
void AnyCAD::API::GridItemElement::SetItemIndexU ( int  _ItemIndexU)

Set the ItemIndexU.

参数
_ItemIndexUthe ItemIndexU.
void AnyCAD::API::GridItemElement::SetItemIndexV ( int  _ItemIndexV)

Set the ItemIndexV.

参数
_ItemIndexVthe ItemIndexV.

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