Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
vtkOrientedImageData Class Reference

Image data containing orientation information. More...

#include <Libs/vtkSegmentationCore/vtkOrientedImageData.h>

Inheritance diagram for vtkOrientedImageData:
Collaboration diagram for vtkOrientedImageData:

Public Types

typedef vtkImageData Superclass
 

Public Member Functions

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

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 35 of file vtkOrientedImageData.h.

Member Typedef Documentation

◆ Superclass

typedef vtkImageData vtkOrientedImageData::Superclass

Definition at line 39 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 96 of file vtkOrientedImageData.h.


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