Public Member Functions | Private Member Functions | Private Attributes
mesh_filter_test::MeshFilterTest< Type > Class Template Reference

List of all members.

Public Member Functions

 MeshFilterTest (unsigned width=500, unsigned height=500, double near=0.5, double far=5.0, double shadow=0.1, double epsilon=1e-7)
void setMeshDistance (double distance)
void test ()

Private Member Functions

 BOOST_STATIC_ASSERT_MSG (FilterTraits< Type >::FILTER_GL_TYPE!=GL_ZERO,"Only \"float\" and \"unsigned short int\" ""are allowed.")
shapes::Mesh createMesh (double z) const
void getGroundTruth (unsigned int *labels, float *depth) const
bool transform_callback (MeshHandle handle, Affine3d &transform) const

Private Attributes

double distance_
const double epsilon_
const double far_
MeshFilter< StereoCameraModelfilter_
MeshHandle handle_
const unsigned int height_
const double near_
vector< Typesensor_data_
StereoCameraModel::Parameters sensor_parameters_
const double shadow_
const unsigned int width_

Detailed Description

template<typename Type>
class mesh_filter_test::MeshFilterTest< Type >

Definition at line 80 of file mesh_filter_test.cpp.


Constructor & Destructor Documentation

template<typename Type >
mesh_filter_test::MeshFilterTest< Type >::MeshFilterTest ( unsigned  width = 500,
unsigned  height = 500,
double  near = 0.5,
double  far = 5.0,
double  shadow = 0.1,
double  epsilon = 1e-7 
)

Definition at line 112 of file mesh_filter_test.cpp.


Member Function Documentation

template<typename Type >
mesh_filter_test::MeshFilterTest< Type >::BOOST_STATIC_ASSERT_MSG ( FilterTraits< Type >::FILTER_GL_TYPE!  = GL_ZERO,
"Only \"float\" and \"unsigned short int\" ""are allowed."   
) [private]
template<typename Type >
shapes::Mesh mesh_filter_test::MeshFilterTest< Type >::createMesh ( double  z) const [private]

Definition at line 149 of file mesh_filter_test.cpp.

template<typename Type >
void mesh_filter_test::MeshFilterTest< Type >::getGroundTruth ( unsigned int *  labels,
float *  depth 
) const [private]

Definition at line 242 of file mesh_filter_test.cpp.

template<typename Type >
void mesh_filter_test::MeshFilterTest< Type >::setMeshDistance ( double  distance) [inline]

Definition at line 89 of file mesh_filter_test.cpp.

template<typename Type >
void mesh_filter_test::MeshFilterTest< Type >::test ( )

Definition at line 213 of file mesh_filter_test.cpp.

template<typename Type >
bool mesh_filter_test::MeshFilterTest< Type >::transform_callback ( MeshHandle  handle,
Affine3d &  transform 
) const [private]

Definition at line 204 of file mesh_filter_test.cpp.


Member Data Documentation

template<typename Type >
double mesh_filter_test::MeshFilterTest< Type >::distance_ [private]

Definition at line 108 of file mesh_filter_test.cpp.

template<typename Type >
const double mesh_filter_test::MeshFilterTest< Type >::epsilon_ [private]

Definition at line 103 of file mesh_filter_test.cpp.

template<typename Type >
const double mesh_filter_test::MeshFilterTest< Type >::far_ [private]

Definition at line 101 of file mesh_filter_test.cpp.

Definition at line 105 of file mesh_filter_test.cpp.

template<typename Type >
MeshHandle mesh_filter_test::MeshFilterTest< Type >::handle_ [private]

Definition at line 106 of file mesh_filter_test.cpp.

template<typename Type >
const unsigned int mesh_filter_test::MeshFilterTest< Type >::height_ [private]

Definition at line 99 of file mesh_filter_test.cpp.

template<typename Type >
const double mesh_filter_test::MeshFilterTest< Type >::near_ [private]

Definition at line 100 of file mesh_filter_test.cpp.

template<typename Type >
vector<Type> mesh_filter_test::MeshFilterTest< Type >::sensor_data_ [private]

Definition at line 107 of file mesh_filter_test.cpp.

Definition at line 104 of file mesh_filter_test.cpp.

template<typename Type >
const double mesh_filter_test::MeshFilterTest< Type >::shadow_ [private]

Definition at line 102 of file mesh_filter_test.cpp.

template<typename Type >
const unsigned int mesh_filter_test::MeshFilterTest< Type >::width_ [private]

Definition at line 98 of file mesh_filter_test.cpp.


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


perception
Author(s): Ioan Sucan , Jon Binney , Suat Gedikli
autogenerated on Mon Apr 23 2018 10:25:10