VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkImageLogic Class Reference

And, or, xor, nand, nor, not. More...

#include <vtkImageLogic.h>

Inherits vtkThreadedImageAlgorithm.

Public Types

typedef vtkThreadedImageAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkImageLogicNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void SetInput1Data (vtkDataObject *input)
 
virtual void SetInput2Data (vtkDataObject *input)
 
virtual void SetOperation (int)
 
virtual int GetOperation ()
 
void SetOperationToAnd ()
 
void SetOperationToOr ()
 
void SetOperationToXor ()
 
void SetOperationToNand ()
 
void SetOperationToNor ()
 
void SetOperationToNot ()
 
virtual void SetOutputTrueValue (double)
 
virtual double GetOutputTrueValue ()
 

Static Public Member Functions

static vtkImageLogicNew ()
 
static int IsTypeOf (const char *type)
 
static vtkImageLogicSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkImageLogic ()
 
 ~vtkImageLogic ()
 
void ThreadedRequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int ext[6], int id)
 
virtual int FillInputPortInformation (int port, vtkInformation *info)
 

Protected Attributes

int Operation
 
double OutputTrueValue
 

Detailed Description

And, or, xor, nand, nor, not.

vtkImageLogic implements basic logic operations. SetOperation is used to select the filter's behavior. The filter can take two or one input. Inputs must have the same type.

Tests:
vtkImageLogic (Tests)

Definition at line 44 of file vtkImageLogic.h.

Member Typedef Documentation

typedef vtkThreadedImageAlgorithm vtkImageLogic::Superclass

Definition at line 48 of file vtkImageLogic.h.

Constructor & Destructor Documentation

vtkImageLogic::vtkImageLogic ( )
protected
vtkImageLogic::~vtkImageLogic ( )
inlineprotected

Definition at line 77 of file vtkImageLogic.h.

Member Function Documentation

static vtkImageLogic* vtkImageLogic::New ( )
static
static int vtkImageLogic::IsTypeOf ( const char *  type)
static
virtual int vtkImageLogic::IsA ( const char *  type)
virtual
static vtkImageLogic* vtkImageLogic::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkImageLogic::NewInstanceInternal ( ) const
protectedvirtual
vtkImageLogic* vtkImageLogic::NewInstance ( ) const
void vtkImageLogic::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual void vtkImageLogic::SetOperation ( int  )
virtual

Set/Get the Operation to perform.

virtual int vtkImageLogic::GetOperation ( )
virtual

Set/Get the Operation to perform.

void vtkImageLogic::SetOperationToAnd ( )
inline

Set/Get the Operation to perform.

Definition at line 55 of file vtkImageLogic.h.

void vtkImageLogic::SetOperationToOr ( )
inline

Set/Get the Operation to perform.

Definition at line 56 of file vtkImageLogic.h.

void vtkImageLogic::SetOperationToXor ( )
inline

Set/Get the Operation to perform.

Definition at line 57 of file vtkImageLogic.h.

void vtkImageLogic::SetOperationToNand ( )
inline

Set/Get the Operation to perform.

Definition at line 58 of file vtkImageLogic.h.

void vtkImageLogic::SetOperationToNor ( )
inline

Set/Get the Operation to perform.

Definition at line 59 of file vtkImageLogic.h.

void vtkImageLogic::SetOperationToNot ( )
inline

Set/Get the Operation to perform.

Definition at line 60 of file vtkImageLogic.h.

virtual void vtkImageLogic::SetOutputTrueValue ( double  )
virtual

Set the value to use for true in the output.

virtual double vtkImageLogic::GetOutputTrueValue ( )
virtual

Set the value to use for true in the output.

virtual void vtkImageLogic::SetInput1Data ( vtkDataObject *  input)
inlinevirtual

Set the Input1 of this filter.

Definition at line 70 of file vtkImageLogic.h.

virtual void vtkImageLogic::SetInput2Data ( vtkDataObject *  input)
inlinevirtual

Set the Input2 of this filter.

Definition at line 73 of file vtkImageLogic.h.

void vtkImageLogic::ThreadedRequestData ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector,
vtkImageData ***  inData,
vtkImageData **  outData,
int  ext[6],
int  id 
)
protected
virtual int vtkImageLogic::FillInputPortInformation ( int  port,
vtkInformation *  info 
)
protectedvirtual

Member Data Documentation

int vtkImageLogic::Operation
protected

Definition at line 77 of file vtkImageLogic.h.

double vtkImageLogic::OutputTrueValue
protected

Definition at line 80 of file vtkImageLogic.h.


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