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< StereoCameraModel > | filter_ |
MeshHandle | handle_ |
const unsigned int | height_ |
const double | near_ |
vector< Type > | sensor_data_ |
StereoCameraModel::Parameters | sensor_parameters_ |
const double | shadow_ |
const unsigned int | width_ |
Definition at line 80 of file mesh_filter_test.cpp.
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.
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] |
shapes::Mesh mesh_filter_test::MeshFilterTest< Type >::createMesh | ( | double | z | ) | const [private] |
Definition at line 149 of file mesh_filter_test.cpp.
void mesh_filter_test::MeshFilterTest< Type >::getGroundTruth | ( | unsigned int * | labels, |
float * | depth | ||
) | const [private] |
Definition at line 242 of file mesh_filter_test.cpp.
void mesh_filter_test::MeshFilterTest< Type >::setMeshDistance | ( | double | distance | ) | [inline] |
Definition at line 89 of file mesh_filter_test.cpp.
void mesh_filter_test::MeshFilterTest< Type >::test | ( | ) |
Definition at line 213 of file mesh_filter_test.cpp.
bool mesh_filter_test::MeshFilterTest< Type >::transform_callback | ( | MeshHandle | handle, |
Affine3d & | transform | ||
) | const [private] |
Definition at line 204 of file mesh_filter_test.cpp.
double mesh_filter_test::MeshFilterTest< Type >::distance_ [private] |
Definition at line 108 of file mesh_filter_test.cpp.
const double mesh_filter_test::MeshFilterTest< Type >::epsilon_ [private] |
Definition at line 103 of file mesh_filter_test.cpp.
const double mesh_filter_test::MeshFilterTest< Type >::far_ [private] |
Definition at line 101 of file mesh_filter_test.cpp.
MeshFilter<StereoCameraModel> mesh_filter_test::MeshFilterTest< Type >::filter_ [private] |
Definition at line 105 of file mesh_filter_test.cpp.
MeshHandle mesh_filter_test::MeshFilterTest< Type >::handle_ [private] |
Definition at line 106 of file mesh_filter_test.cpp.
const unsigned int mesh_filter_test::MeshFilterTest< Type >::height_ [private] |
Definition at line 99 of file mesh_filter_test.cpp.
const double mesh_filter_test::MeshFilterTest< Type >::near_ [private] |
Definition at line 100 of file mesh_filter_test.cpp.
vector<Type> mesh_filter_test::MeshFilterTest< Type >::sensor_data_ [private] |
Definition at line 107 of file mesh_filter_test.cpp.
StereoCameraModel::Parameters mesh_filter_test::MeshFilterTest< Type >::sensor_parameters_ [private] |
Definition at line 104 of file mesh_filter_test.cpp.
const double mesh_filter_test::MeshFilterTest< Type >::shadow_ [private] |
Definition at line 102 of file mesh_filter_test.cpp.
const unsigned int mesh_filter_test::MeshFilterTest< Type >::width_ [private] |
Definition at line 98 of file mesh_filter_test.cpp.