3 #ifndef _APIRenderableInstance_H_
4 #define _APIRenderableInstance_H_
10 namespace AnyCAD{
namespace API
12 class TransformAnimator;
45 void SetOrientation(
const Vector3& _Orientation);
56 void SetPosition(
const Vector3& _Position);
67 void SetScale(
const Vector3& _Scale);
78 void SetRotation(
const Vector3& _Rotation);
89 void SetLocalMatrix(
const Matrix4& _LocalMatrix);
100 void SetNameVisible(
bool _NameVisible);
105 bool GetNameVisible()
const;
111 void SetMoveable(
bool _Moveable);
116 bool GetMoveable()
const;
122 void SetPickable(
bool _Pickable);
127 bool GetPickable()
const;
133 void SetNameColor(
const ColorValue& _NameColor);
144 void SetSize (
const Vector3& var) ;
166 AABox GetBBox ()
const;
171 AABox GetTypeBBox ()
const;
186 virtual bool EnableAnimationByName (
const String& strName) ;
210 #endif //_APIRenderableInstance_H_
AABox.
Definition: APIMath.h:281
Matrix4.
Definition: APIMath.h:248
The element that can hold geometry.
Definition: APIRenderableElement.h:22
std::string String
Definition: APIString.h:10
The base class for the TypeElement instance. The default direction is UNIT_Y; the rotation use Eular ...
Definition: APIRenderableInstance.h:25
动画操作器
Definition: APIAnimator.h:17
The id.
Definition: APIElementId.h:16
场景的节点的基类。
Definition: APISceneNode.h:22
Point or vector.
Definition: APIMath.h:37
#define DECLARE_APISUPER(className, super)
Definition: APIObjectDef.h:33
节点组。
Definition: APIGroupSceneNode.h:22
Color Value.
Definition: APIMath.h:183
double Real
Definition: APIMath.h:7