20 #ifndef CAMERAMODELFILTER_HPP_ 21 #define CAMERAMODELFILTER_HPP_ 24 #include <visualization_msgs/MarkerArray.h> 27 namespace viz = visualization_msgs;
78 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
121 mParametersChanged = value;
void setOrientation(const SimpleQuaternion &orientation)
sets the orientation of the pivot point
void setPivotPointPosition(const SimpleVector3 &position)
sets the position of the pivot point.
bool mParametersChanged
marks if the parameters changed.
void setFarClippingPlane(double fcp)
sets the far clipping plane. fcp the far clipping distance
double mFOVX
the horizontal field of view.
SimpleVector3 getPivotPointPosition()
Eigen::Matrix< Precision, 3, 1 > SimpleVector3
void setNearClippingPlane(double ncp)
sets the near clipping plane.
virtual viz::MarkerArrayPtr getVisualizationMarkerArray(uint32_t &sequence, double lifetime=30.0)=0
returns a array of markers containing the visualization of the camera frustum.
static SimpleMatrix4 getCameraPoseMatrix(const SimpleVector3 &position, const SimpleQuaternion &orientation)
convenience function to get a camera pose matrix.
SimpleQuaternion mPivotPointOrientation
the orientation of the pivot point.
double getHorizontalFOV()
double getNearClippingPlane()
SimpleVector3 mPivotPointPosition
the position of the pivot point.
double mNcp
the near clipping distance.
this namespace contains all generally usable classes.
void setPivotPointPose(const SimpleVector3 &position, const SimpleQuaternion &orientation)
sets the pose of the pivot point.
CameraModelFilter()
constructs a new camera model filter.
CameraModelFilter class was built to generalize the filtering for different camera models...
double mFcp
the far clipping distance.
virtual ~CameraModelFilter()=0
destructs the camera model filter.
SimpleQuaternion getOrientation()
boost::shared_ptr< CameraModelFilter > CameraModelFilterPtr
Definition for the shared pointer type of the class.
Eigen::Matrix< Precision, 4, 4 > SimpleMatrix4
double mFOVY
the vertical field of view.
void setParametersChanged(bool value)
Eigen::Quaternion< Precision > SimpleQuaternion
virtual void setRecognizerCosts(float recognizerCosts, std::string objectType)
double getFarClippingPlane()
void setVerticalFOV(double fovDegrees)
sets the vertical field of view.
virtual float getRecognizerCosts(std::string objectType)
void setHorizontalFOV(double fovDegrees)
sets the horizontal field of view.
bool haveParametersChanged()
float recognizerCosts
The time it takes to recognize an object (in seconds)