vtkMRMLVolumeHeaderlessStorageNode Class Reference

#include <vtkMRMLVolumeHeaderlessStorageNode.h>

Inheritance diagram for vtkMRMLVolumeHeaderlessStorageNode:
vtkMRMLStorageNode vtkMRMLNode vtkObject

List of all members.

Public Member Functions

virtual void Copy (vtkMRMLNode *node)
virtual vtkMRMLNodeCreateNodeInstance ()
const charGetFileScalarTypeAsString ()
virtual const charGetNodeTagName ()
virtual void InitializeSupportedWriteFileTypes ()
void PrintSelf (ostream &os, vtkIndent indent)
virtual void ProcessParentNode (vtkMRMLNode *parentNode)
virtual int ReadData (vtkMRMLNode *refNode)
virtual void ReadXMLAttributes (const char **atts)
void SetFileScalarTypeAsString (const char *)
void SetFileScalarTypeToChar ()
void SetFileScalarTypeToDouble ()
void SetFileScalarTypeToFloat ()
void SetFileScalarTypeToInt ()
void SetFileScalarTypeToLong ()
void SetFileScalarTypeToShort ()
void SetFileScalarTypeToUnsignedChar ()
void SetFileScalarTypeToUnsignedInt ()
void SetFileScalarTypeToUnsignedLong ()
void SetFileScalarTypeToUnsignedShort ()
virtual int SupportedFileType (const char *fileName)
 vtkBooleanMacro (FileLittleEndian, int)
 vtkGetMacro (CenterImage, int)
 vtkGetMacro (FileLittleEndian, int)
 vtkGetMacro (FileNumberOfScalarComponents, int)
 vtkGetMacro (FileScalarType, int)
 vtkGetStringMacro (FileScanOrder)
 vtkGetVector3Macro (FileSpacing, double)
 vtkGetVector3Macro (FileDimensions, int)
 vtkSetMacro (CenterImage, int)
 vtkSetMacro (FileLittleEndian, int)
 vtkSetMacro (FileNumberOfScalarComponents, int)
 vtkSetMacro (FileScalarType, int)
 vtkSetStringMacro (FileScanOrder)
 vtkSetVector3Macro (FileSpacing, double)
 vtkSetVector3Macro (FileDimensions, int)
 vtkTypeMacro (vtkMRMLVolumeHeaderlessStorageNode, vtkMRMLStorageNode)
virtual int WriteData (vtkMRMLNode *refNode)
virtual void WriteXML (ostream &of, int indent)

Static Public Member Functions

static
vtkMRMLVolumeHeaderlessStorageNode
New ()

Protected Member Functions

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

Protected Attributes

int CenterImage
int FileDimensions [3]
int FileLittleEndian
int FileNumberOfScalarComponents
int FileScalarType
charFileScanOrder
double FileSpacing [3]
charWriteFileFormat

Constructor & Destructor Documentation

vtkMRMLVolumeHeaderlessStorageNode::vtkMRMLVolumeHeaderlessStorageNode (  )  [protected]
vtkMRMLVolumeHeaderlessStorageNode::~vtkMRMLVolumeHeaderlessStorageNode (  )  [protected]

References FileScanOrder.

vtkMRMLVolumeHeaderlessStorageNode::vtkMRMLVolumeHeaderlessStorageNode ( const vtkMRMLVolumeHeaderlessStorageNode  )  [protected]

Member Function Documentation

void vtkMRMLVolumeHeaderlessStorageNode::Copy ( vtkMRMLNode node  )  [virtual]
vtkMRMLNode * vtkMRMLVolumeHeaderlessStorageNode::CreateNodeInstance (  )  [virtual]

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

Implements vtkMRMLStorageNode.

References autoSlicerTracto2regions::ret.

const char * vtkMRMLVolumeHeaderlessStorageNode::GetFileScalarTypeAsString (  ) 

References FileScalarType.

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

Get node XML tag name (like Storage, Model)

Implements vtkMRMLStorageNode.

void vtkMRMLVolumeHeaderlessStorageNode::InitializeSupportedWriteFileTypes (  )  [virtual]

Initialize all the supported write file types

Reimplemented from vtkMRMLStorageNode.

References vtkMRMLNode::GetScene(), and vtkMRMLStorageNode::SupportedWriteFileTypes.

vtkMRMLVolumeHeaderlessStorageNode * vtkMRMLVolumeHeaderlessStorageNode::New (  )  [static]

Reimplemented from vtkMRMLStorageNode.

References autoSlicerTracto2regions::ret.

Referenced by ReadData(), and WriteData().

void vtkMRMLVolumeHeaderlessStorageNode::operator= ( const vtkMRMLVolumeHeaderlessStorageNode  )  [protected]

Reimplemented from vtkMRMLStorageNode.

void vtkMRMLVolumeHeaderlessStorageNode::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
void vtkMRMLVolumeHeaderlessStorageNode::ProcessParentNode ( vtkMRMLNode parentNode  )  [virtual]

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

