3 #ifndef _APISceneNode_H_
4 #define _APISceneNode_H_
10 namespace AnyCAD{
namespace API
48 void SetName (
const String& name) ;
54 void SetVisible (
bool bVisible) ;
59 bool IsVisible ()
const;
64 bool IsPickable ()
const;
70 void SetPickable (
bool enabled) ;
75 bool IsFilterable ()
const;
81 void SetFilterable (
bool enabled) ;
86 bool IsFixedSize ()
const;
92 void SetFixedSize (
bool enabled) ;
98 void SetBBox (
const AABox& bbox) ;
103 AABox GetBBox ()
const;
108 void SetTransform (
const Matrix4& trf) ;
119 void SetPointStyle (
const PointStyle& pointStyle) ;
130 void SetLineStyle (
const LineStyle& lineStyle) ;
141 void SetFaceStyle (
const FaceStyle& faceStyle) ;
151 void SetRenderOrder (
int order) ;
156 int GetRenderOrder ()
const;
161 virtual void ResetShapeFilter (
int nFilter) ;
165 #endif //_APISceneNode_H_
AABox.
Definition: APIMath.h:281
Matrix4.
Definition: APIMath.h:248
std::string String
Definition: APIString.h:10
The face style.
Definition: APIFaceStyle.h:21
The line/edge style.
Definition: APILineStyle.h:19
The id.
Definition: APIElementId.h:16
场景的节点的基类。
Definition: APISceneNode.h:22
平台基类
Definition: APIObject.h:17
The point style.
Definition: APIPointStyle.h:19
#define DECLARE_APISUPER(className, super)
Definition: APIObjectDef.h:33