The grid Line Node, which hold the header. -since R2015UR2. 更多...
#include <APIGridLineNode.h>
Public 成员函数 | |
void | SetLine (const Vector3 &start, const Vector3 &end) |
void | SetShowHead (bool bShow) |
void | SetStartPt (const Vector3 &pt) |
Vector3 | GetStartPt () const |
void | SetEndPt (const Vector3 &pt) |
Vector3 | GetEndPt () const |
void | SetHeadText (const String &text) |
void | Update () |
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 grid Line Node, which hold the header. -since R2015UR2.
TODO:
Vector3 AnyCAD::API::GridLineNode::GetEndPt | ( | ) | const |
Get the end point.
Vector3 AnyCAD::API::GridLineNode::GetStartPt | ( | ) | const |
Get the start point.
void AnyCAD::API::GridLineNode::SetEndPt | ( | const Vector3 & | pt | ) |
Set end point.
pt | the end point. |
void AnyCAD::API::GridLineNode::SetHeadText | ( | const String & | text | ) |
Set the head text
text | the string. |
Set line points.
start | the start point. |
end | the end point. |
void AnyCAD::API::GridLineNode::SetShowHead | ( | bool | bShow | ) |
Set if to show the value text.
bShow | if true the text is visible. |
void AnyCAD::API::GridLineNode::SetStartPt | ( | const Vector3 & | pt | ) |
Set start point.
pt | the start point. |
void AnyCAD::API::GridLineNode::Update | ( | ) |
Update the grid line.