18#ifndef __vtkMRMLFileWriter_h
19#define __vtkMRMLFileWriter_h
35 void PrintSelf(ostream& os, vtkIndent indent)
override;
37 bool IsWriter()
const override {
return true; }
bool IsWriter() const override
Whether this writes rather than reads.
virtual bool CanWriteObject(vtkObject *object)
double ConfidenceForMatchingClass
void SetNodeClassName(const std::string &className)
void AddNodeClassName(const std::string &className)
virtual std::vector< std::string > GetNameFiltersForObject(vtkObject *object)
std::string GetNodeClassName() const
void SetNodeClassNames(const std::vector< std::string > &classNames)
The classes of nodes this writer is for.
virtual bool Write(vtkMRMLIOProperties *properties)
virtual double CanWriteObjectConfidence(vtkObject *object)
void SetWrittenNodeIDs(const std::vector< std::string > &nodeIDs)
void ClearWrittenNodeIDs()
std::vector< std::string > WrittenNodeIDs
std::vector< std::string > NodeClassNames
~vtkMRMLFileWriter() override
void PrintSelf(ostream &os, vtkIndent indent) override
const std::vector< std::string > & GetNodeClassNames() const
void AddWrittenNodeID(const std::string &nodeID)
const std::vector< std::string > & GetWrittenNodeIDs() const
The nodes the last Write wrote, by node ID.
static vtkMRMLFileWriter * New()