18#ifndef __vtkMRMLNodeWriter_h
19#define __vtkMRMLNodeWriter_h
24#include <vtkSmartPointer.h>
37 void PrintSelf(ostream& os, vtkIndent indent)
override;
42 static vtkSmartPointer<vtkMRMLNodeWriter>
CreateNodeWriter(
const std::string& description,
43 const std::string& fileType,
44 const std::vector<std::string>& nodeClassNames,
45 bool supportUseCompression =
true);
std::vector< std::string > GetNameFiltersForObject(vtkObject *object) override
void GetOptionsDescription(vtkMRMLIOOptionsDescription *description) override
static vtkMRMLNodeWriter * New()
~vtkMRMLNodeWriter() override
virtual vtkMRMLNode * GetNodeByID(const std::string &id)
Get node from the scene by node ID.
bool Write(vtkMRMLIOProperties *properties) override
bool SupportUseCompression
bool WriteNode(vtkMRMLStorableNode *node, vtkMRMLIOProperties *properties)
bool CanWriteObject(vtkObject *object) override
Return true if the object is a storable node of any of the node class names.
void PrintSelf(ostream &os, vtkIndent indent) override
static vtkSmartPointer< vtkMRMLNodeWriter > CreateNodeWriter(const std::string &description, const std::string &fileType, const std::vector< std::string > &nodeClassNames, bool supportUseCompression=true)
Abstract Superclass for all specific types of MRML nodes.
MRML node to represent a 3D surface model.