Slicer  5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkOrientedImageData Class Reference

Image data containing orientation information. More...

#include <Libs/vtkSegmentationCore/vtkOrientedImageData.h>

Inheritance diagram for vtkOrientedImageData:
Inheritance graph
[legend]
Collaboration diagram for vtkOrientedImageData:
Collaboration graph
[legend]

Public Types

typedef vtkImageData Superclass
 

Public Member Functions

void ComputeBounds () override
 Compute image bounds (xmin,xmax, ymin,ymax, zmin,zmax). More...
 
virtual void CopyDirections (vtkDataObject *src)
 Copy orientation information only. More...
 
void DeepCopy (vtkDataObject *src) override
 Deep copy. More...
 
virtual const char * GetClassName ()
 
void GetDirectionMatrix (vtkMatrix4x4 *mat)
 
void GetDirections (double dirs[3][3])
 
void GetImageToWorldMatrix (vtkMatrix4x4 *mat)
 Get the geometry matrix that includes the spacing and origin information. More...
 
double GetMaxSpacing ()
 Utility function that returns the max spacing between the 3 orientations. More...
 
double GetMinSpacing ()
 Utility function that returns the min spacing between the 3 orientations. More...
 
void GetWorldToImageMatrix (vtkMatrix4x4 *mat)
 Get the inverse of the geometry matrix. More...
 
virtual int IsA (const char *type)
 
bool IsEmpty ()
 Determines whether the image data is empty (if the extent has 0 voxels then it is) More...
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void SetDirectionMatrix (vtkMatrix4x4 *mat)
 
void SetDirections (double dirs[3][3])
 Set directions only. More...
 
void SetDirections (double ir, double ia, double is, double jr, double ja, double js, double kr, double ka, double ks)
 Set directions only. More...
 
void SetGeometryFromImageToWorldMatrix (vtkMatrix4x4 *mat)
 Same as SetImageToWorldMatrix. Kept for backward compatibility. More...
 
void SetImageToWorldMatrix (vtkMatrix4x4 *mat)
 Convenience method to set the directions, spacing, and origin from a matrix. More...
 
void ShallowCopy (vtkDataObject *src) override
 Shallow copy. More...
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkOrientedImageDataNew ()
 
static vtkOrientedImageDataSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkOrientedImageData ()
 
 ~vtkOrientedImageData () override
 

Protected Attributes

double Directions [3][3]
 

Detailed Description

Image data containing orientation information.

This extends vtkImageData to arbitrary grid orientation.

Definition at line 36 of file vtkOrientedImageData.h.

Member Typedef Documentation

◆ Superclass

typedef vtkImageData vtkOrientedImageData::Superclass

Definition at line 40 of file vtkOrientedImageData.h.

Constructor & Destructor Documentation

◆ vtkOrientedImageData()

vtkOrientedImageData::vtkOrientedImageData ( )
protected

◆ ~vtkOrientedImageData()

vtkOrientedImageData::~vtkOrientedImageData ( )
overrideprotected

Member Function Documentation

◆ ComputeBounds()

void vtkOrientedImageData::ComputeBounds ( )
override

Compute image bounds (xmin,xmax, ymin,ymax, zmin,zmax).

◆ CopyDirections()

virtual void vtkOrientedImageData::CopyDirections ( vtkDataObject *  src)
virtual

Copy orientation information only.

◆ DeepCopy()

void vtkOrientedImageData::DeepCopy ( vtkDataObject *  src)
override

Deep copy.

◆ GetClassName()

virtual const char* vtkOrientedImageData::GetClassName ( )
virtual

◆ GetDirectionMatrix()

void vtkOrientedImageData::GetDirectionMatrix ( vtkMatrix4x4 *  mat)

◆ GetDirections()

void vtkOrientedImageData::GetDirections ( double  dirs[3][3])

◆ GetImageToWorldMatrix()

void vtkOrientedImageData::GetImageToWorldMatrix ( vtkMatrix4x4 *  mat)

Get the geometry matrix that includes the spacing and origin information.

◆ GetMaxSpacing()

double vtkOrientedImageData::GetMaxSpacing ( )

Utility function that returns the max spacing between the 3 orientations.

◆ GetMinSpacing()

double vtkOrientedImageData::GetMinSpacing ( )

Utility function that returns the min spacing between the 3 orientations.

◆ GetWorldToImageMatrix()

void vtkOrientedImageData::GetWorldToImageMatrix ( vtkMatrix4x4 *  mat)

Get the inverse of the geometry matrix.

◆ IsA()

virtual int vtkOrientedImageData::IsA ( const char *  type)
virtual

◆ IsEmpty()

bool vtkOrientedImageData::IsEmpty ( )

Determines whether the image data is empty (if the extent has 0 voxels then it is)

◆ IsTypeOf()

static int vtkOrientedImageData::IsTypeOf ( const char *  type)
static

◆ New()

static vtkOrientedImageData* vtkOrientedImageData::New ( )
static

◆ PrintSelf()

void vtkOrientedImageData::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
override

◆ SafeDownCast()

static vtkOrientedImageData* vtkOrientedImageData::SafeDownCast ( vtkObject *  o)
static

◆ SetDirectionMatrix()

void vtkOrientedImageData::SetDirectionMatrix ( vtkMatrix4x4 *  mat)

◆ SetDirections() [1/2]

void vtkOrientedImageData::SetDirections ( double  dirs[3][3])

Set directions only.

◆ SetDirections() [2/2]

void vtkOrientedImageData::SetDirections ( double  ir,
double  ia,
double  is,
double  jr,
double  ja,
double  js,
double  kr,
double  ka,
double  ks 
)

Set directions only.

◆ SetGeometryFromImageToWorldMatrix()

void vtkOrientedImageData::SetGeometryFromImageToWorldMatrix ( vtkMatrix4x4 *  mat)

Same as SetImageToWorldMatrix. Kept for backward compatibility.

◆ SetImageToWorldMatrix()

void vtkOrientedImageData::SetImageToWorldMatrix ( vtkMatrix4x4 *  mat)

Convenience method to set the directions, spacing, and origin from a matrix.

◆ ShallowCopy()

void vtkOrientedImageData::ShallowCopy ( vtkDataObject *  src)
override

Shallow copy.

Member Data Documentation

◆ Directions

double vtkOrientedImageData::Directions[3][3]
protected

Direction matrix for the image data These are unit length direction cosines

Definition at line 97 of file vtkOrientedImageData.h.


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