Public Member Functions | Protected Attributes | List of all members
CompareMeshVsPrimitive Class Reference
Inheritance diagram for CompareMeshVsPrimitive:
Inheritance graph
[legend]

Public Member Functions

 CompareMeshVsPrimitive ()
 
void SetUp () override
 
void TearDown () override
 
 ~CompareMeshVsPrimitive () override
 

Protected Attributes

std::vector< bodies::Body * > loaded_convex_meshes
 
std::vector< shapes::Mesh * > loaded_meshes
 
random_numbers::RandomNumberGenerator rng
 
std::vector< bodies::Body * > shape_convex_meshes
 
std::vector< shapes::Mesh * > shape_meshes
 

Detailed Description

\Author Jorge Santos Test fixture that generates meshes from the primitive shapes SPHERE, CYLINDER, CONE and BOX, and load their twins from STL files. All the following tests are intended to verify that both procedures produce equivalent meshes, and particularly that changes related to issue #38 don't break mesh loading.

Definition at line 50 of file test_loaded_meshes.cpp.

Constructor & Destructor Documentation

◆ CompareMeshVsPrimitive()

CompareMeshVsPrimitive::CompareMeshVsPrimitive ( )
inline

Definition at line 85 of file test_loaded_meshes.cpp.

◆ ~CompareMeshVsPrimitive()

CompareMeshVsPrimitive::~CompareMeshVsPrimitive ( )
inlineoverride

Definition at line 113 of file test_loaded_meshes.cpp.

Member Function Documentation

◆ SetUp()

void CompareMeshVsPrimitive::SetUp ( )
inlineoverride

Definition at line 89 of file test_loaded_meshes.cpp.

◆ TearDown()

void CompareMeshVsPrimitive::TearDown ( )
inlineoverride

Definition at line 101 of file test_loaded_meshes.cpp.

Member Data Documentation

◆ loaded_convex_meshes

std::vector<bodies::Body*> CompareMeshVsPrimitive::loaded_convex_meshes
protected

Definition at line 124 of file test_loaded_meshes.cpp.

◆ loaded_meshes

std::vector<shapes::Mesh*> CompareMeshVsPrimitive::loaded_meshes
protected

Definition at line 121 of file test_loaded_meshes.cpp.

◆ rng

random_numbers::RandomNumberGenerator CompareMeshVsPrimitive::rng
protected

Definition at line 118 of file test_loaded_meshes.cpp.

◆ shape_convex_meshes

std::vector<bodies::Body*> CompareMeshVsPrimitive::shape_convex_meshes
protected

Definition at line 123 of file test_loaded_meshes.cpp.

◆ shape_meshes

std::vector<shapes::Mesh*> CompareMeshVsPrimitive::shape_meshes
protected

Definition at line 120 of file test_loaded_meshes.cpp.


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


geometric_shapes
Author(s): Ioan Sucan , Gil Jones
autogenerated on Sun Oct 1 2023 02:40:16