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

The element that can hold geometry. 更多...

#include <APIGeomElement.h>

类 AnyCAD::API::GeomElement 继承关系图:
AnyCAD::API::RenderableElement AnyCAD::API::PropertiesElement AnyCAD::API::Element AnyCAD::API::Object AnyCAD::API::CurveElement AnyCAD::API::PointElement AnyCAD::API::SplineElement AnyCAD::API::SurfaceElement AnyCAD::API::ArcElement AnyCAD::API::CircleElement AnyCAD::API::EllipseElement AnyCAD::API::LineElement AnyCAD::API::PolygonElement AnyCAD::API::TrimmedCurveElement AnyCAD::API::GridPointElement AnyCAD::API::TieSplineElement AnyCAD::API::PlannarElement

Public 成员函数

void SetVisibleShapeType (int _VisibleShapeType)
 
int GetVisibleShapeType () const
 
void SetGeometry (const TopoShape &geometry)
 
TopoShape GetGeometry () 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 element that can hold geometry.

TODO:

成员函数说明

TopoShape AnyCAD::API::GeomElement::GetGeometry ( ) const

Get the geometry.

返回
the TopoShape.
virtual SceneNode AnyCAD::API::GeomElement::GetSceneNode ( ) const
virtual

Get the visual node.

返回
the SceneNode.

重载 AnyCAD::API::RenderableElement .

int AnyCAD::API::GeomElement::GetVisibleShapeType ( ) const

Get VisibleShapeType.

返回
the VisibleShapeType.
void AnyCAD::API::GeomElement::SetGeometry ( const TopoShape geometry)

Set the geometry.

参数
geometrythe TopoShape.
void AnyCAD::API::GeomElement::SetVisibleShapeType ( int  _VisibleShapeType)

Set the VisibleShapeType.

参数
_VisibleShapeTypethe VisibleShapeType.

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