OpenWalnut
1.4.0
|
Dummy class for testing the abstract class WGrid. More...
#include <WGrid_test.h>
Public Member Functions | |
Dummy (size_t size) | |
Standard constructor of Dummy class. | |
virtual WBoundingBox | getBoundingBox () const |
Returns dummy bounding box. | |
Dummy () | |
Standard constructor of Dummy class. | |
Dummy (char dimension) | |
Constructor of Dummy class for testing. | |
virtual | ~Dummy () |
Destructor. | |
virtual size_t | size () const |
Get the size. | |
virtual size_t | rawSize () const |
Get the raw size. | |
virtual double | getScalarDouble (size_t) const |
Get the value. | |
virtual WValue< double > | getWValueDouble (size_t) const |
virtual double | getMinimumValue () const |
This method returns the smallest value in the valueset. | |
virtual double | getMaximumValue () const |
This method returns the largest value in the valueset. | |
Friends | |
class | WGridTest |
class | WValueSetBaseTest |
Dummy class for testing the abstract class WGrid.
Dummy class for testing the abstract class WValueSetBase.
Definition at line 38 of file WGrid_test.h.
Dummy::Dummy | ( | size_t | size | ) | [inline, explicit] |
Standard constructor of Dummy class.
size | number of positions |
Definition at line 47 of file WGrid_test.h.
Dummy::Dummy | ( | ) | [inline] |
Standard constructor of Dummy class.
Definition at line 44 of file WValueSetBase_test.h.
Dummy::Dummy | ( | char | dimension | ) | [inline, explicit] |
Constructor of Dummy class for testing.
dimension | tensor dimension |
Definition at line 53 of file WValueSetBase_test.h.
virtual Dummy::~Dummy | ( | ) | [inline, virtual] |
Destructor.
Definition at line 61 of file WValueSetBase_test.h.
virtual WBoundingBox Dummy::getBoundingBox | ( | ) | const [inline, virtual] |
Returns dummy bounding box.
Implements WGrid.
Definition at line 57 of file WGrid_test.h.
virtual double Dummy::getMaximumValue | ( | ) | const [inline, virtual] |
This method returns the largest value in the valueset.
It does not handle vectors, matrices and so on well. It simply returns the largest value in the data array. This is especially useful for texture scaling or other statistic tools (histograms).
Implements WValueSetBase.
Definition at line 120 of file WValueSetBase_test.h.
virtual double Dummy::getMinimumValue | ( | ) | const [inline, virtual] |
This method returns the smallest value in the valueset.
It does not handle vectors, matrices and so on well. It simply returns the smallest value in the data array. This is especially useful for texture scaling or other statistic tools (histograms).
Implements WValueSetBase.
Definition at line 109 of file WValueSetBase_test.h.
virtual double Dummy::getScalarDouble | ( | size_t | ) | const [inline, virtual] |
Get the value.
Implements WValueSetBase.
Definition at line 90 of file WValueSetBase_test.h.
virtual WValue< double > Dummy::getWValueDouble | ( | size_t | ) | const [inline, virtual] |
virtual size_t Dummy::rawSize | ( | ) | const [inline, virtual] |
Get the raw size.
Implements WValueSetBase.
Definition at line 80 of file WValueSetBase_test.h.
virtual size_t Dummy::size | ( | ) | const [inline, virtual] |
Get the size.
Reimplemented from WGrid.
Definition at line 70 of file WValueSetBase_test.h.
Referenced by getWValueDouble(), and WGridTest::testSize().