SingleCameraModelFilter class implements the frustum filter for a single camera. More...
#include <SingleCameraModelFilter.hpp>
Public Member Functions | |
void | doFiltering (IndicesPtr &indicesPtr) |
Does the filtering on the indices. More... | |
SimpleVector3 | getPivotPointOffset () |
viz::MarkerArrayPtr | getVisualizationMarkerArray (uint32_t &sequence, double lifetime=30.0) |
returns a array of markers containing the visualization of the camera frustum. More... | |
void | setPivotPointOffset (const SimpleVector3 &pivotPointOffset) |
sets the offset between the pivot point and the actual camera position. More... | |
SingleCameraModelFilter (const SimpleVector3 pivotPointOffset=SimpleVector3()) | |
constructs a new camera model filter object. More... | |
virtual | ~SingleCameraModelFilter () |
destructs the single camera model filter object. More... | |
Public Member Functions inherited from next_best_view::CameraModelFilter | |
CameraModelFilter () | |
constructs a new camera model filter. More... | |
double | getFarClippingPlane () |
double | getHorizontalFOV () |
double | getNearClippingPlane () |
SimpleQuaternion | getOrientation () |
SimpleVector3 | getPivotPointPosition () |
virtual float | getRecognizerCosts (std::string objectType) |
double | getVerticalFOV () |
bool | haveParametersChanged () |
void | setFarClippingPlane (double fcp) |
sets the far clipping plane. fcp the far clipping distance More... | |
void | setHorizontalFOV (double fovDegrees) |
sets the horizontal field of view. More... | |
void | setNearClippingPlane (double ncp) |
sets the near clipping plane. More... | |
void | setOrientation (const SimpleQuaternion &orientation) |
sets the orientation of the pivot point More... | |
void | setParametersChanged (bool value) |
void | setPivotPointPose (const SimpleVector3 &position, const SimpleQuaternion &orientation) |
sets the pose of the pivot point. More... | |
void | setPivotPointPosition (const SimpleVector3 &position) |
sets the position of the pivot point. More... | |
virtual void | setRecognizerCosts (float recognizerCosts, std::string objectType) |
void | setVerticalFOV (double fovDegrees) |
sets the vertical field of view. More... | |
virtual | ~CameraModelFilter ()=0 |
destructs the camera model filter. More... | |
Public Member Functions inherited from next_best_view::GeneralFilter | |
void | filter (IndicesPtr &indicesPtr) |
Applies the filter on the indices. More... | |
GeneralFilter () | |
void | setPostFilter (GeneralFilterPtr &filterPtr) |
Adding a post filter to this filter. More... | |
void | setPreFilter (GeneralFilterPtr &filterPtr) |
Adding a pre filter to this filter. More... | |
Public Member Functions inherited from next_best_view::CommonClass | |
CommonClass () | |
constructor More... | |
virtual IndicesPtr & | getIndices () |
virtual ObjectPointCloudPtr & | getInputCloud () |
virtual void | setIndices (const IndicesPtr &indicesPtr) |
setting the shared pointer to the active indices of the point cloud. More... | |
virtual void | setInputCloud (const ObjectPointCloudPtr &pointCloudPtr) |
setting the input cloud. More... | |
virtual | ~CommonClass ()=0 |
pure virtual deconstructor. More... | |
Private Attributes | |
FrustumCullingPtr | mFrustumCullingPtr |
shared pointer to the frustum culling object. More... | |
SimpleVector3 | mPivotPointOffset |
the offset to the pivot point. More... | |
Additional Inherited Members | |
Static Protected Member Functions inherited from next_best_view::CameraModelFilter | |
static SimpleMatrix4 | getCameraPoseMatrix (const SimpleVector3 &position, const SimpleQuaternion &orientation) |
convenience function to get a camera pose matrix. More... | |
SingleCameraModelFilter class implements the frustum filter for a single camera.
Definition at line 33 of file SingleCameraModelFilter.hpp.
next_best_view::SingleCameraModelFilter::SingleCameraModelFilter | ( | const SimpleVector3 | pivotPointOffset = SimpleVector3() | ) |
constructs a new camera model filter object.
pivotPointOffset | the offset to the pivot point |
Definition at line 26 of file SingleCameraModelFilter.cpp.
|
virtual |
destructs the single camera model filter object.
Definition at line 29 of file SingleCameraModelFilter.cpp.
|
virtual |
Does the filtering on the indices.
indicesPtr | the indices |
Implements next_best_view::GeneralFilter.
Definition at line 31 of file SingleCameraModelFilter.cpp.
SimpleVector3 next_best_view::SingleCameraModelFilter::getPivotPointOffset | ( | ) |
Definition at line 60 of file SingleCameraModelFilter.cpp.
|
virtual |
returns a array of markers containing the visualization of the camera frustum.
sequence | [in / out] a number used for unique identifying of the markers in the array |
lifetime | the lifetime of each marker |
Implements next_best_view::CameraModelFilter.
Definition at line 64 of file SingleCameraModelFilter.cpp.
void next_best_view::SingleCameraModelFilter::setPivotPointOffset | ( | const SimpleVector3 & | pivotPointOffset | ) |
sets the offset between the pivot point and the actual camera position.
pivotPointOffset | [in] the pivot point offset. |
Definition at line 56 of file SingleCameraModelFilter.cpp.
|
private |
shared pointer to the frustum culling object.
Definition at line 43 of file SingleCameraModelFilter.hpp.
|
private |
the offset to the pivot point.
Definition at line 38 of file SingleCameraModelFilter.hpp.