Public Member Functions | Private Attributes | List of all members
next_best_view::SingleCameraModelFilter Class Reference

SingleCameraModelFilter class implements the frustum filter for a single camera. More...

#include <SingleCameraModelFilter.hpp>

Inheritance diagram for next_best_view::SingleCameraModelFilter:
Inheritance graph
[legend]

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 IndicesPtrgetIndices ()
 
virtual ObjectPointCloudPtrgetInputCloud ()
 
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...
 

Detailed Description

SingleCameraModelFilter class implements the frustum filter for a single camera.

Author
Ralf Schleicher
Date
2014
Version
1.0

Definition at line 33 of file SingleCameraModelFilter.hpp.

Constructor & Destructor Documentation

next_best_view::SingleCameraModelFilter::SingleCameraModelFilter ( const SimpleVector3  pivotPointOffset = SimpleVector3())

constructs a new camera model filter object.

Parameters
pivotPointOffsetthe offset to the pivot point

Definition at line 26 of file SingleCameraModelFilter.cpp.

next_best_view::SingleCameraModelFilter::~SingleCameraModelFilter ( )
virtual

destructs the single camera model filter object.

Definition at line 29 of file SingleCameraModelFilter.cpp.

Member Function Documentation

void next_best_view::SingleCameraModelFilter::doFiltering ( IndicesPtr indicesPtr)
virtual

Does the filtering on the indices.

Parameters
indicesPtrthe indices

Implements next_best_view::GeneralFilter.

Definition at line 31 of file SingleCameraModelFilter.cpp.

SimpleVector3 next_best_view::SingleCameraModelFilter::getPivotPointOffset ( )
Returns
the offset to the pivot point

Definition at line 60 of file SingleCameraModelFilter.cpp.

viz::MarkerArrayPtr next_best_view::SingleCameraModelFilter::getVisualizationMarkerArray ( uint32_t &  sequence,
double  lifetime = 30.0 
)
virtual

returns a array of markers containing the visualization of the camera frustum.

Parameters
sequence[in / out] a number used for unique identifying of the markers in the array
lifetimethe lifetime of each marker
Returns
the visualization for that camera filter setting

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.

Parameters
pivotPointOffset[in] the pivot point offset.

Definition at line 56 of file SingleCameraModelFilter.cpp.

Member Data Documentation

FrustumCullingPtr next_best_view::SingleCameraModelFilter::mFrustumCullingPtr
private

shared pointer to the frustum culling object.

Definition at line 43 of file SingleCameraModelFilter.hpp.

SimpleVector3 next_best_view::SingleCameraModelFilter::mPivotPointOffset
private

the offset to the pivot point.

Definition at line 38 of file SingleCameraModelFilter.hpp.


The documentation for this class was generated from the following files:


asr_next_best_view
Author(s): Aumann Florian, Borella Jocelyn, Heller Florian, Meißner Pascal, Schleicher Ralf, Stöckle Patrick, Stroh Daniel, Trautmann Jeremias, Walter Milena, Wittenbeck Valerij
autogenerated on Thu Jan 9 2020 07:20:18