15 #ifndef __vtkMRMLNRRDStorageNode_h 16 #define __vtkMRMLNRRDStorageNode_h 31 void PrintSelf(ostream& os, vtkIndent indent)
override;
41 void WriteXML(ostream& of,
int indent)
override;
53 vtkGetMacro(CenterImage,
int);
54 vtkSetMacro(CenterImage,
int);
58 int ParseDiffusionInformation(
vtkTeemNRRDReader *reader,vtkDoubleArray *grad,vtkDoubleArray *bvalues);
95 int GetGzipCompressionLevelFromCompressionParameter(std::string parameter);
vtkMRMLNode * CreateNodeInstance() override=0
Create instance of the default node. Like New only virtual.
virtual int ReadDataInternal(vtkMRMLNode *refNode)
virtual void ConfigureForDataExchange()
virtual void InitializeSupportedReadFileTypes()
void operator=(const vtkMRMLStorageNode &)
MRML node for representing a volume storage.
void ReadXMLAttributes(const char **atts) override
Read node attributes from XML file
void Copy(vtkMRMLNode *node) override
Copy the node's attributes to this object
void PrintSelf(ostream &os, vtkIndent indent) override
std::string GetCompressionParameterMinimumSize()
Compression parameter corresponding to maximum compression (slow)
std::string GetCompressionParameterNormal()
Compression parameter corresponding to normal compression.
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
A superclass for other storage nodes.
virtual void InitializeSupportedWriteFileTypes()
Reads Nearly Raw Raster Data files.
const char * GetNodeTagName() override
Get node XML tag name (like Storage, Model)
virtual int WriteDataInternal(vtkMRMLNode *refNode)
Abstract Superclass for all specific types of MRML nodes.
std::string GetCompressionParameterFastest()
Compression parameter corresponding to minimum compression (fast)
virtual bool CanReadInReferenceNode(vtkMRMLNode *refNode)=0