vtkMRMLNRRDStorageNode Class Reference

#include <vtkMRMLNRRDStorageNode.h>

Inheritance diagram for vtkMRMLNRRDStorageNode:
vtkMRMLStorageNode vtkMRMLNode vtkObject

List of all members.

Public Member Functions

virtual void Copy (vtkMRMLNode *node)
virtual vtkMRMLNodeCreateNodeInstance ()
virtual const charGetDefaultWriteFileExtension ()
virtual const charGetNodeTagName ()
virtual void InitializeSupportedWriteFileTypes ()
int ParseDiffusionInformation (vtkNRRDReader *reader, vtkDoubleArray *grad, vtkDoubleArray *bvalues)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void ProcessParentNode (vtkMRMLNode *parentNode)
virtual int ReadData (vtkMRMLNode *refNode)
virtual void ReadXMLAttributes (const char **atts)
virtual int SupportedFileType (const char *fileName)
 vtkGetMacro (CenterImage, int)
 vtkSetMacro (CenterImage, int)
 vtkTypeMacro (vtkMRMLNRRDStorageNode, vtkMRMLStorageNode)
virtual int WriteData (vtkMRMLNode *refNode)
virtual void WriteXML (ostream &of, int indent)

Static Public Member Functions

static vtkMRMLNRRDStorageNodeNew ()

Protected Member Functions

void operator= (const vtkMRMLNRRDStorageNode &)
 vtkMRMLNRRDStorageNode (const vtkMRMLNRRDStorageNode &)
 vtkMRMLNRRDStorageNode ()
 ~vtkMRMLNRRDStorageNode ()

Protected Attributes

int CenterImage

Constructor & Destructor Documentation

vtkMRMLNRRDStorageNode::vtkMRMLNRRDStorageNode (  )  [protected]

References CenterImage.

vtkMRMLNRRDStorageNode::~vtkMRMLNRRDStorageNode (  )  [protected]
vtkMRMLNRRDStorageNode::vtkMRMLNRRDStorageNode ( const vtkMRMLNRRDStorageNode  )  [protected]

Member Function Documentation

void vtkMRMLNRRDStorageNode::Copy ( vtkMRMLNode node  )  [virtual]

Copy the node's attributes to this object

Reimplemented from vtkMRMLStorageNode.

References CenterImage, vtkMRMLNode::EndModify(), and vtkMRMLNode::StartModify().

vtkMRMLNode * vtkMRMLNRRDStorageNode::CreateNodeInstance (  )  [virtual]

Create instance of the default node. Like New only virtual NOTE: Subclasses should implement this method

Implements vtkMRMLStorageNode.

References autoSlicerTracto2regions::ret.

virtual const char* vtkMRMLNRRDStorageNode::GetDefaultWriteFileExtension (  )  [inline, virtual]

Return a default file extension for writting

Reimplemented from vtkMRMLStorageNode.

virtual const char* vtkMRMLNRRDStorageNode::GetNodeTagName (  )  [inline, virtual]

Get node XML tag name (like Storage, Model)

Implements vtkMRMLStorageNode.

void vtkMRMLNRRDStorageNode::InitializeSupportedWriteFileTypes (  )  [virtual]

Initialize all the supported write file types

Reimplemented from vtkMRMLStorageNode.

References vtkMRMLStorageNode::SupportedWriteFileTypes.

vtkMRMLNRRDStorageNode * vtkMRMLNRRDStorageNode::New (  )  [static]
void vtkMRMLNRRDStorageNode::operator= ( const vtkMRMLNRRDStorageNode  )  [protected]

Reimplemented from vtkMRMLStorageNode.

int vtkMRMLNRRDStorageNode::ParseDiffusionInformation ( vtkNRRDReader reader,
vtkDoubleArray *  grad,
vtkDoubleArray *  bvalues 

Access the nrrd header fields to create a diffusion gradient table

References vtkNRRDReader::GetHeaderKeys(), vtkNRRDReader::GetHeaderValue(), New(), and ModifyHeader::tag.

Referenced by ReadData().

void vtkMRMLNRRDStorageNode::PrintSelf ( ostream &  os,
vtkIndent  indent 

Reimplemented from vtkMRMLStorageNode.

References CenterImage.

void vtkMRMLNRRDStorageNode::ProcessParentNode ( vtkMRMLNode parentNode  )  [virtual]

Description: Set dependencies between this node and the parent node when parsing XML file

References ReadData().

int vtkMRMLNRRDStorageNode::ReadData ( vtkMRMLNode refNode  )  [virtual]
void vtkMRMLNRRDStorageNode::ReadXMLAttributes ( const char **  atts  )  [virtual]

Read node attributes from XML file

Reimplemented from vtkMRMLStorageNode.

References CenterImage, vtkMRMLNode::EndModify(), and vtkMRMLNode::StartModify().

int vtkMRMLNRRDStorageNode::SupportedFileType ( const char fileName  )  [virtual]

Check to see if this storage node can handle the file type in the input string. If input string is null, check URI, then check FileName. Subclasses should implement this method.

Reimplemented from vtkMRMLStorageNode.

References vtkMRMLStorageNode::FileName, slicerget::name, and vtkMRMLStorageNode::URI.

vtkMRMLNRRDStorageNode::vtkGetMacro ( CenterImage  ,

Center image on read

vtkMRMLNRRDStorageNode::vtkSetMacro ( CenterImage  ,
vtkMRMLNRRDStorageNode::vtkTypeMacro ( vtkMRMLNRRDStorageNode  ,
int vtkMRMLNRRDStorageNode::WriteData ( vtkMRMLNode refNode  )  [virtual]

Write data from a referenced node NOTE: Subclasses should implement this method

Implements vtkMRMLStorageNode.

References vtkMRMLStorageNode::GetFullNameFromFileName(), vtkMRMLVolumeNode::GetIJKToRASMatrix(), mf, New(), and vtkMRMLStorageNode::StageWriteData().

void vtkMRMLNRRDStorageNode::WriteXML ( ostream &  of,
int  indent 
) [virtual]

Write this node's information to a MRML file in XML format.

Reimplemented from vtkMRMLStorageNode.

References CenterImage.

Member Data Documentation

The documentation for this class was generated from the following files:

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1