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
vtkImageMathematicsAddon Class Reference

Subclass of vtkImageMathematics that adds the option to multiply an image by another image which has its scalar values scaled. More...

#include <Libs/MRML/Core/vtkImageMathematicsAddon.h>

Inheritance diagram for vtkImageMathematicsAddon:
Collaboration diagram for vtkImageMathematicsAddon:

Public Types

typedef vtkImageMathematics Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual double * GetRange ()
 
virtual void GetRange (double &, double &)
 
virtual void GetRange (double[2])
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void SetOperationToMultiplyByScaledRange ()
 
virtual void SetRange (double, double)
 
void SetRange (double[2])
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkImageMathematicsAddonNew ()
 
static vtkImageMathematicsAddonSafeDownCast (vtkObject *o)
 

Protected Member Functions

int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
 
void ThreadedRequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int outExt[6], int threadId) override
 
 vtkImageMathematicsAddon ()
 
 ~vtkImageMathematicsAddon () override
 

Protected Attributes

double Range [2] = { 0.0, 1.0 }
 

Detailed Description

Subclass of vtkImageMathematics that adds the option to multiply an image by another image which has its scalar values scaled.

This class is a subclass of vtkImageMathematics that adds an additional operation:

  • MultiplyByScaledRange: Multiply an image by the value of the second image, scaled using the specified scalar range.

In the long term, this class will be removed and the functionality should be added to vtkImageMathematics, if it is found to be useful.

Definition at line 40 of file vtkImageMathematicsAddon.h.

Member Typedef Documentation

◆ Superclass

typedef vtkImageMathematics vtkImageMathematicsAddon::Superclass

Definition at line 43 of file vtkImageMathematicsAddon.h.

Constructor & Destructor Documentation

◆ vtkImageMathematicsAddon()

vtkImageMathematicsAddon::vtkImageMathematicsAddon ( )
protected

◆ ~vtkImageMathematicsAddon()

vtkImageMathematicsAddon::~vtkImageMathematicsAddon ( )
overrideprotected

Member Function Documentation

◆ GetClassName()

virtual const char * vtkImageMathematicsAddon::GetClassName ( )
virtual

◆ GetRange() [1/3]

virtual double * vtkImageMathematicsAddon::GetRange ( )
virtual

◆ GetRange() [2/3]

virtual void vtkImageMathematicsAddon::GetRange ( double & ,
double &  )
virtual

◆ GetRange() [3/3]

virtual void vtkImageMathematicsAddon::GetRange ( double [2])
virtual

◆ IsA()

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

◆ IsTypeOf()

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

◆ New()

static vtkImageMathematicsAddon * vtkImageMathematicsAddon::New ( )
static

◆ PrintSelf()

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

◆ RequestInformation()

int vtkImageMathematicsAddon::RequestInformation ( vtkInformation * ,
vtkInformationVector ** ,
vtkInformationVector *  )
overrideprotected

◆ SafeDownCast()

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

◆ SetOperationToMultiplyByScaledRange()

void vtkImageMathematicsAddon::SetOperationToMultiplyByScaledRange ( )
inline

Definition at line 47 of file vtkImageMathematicsAddon.h.

◆ SetRange() [1/2]

virtual void vtkImageMathematicsAddon::SetRange ( double ,
double  )
virtual

◆ SetRange() [2/2]

void vtkImageMathematicsAddon::SetRange ( double [2])

◆ ThreadedRequestData()

void vtkImageMathematicsAddon::ThreadedRequestData ( vtkInformation * request,
vtkInformationVector ** inputVector,
vtkInformationVector * outputVector,
vtkImageData *** inData,
vtkImageData ** outData,
int outExt[6],
int threadId )
overrideprotected

Member Data Documentation

◆ Range

double vtkImageMathematicsAddon::Range[2] = { 0.0, 1.0 }
protected

Definition at line 62 of file vtkImageMathematicsAddon.h.


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