15 #ifndef __vtkMRMLNRRDStorageNode_h 16 #define __vtkMRMLNRRDStorageNode_h 31 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
37 virtual
void ReadXMLAttributes( const
char** atts) VTK_OVERRIDE;
41 virtual
void WriteXML(ostream& of,
int indent) VTK_OVERRIDE;
49 virtual const
char* GetNodeTagName() VTK_OVERRIDE {
return "NRRDStorage";}
53 vtkGetMacro(CenterImage,
int);
54 vtkSetMacro(CenterImage,
int);
58 int ParseDiffusionInformation(
vtkTeemNRRDReader *reader,vtkDoubleArray *grad,vtkDoubleArray *bvalues);
70 std::
string GetCompressionParameterFastest() {
return "gzip_fastest"; };
86 virtual
void InitializeSupportedWriteFileTypes() VTK_OVERRIDE;
89 virtual
int ReadDataInternal(
vtkMRMLNode *refNode) VTK_OVERRIDE;
92 virtual
int WriteDataInternal(
vtkMRMLNode *refNode) VTK_OVERRIDE;
95 int GetGzipCompressionLevelFromCompressionParameter(
std::
string parameter);
virtual void ConfigureForDataExchange()
virtual void InitializeSupportedReadFileTypes()
void operator=(const vtkMRMLStorageNode &)
MRML node for representing a volume storage.
virtual vtkMRMLNode * CreateNodeInstance() VTK_OVERRIDE=0
Create instance of the default node. Like New only virtual.
std::string GetCompressionParameterMinimumSize()
Compression parameter corresponding to maximum compression (slow)
std::string GetCompressionParameterNormal()
Compression parameter corresponding to normal compression.
A superclass for other storage nodes.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Reads Nearly Raw Raster Data files.
Abstract Superclass for all specific types of MRML nodes.
virtual bool CanReadInReferenceNode(vtkMRMLNode *refNode)=0