12 #ifndef SPATIALMOVEMENT_H_6014714286
13 #define SPATIALMOVEMENT_H_6014714286
15 #include <Carna/Carna.h>
58 const std::unique_ptr< Details > pimpl;
62 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
87 ,
unsigned int frameX,
unsigned int frameY
127 bool update(
unsigned int frameX,
unsigned int frameY );
135 bool hasMovedSpatial()
const;
152 #endif // SPATIALMOVEMENT_H_6014714286
Defines Carna::base::math namespace and CARNA_FOR_VECTOR3UI.
Handles the displacement of a Spatial object in a drag-&-drop like manner.
Represents a spatial scene element. It's location is determined relatively to another spatial that is...
const Camera & cam
References the camera that the frame was rendered with.
Eigen::Matrix< float, 4, 4, Eigen::ColMajor > Matrix4f
Defines matrix.
Defines a rendering viewport. The viewport is a property of the current OpenGL context.
Represents the point-of-view and defines the 3D to 2D projection.
#define NON_COPYABLE
Features class it is placed in as non-copyable.
const math::Matrix4f inverseProjection
Holds the inverse of the projection matrix that the frame was rendered with.
const Viewport & viewport
References the root viewport that the frame was rendered with.