15#define OSG_CAMERAVIEW 1
The core osg library provides the basic scene graph classes such as Nodes, State and Drawables,...
Definition AlphaFunc:19
Matrixd Matrix
Definition Matrix:27
void setFieldOfViewMode(FieldOfViewMode mode)
Set the field of view mode - controlling how the field of view of the camera is constrained by the Ca...
Definition CameraView:74
FieldOfViewMode
Definition CameraView:67
@ HORIZONTAL
Definition CameraView:69
@ VERTICAL
Definition CameraView:70
@ UNCONSTRAINED
Definition CameraView:68
virtual ~CameraView()
Definition CameraView:94
Quat _attitude
Definition CameraView:97
void setFocalLength(double focalLength)
Set the focal length of the camera.
Definition CameraView:82
void setFieldOfView(double fieldOfView)
Set the field of view.
Definition CameraView:61
FieldOfViewMode _fieldOfViewMode
Definition CameraView:99
double _focalLength
Definition CameraView:100
double getFocalLength() const
Get the focal length of the camera.
Definition CameraView:85
void setAttitude(const Quat &quat)
Set the attitude of the camera view.
Definition CameraView:52
virtual bool computeLocalToWorldMatrix(Matrix &matrix, NodeVisitor *nv) const
void setPosition(const Vec3d &pos)
Set the position of the camera view.
Definition CameraView:46
Vec3d _position
Definition CameraView:96
double _fieldOfView
Definition CameraView:98
const Quat & getAttitude() const
Get the attitude of the camera view.
Definition CameraView:55
double getFieldOfView() const
Get the field of view.
Definition CameraView:64
virtual bool computeWorldToLocalMatrix(Matrix &matrix, NodeVisitor *nv) const
FieldOfViewMode getFieldOfViewMode() const
Get the field of view mode.
Definition CameraView:77
CameraView(const CameraView &pat, const CopyOp ©op=CopyOp::SHALLOW_COPY)
Definition CameraView:34
META_Node(osg, CameraView)
const Vec3d & getPosition() const
Get the position of the camera view.
Definition CameraView:49
Copy Op(erator) used to control whether shallow or deep copy is used during copy construction and clo...
Definition CopyOp:41
@ SHALLOW_COPY
Definition CopyOp:47
void dirtyBound()
Mark this node's bounding sphere dirty.
Visitor for type safe operations on osg::Nodes.
Definition NodeVisitor:82
A quaternion class.
Definition Quat:30
General purpose double triple for use as vertices, vectors and normals.
Definition Vec3d:30
#define OSG_EXPORT
Definition Export:39