Serializes mitk::Surface for mitk::SceneIO.
More...
#include <mitkSurfaceSerializer.h>
Serializes mitk::Surface for mitk::SceneIO.
Writes the Surface object to a VTK XML PolyData file (.vtp) in the configured working directory using mitk::IOUtil. The filename is composed from a unique prefix and the filename hint.
- See also
- BaseDataSerializer, SceneIO, Surface
Definition at line 29 of file mitkSurfaceSerializer.h.
◆ SurfaceSerializer()
| mitk::SurfaceSerializer::SurfaceSerializer |
( |
| ) |
|
|
protected |
◆ ~SurfaceSerializer()
| mitk::SurfaceSerializer::~SurfaceSerializer |
( |
| ) |
|
|
overrideprotected |
◆ Clone()
| Pointer mitk::SurfaceSerializer::Clone |
( |
| ) |
const |
◆ mitkClassMacro()
◆ New()
| static Pointer mitk::SurfaceSerializer::New |
( |
| ) |
|
|
static |
◆ Serialize()
| std::string mitk::SurfaceSerializer::Serialize |
( |
| ) |
|
|
overridevirtual |
Serialize the Surface object to a .vtp file.
Casts the stored BaseData to mitk::Surface and writes it to disk in VTK XML PolyData format.
- Returns
- The relative filename of the created file, or an empty string on failure.
- Precondition
- The Data must be set and must be castable to mitk::Surface.
-
The WorkingDirectory must be set.
Reimplemented from mitk::BaseDataSerializer.
The documentation for this class was generated from the following file: