17 #ifndef mitkSceneIOTestScenarioProvider_h_included
18 #define mitkSceneIOTestScenarioProvider_h_included
79 const std::string &_referenceArchiveFilename,
80 bool _isReferenceLoadable,
81 double _comparisonPrecision);
95 ScenarioList m_Scenarios;
103 void AddScenario(
const std::string &key,
106 const std::string &referenceArchiveFilename = std::string(),
107 bool isReferenceLoadable =
false,
108 double comparisionPrecision =
mitk::eps);
183 #define AddSaveAndRestoreScenario(name) AddScenario(#name, &mitk::SceneIOTestScenarioProvider::name, true);
201 if (
sizeof(
size_t) != 4)
Class for storing surfaces (vtkPolyData).
std::string referenceArchiveFilename
Absolute filename with a reference .mitk file.
#define AddSaveAndRestoreScenario(name)
bool referenceArchiveLoadable
Do we expect that the reference can be loaded without errors?
itk::SmartPointer< Self > Pointer
DataCollection - Class to facilitate loading/accessing structured data.
std::string key
Description / ID.
SceneIOTestScenarioProvider()
double comparisonPrecision
Precision used for floating point comparisons after save/load cycle (eps).
DataStorage::Pointer BuildDataStorage() const
Construct the DataStorage for this scenario.
Data structure which stores a set of points. Superclass of mitk::Mesh.
DataStorage::Pointer(SceneIOTestScenarioProvider::* BuilderMethodPointer)() const
Typedef for type BuilderMethodPointer which is function pointer to member of SceneIOTestScenarioProvi...
Image class for storing images.
Data class only having a BaseGeometry but not containing any specific data.
Scenario(const std::string &_key, const SceneIOTestScenarioProvider *_scenarioProvider, SceneIOTestScenarioProvider::BuilderMethodPointer _providerMethod, bool _isSerializable, const std::string &_referenceArchiveFilename, bool _isReferenceLoadable, double _comparisonPrecision)
MITKCORE_EXPORT const ScalarType eps
bool serializable
Do we expect that this can be stored in a .mitk file?
Provides DataStorages that serve as test scenarios.
std::vector< Scenario > ScenarioList
List of Scenarios.
ScenarioList GetAllScenarios() const
Returns all registered scenarios.