3 #ifndef _APICameraOperator_H_
4 #define _APICameraOperator_H_
8 namespace AnyCAD{
namespace API
28 void Rotation (
int cx,
int cy) ;
35 void Rotation (
int cx,
int cy,
const Vector3& pivot) ;
41 void Pan (
int cx,
int cy) ;
46 void Zoom (
int delta) ;
52 void Zoom (
int delta,
const Vector2& mousePos) ;
57 float GetZoomFactor ()
const;
61 void SetZoomFactor (
const float& factor) ;
67 void FitAll (
const AABox& bbox,
const float& scale) ;
77 #endif //_APICameraOperator_H_
AABox.
Definition: APIMath.h:281
Point or vector.
Definition: APIMath.h:16
#define DECLARE_APIOBJECT(className)
Definition: APIObjectDef.h:10
Point or vector.
Definition: APIMath.h:37
The camera operator.
Definition: APICameraOperator.h:19