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

The grid element. 更多...

#include <APIGridElement.h>

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

Public 成员函数

void SetReferenceId (const ElementId &_ReferenceId)
 
ElementId GetReferenceId () const
 
void SetGridSystemId (const ElementId &_GridSystemId)
 
ElementId GetGridSystemId () const
 
void SetDirection (const EnumAxesDirection &_Direction)
 
EnumAxesDirection GetDirection () const
 
void SetOffsetIndex (int _OffsetIndex)
 
int GetOffsetIndex () const
 
void SetItemLabelsU (const ElementIdList &_ItemLabelsU)
 
ElementIdList GetItemLabelsU () const
 
void SetItemLabelsV (const ElementIdList &_ItemLabelsV)
 
ElementIdList GetItemLabelsV () const
 
void CreateItemLabels ()
 
ElementIdList GetGridItemsU () const
 
ElementIdList GetGridItemsV () const
 
virtual void CollectSnapTargets (const SnapTargetCollector &collector) const
 
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 element.

TODO:

成员函数说明

virtual void AnyCAD::API::GridElement::CollectSnapTargets ( const SnapTargetCollector collector) const
virtual

collect the snap targets.

参数
collectorthe collector.
void AnyCAD::API::GridElement::CreateItemLabels ( )

Create labels for the grid items.

EnumAxesDirection AnyCAD::API::GridElement::GetDirection ( ) const

Get Direction.

返回
the Direction.
ElementIdList AnyCAD::API::GridElement::GetGridItemsU ( ) const

Get grid items in U direction.

返回
the GridItemElement ids.
ElementIdList AnyCAD::API::GridElement::GetGridItemsV ( ) const

Get grid items in V direction.

返回
the GridItemElement ids.
ElementId AnyCAD::API::GridElement::GetGridSystemId ( ) const

Get GridSystemId.

返回
the GridSystemId.
ElementIdList AnyCAD::API::GridElement::GetItemLabelsU ( ) const

Get ItemLabelsU.

返回
the ItemLabelsU.
ElementIdList AnyCAD::API::GridElement::GetItemLabelsV ( ) const

Get ItemLabelsV.

返回
the ItemLabelsV.
int AnyCAD::API::GridElement::GetOffsetIndex ( ) const

Get OffsetIndex.

返回
the OffsetIndex.
ElementId AnyCAD::API::GridElement::GetReferenceId ( ) const

Get ReferenceId.

返回
the ReferenceId.
virtual SceneNode AnyCAD::API::GridElement::GetSceneNode ( ) const
virtual

Get the visual node.

返回
the SceneNode.

重载 AnyCAD::API::RenderableElement .

void AnyCAD::API::GridElement::SetDirection ( const EnumAxesDirection _Direction)

Set the Direction.

参数
_Directionthe Direction.
void AnyCAD::API::GridElement::SetGridSystemId ( const ElementId _GridSystemId)

Set the GridSystemId.

参数
_GridSystemIdthe GridSystemId.
void AnyCAD::API::GridElement::SetItemLabelsU ( const ElementIdList _ItemLabelsU)

Set the ItemLabelsU.

参数
_ItemLabelsUthe ItemLabelsU.
void AnyCAD::API::GridElement::SetItemLabelsV ( const ElementIdList _ItemLabelsV)

Set the ItemLabelsV.

参数
_ItemLabelsVthe ItemLabelsV.
void AnyCAD::API::GridElement::SetOffsetIndex ( int  _OffsetIndex)

Set the OffsetIndex.

参数
_OffsetIndexthe OffsetIndex.
void AnyCAD::API::GridElement::SetReferenceId ( const ElementId _ReferenceId)

Set the ReferenceId.

参数
_ReferenceIdthe ReferenceId.

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