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

Public Member Functions

 CompareMeshVsPrimitive ()
void SetUp () override
void TearDown () override
 ~CompareMeshVsPrimitive () override
- Public Member Functions inherited from testing::Test
virtual ~Test ()

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

Additional Inherited Members

- Public Types inherited from testing::Test
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
- Static Public Member Functions inherited from testing::Test
static bool HasFailure ()
static bool HasFatalFailure ()
static bool HasNonfatalFailure ()
static void RecordProperty (const std::string &key, const std::string &value)
static void RecordProperty (const std::string &key, int value)
static void SetUpTestCase ()
static void TearDownTestCase ()
- Protected Member Functions inherited from testing::Test
 Test ()

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 ( )

Definition at line 85 of file test_loaded_meshes.cpp.

◆ ~CompareMeshVsPrimitive()

CompareMeshVsPrimitive::~CompareMeshVsPrimitive ( )

Definition at line 113 of file test_loaded_meshes.cpp.

Member Function Documentation

◆ SetUp()

void CompareMeshVsPrimitive::SetUp ( )

Reimplemented from testing::Test.

Definition at line 89 of file test_loaded_meshes.cpp.

◆ TearDown()

void CompareMeshVsPrimitive::TearDown ( )

Reimplemented from testing::Test.

Definition at line 101 of file test_loaded_meshes.cpp.

Member Data Documentation

◆ loaded_convex_meshes

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

Definition at line 124 of file test_loaded_meshes.cpp.

◆ loaded_meshes

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

Definition at line 121 of file test_loaded_meshes.cpp.

◆ rng

random_numbers::RandomNumberGenerator CompareMeshVsPrimitive::rng

Definition at line 118 of file test_loaded_meshes.cpp.

◆ shape_convex_meshes

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

Definition at line 123 of file test_loaded_meshes.cpp.

◆ shape_meshes

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

Definition at line 120 of file test_loaded_meshes.cpp.

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

Author(s): Ioan Sucan , Gil Jones
autogenerated on Fri Apr 1 2022 02:40:31