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);
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_;
195 #endif // ACG_CameraVis_NODE_HH bool invert()
matrix inversion (returns true on success)
bool showFrustum()
Returns true if camera renders its whole frustum.
Namespace providing different geometric functions concerning angles.
const ACG::GLMatrixd & modelview() const
Returns the modelview matrix.
Class to define the vertex input layout.
QString getEncodedView()
Return encoded view string.
void setModelView(ACG::GLMatrixd _modelView)
set model view matrix
const ACG::GLMatrixd & projection() const
Returns the projection matrix.
void setProjection(ACG::GLMatrixd _projection)
Set projection Matrix ( used to calculate frustum ... )
ACG::SceneGraph::CameraNode CameraNode
Simple Name for CameraNode.
PickTarget
What target to use for picking.
void showFrustum(bool _showFrustum)
Set if viewing frustum should be shown or not.
void setEncodedView(QString _encodedView)
Return encoded view string.