60#ifndef ACG_CAMERAVIS_NODE_HH
61#define ACG_CAMERAVIS_NODE_HH
66#include <ACG/Scenegraph/BaseNode.hh>
67#include <ACG/Scenegraph/DrawModes.hh>
68#include <ACG/GL/GLPrimitives.hh>
69#include <ACG/GL/globjects.hh>
73#include <ACG/Math/QuaternionT.hh>
106 void boundingBox(
Vec3d& _bbMin,
Vec3d& _bbMax)
override;
130 OM_DEPRECATED(
"setSize() is redundant, because it is already defined by the projection matrix.")
131 void setSize(
int _w,
int _h) { }
137 OM_DEPRECATED(
"setFarPlane() is redundant, because it is already defined by the projection matrix.")
138 void setFarPlane(
double _far) { }
141 OM_DEPRECATED(
"setNearPlane() is redundant, because it is already defined by the projection matrix.")
142 void setNearPlane(
double _near) { }
148 void showFrustum(
bool _showFrustum) { showFrustum_ = _showFrustum; }
158 void updateBoundingBoxes();
161 void updateFrustumWS();
178 std::vector<Vec4f> vboData_;
183 QString encodedView_;
ACG::SceneGraph::CameraNode CameraNode
Simple Name for CameraNode.
bool invert()
matrix inversion (returns true on success)
void setProjection(ACG::GLMatrixd _projection)
Set projection Matrix ( used to calculate frustum ... )
QString getEncodedView()
Return encoded view string.
const ACG::GLMatrixd & modelview() const
Returns the modelview matrix.
void showFrustum(bool _showFrustum)
Set if viewing frustum should be shown or not.
void setModelView(ACG::GLMatrixd _modelView)
set model view matrix
bool showFrustum()
Returns true if camera renders its whole frustum.
const ACG::GLMatrixd & projection() const
Returns the projection matrix.
void setEncodedView(QString _encodedView)
Return encoded view string.
Class to define the vertex input layout.
#define OM_DEPRECATED(msg)
define OM_SUPPRESS_DEPRECATED to suppress deprecated code warnings
PickTarget
What target to use for picking.
Namespace providing different geometric functions concerning angles.