OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
FixtureGrid.h
Go to the documentation of this file.
1#pragma once
2#include <gtest/gtest.h>
3#include <tuple>
4
5#include "Grid/Grid.h"
7
8typedef std::tuple<Alignment, int> gridSettings;
9
10class FixtureGrid : public testing::TestWithParam<gridSettings>
11{
12private:
13 Grid<float> * _grid = nullptr;
14 index_t _dofX = 0;
15 index_t _dofY = 0;
16 index_t _dofZ = 0;
17
18 void DeleteGrid();
19public:
21 DeleteGrid();
22 };
23
25 return _grid;
26 };
27
28 int GetIntrinsicVectorLength(Alignment activeAlignment) const;
29
30
31 void CreateAlignedGridSP(Alignment alignment, int dof);
32
33 const bool AllignmentIsSupported(Alignment alignment);
34 //ToDo: alignof
35};
36
Alignment
Definition Allignments.h:3
std::tuple< Alignment, int > gridSettings
Definition FixtureGrid.h:8
int64_t index_t
Definition SystemDependentDefines.h:13
Definition FixtureGrid.h:11
void CreateAlignedGridSP(Alignment alignment, int dof)
Definition FixtureGrid.cpp:30
Grid< float > * GetGrid3DSP()
Definition FixtureGrid.h:24
const bool AllignmentIsSupported(Alignment alignment)
Definition FixtureGrid.cpp:36
~FixtureGrid()
Definition FixtureGrid.h:20
int GetIntrinsicVectorLength(Alignment activeAlignment) const
Definition FixtureGrid.cpp:14
Definition Grid.h:15