References ReadData().

int vtkMRMLVolumeHeaderlessStorageNode::ReadData ( vtkMRMLNode refNode  )  [virtual]
void vtkMRMLVolumeHeaderlessStorageNode::ReadXMLAttributes ( const char **  atts  )  [virtual]
void vtkMRMLVolumeHeaderlessStorageNode::SetFileScalarTypeAsString ( const char type  ) 
void vtkMRMLVolumeHeaderlessStorageNode::SetFileScalarTypeToChar (  )  [inline]
void vtkMRMLVolumeHeaderlessStorageNode::SetFileScalarTypeToDouble (  )  [inline]
void vtkMRMLVolumeHeaderlessStorageNode::SetFileScalarTypeToFloat (  )  [inline]
void vtkMRMLVolumeHeaderlessStorageNode::SetFileScalarTypeToInt (  )  [inline]
void vtkMRMLVolumeHeaderlessStorageNode::SetFileScalarTypeToLong (  )  [inline]
void vtkMRMLVolumeHeaderlessStorageNode::SetFileScalarTypeToShort (  )  [inline]
void vtkMRMLVolumeHeaderlessStorageNode::SetFileScalarTypeToUnsignedChar (  )  [inline]
void vtkMRMLVolumeHeaderlessStorageNode::SetFileScalarTypeToUnsignedInt (  )  [inline]
void vtkMRMLVolumeHeaderlessStorageNode::SetFileScalarTypeToUnsignedLong (  )  [inline]
void vtkMRMLVolumeHeaderlessStorageNode::SetFileScalarTypeToUnsignedShort (  )  [inline]
int vtkMRMLVolumeHeaderlessStorageNode::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.

vtkMRMLVolumeHeaderlessStorageNode::vtkBooleanMacro ( FileLittleEndian  ,
int   
)
vtkMRMLVolumeHeaderlessStorageNode::vtkGetMacro ( CenterImage  ,
int   
)

Center image on read

vtkMRMLVolumeHeaderlessStorageNode::vtkGetMacro ( FileLittleEndian  ,
int   
)

Describes the order of bytes for each voxel. Little endian positions the least-significant byte on the rightmost end, and is true of data generated on a PC or SGI.

vtkMRMLVolumeHeaderlessStorageNode::vtkGetMacro ( FileNumberOfScalarComponents  ,
int   
)

The number of scalar components for each voxel. Gray-level data has 1. Color data has 3

vtkMRMLVolumeHeaderlessStorageNode::vtkGetMacro ( FileScalarType  ,
int   
)
vtkMRMLVolumeHeaderlessStorageNode::vtkGetStringMacro ( FileScanOrder   ) 

Scan order in the file

vtkMRMLVolumeHeaderlessStorageNode::vtkGetVector3Macro ( FileSpacing  ,
double   
)

Three numbers for the dimensions of each voxel, in millimeters

vtkMRMLVolumeHeaderlessStorageNode::vtkGetVector3Macro ( FileDimensions  ,
int   
)

Two numbers: the number of columns and rows of pixels in each image

vtkMRMLVolumeHeaderlessStorageNode::vtkSetMacro ( CenterImage  ,
int   
)
vtkMRMLVolumeHeaderlessStorageNode::vtkSetMacro ( FileLittleEndian  ,
int   
)
vtkMRMLVolumeHeaderlessStorageNode::vtkSetMacro ( FileNumberOfScalarComponents  ,
int   
)
vtkMRMLVolumeHeaderlessStorageNode::vtkSetMacro ( FileScalarType  ,
int   
)

The type of data in the file. One of: Char, UnsignedChar, Short, UnsignedShort, Int, UnsignedInt, Long, UnsignedLong, Float, Double

vtkMRMLVolumeHeaderlessStorageNode::vtkSetStringMacro ( FileScanOrder   ) 
vtkMRMLVolumeHeaderlessStorageNode::vtkSetVector3Macro ( FileSpacing  ,
double   
)
vtkMRMLVolumeHeaderlessStorageNode::vtkSetVector3Macro ( FileDimensions  ,
int   
)
vtkMRMLVolumeHeaderlessStorageNode::vtkTypeMacro ( vtkMRMLVolumeHeaderlessStorageNode  ,
vtkMRMLStorageNode   
)
int vtkMRMLVolumeHeaderlessStorageNode::WriteData ( vtkMRMLNode refNode  )  [virtual]
void vtkMRMLVolumeHeaderlessStorageNode::WriteXML ( ostream &  of,
int  indent 
) [virtual]

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

Reimplemented from vtkMRMLStorageNode.

References CenterImage, FileDimensions, FileLittleEndian, FileNumberOfScalarComponents, FileScalarType, FileScanOrder, and FileSpacing.


Member Data Documentation

Referenced by Copy(), ReadXMLAttributes(), and WriteXML().

Reimplemented from vtkMRMLStorageNode.

Referenced by WriteData().


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

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1