Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkImageLogic Class Reference

#include <vtkImageLogic.h>

Inheritance diagram for vtkImageLogic:

vtkImageTwoInputFilter vtkImageMultipleInputFilter vtkImageSource vtkSource vtkProcessObject vtkObject vtkObjectBase List of all members.

Detailed Description

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

Date
2002/01/22 15:32:54
Revision
1.21

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 47 of file vtkImageLogic.h.

Public Types

typedef vtkImageTwoInputFilter Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetOperation (int)
virtual int GetOperation ()
void SetOperationToAnd ()
void SetOperationToOr ()
void SetOperationToXor ()
void SetOperationToNand ()
void SetOperationToNor ()
void SetOperationToNot ()
virtual void SetOutputTrueValue (float)
virtual float GetOutputTrueValue ()

Static Public Member Functions

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

Protected Member Functions

 vtkImageLogic ()
 ~vtkImageLogic ()
void ThreadedExecute (vtkImageData **inDatas, vtkImageData *outData, int extent[6], int id)

Protected Attributes

int Operation
float OutputTrueValue


Member Typedef Documentation

typedef vtkImageTwoInputFilter vtkImageLogic::Superclass
 

Reimplemented from vtkImageTwoInputFilter.

Definition at line 51 of file vtkImageLogic.h.


Constructor & Destructor Documentation

vtkImageLogic::vtkImageLogic  )  [protected]
 

vtkImageLogic::~vtkImageLogic  )  [inline, protected]
 

Definition at line 74 of file vtkImageLogic.h.


Member Function Documentation

static vtkImageLogic* vtkImageLogic::New  )  [static]
 

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

virtual const char* vtkImageLogic::GetClassName  )  [virtual]
 

Reimplemented from vtkImageTwoInputFilter.

static int vtkImageLogic::IsTypeOf const char *  type  )  [static]
 

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkImageTwoInputFilter.

virtual int vtkImageLogic::IsA const char *  type  )  [virtual]
 

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkImageTwoInputFilter.

static vtkImageLogic* vtkImageLogic::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkImageTwoInputFilter.

void vtkImageLogic::PrintSelf ostream &  os,
vtkIndent  indent
[virtual]
 

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkImageTwoInputFilter.

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 58 of file vtkImageLogic.h.

References VTK_AND.

void vtkImageLogic::SetOperationToOr  )  [inline]
 

Set/Get the Operation to perform.

Definition at line 59 of file vtkImageLogic.h.

References VTK_OR.

void vtkImageLogic::SetOperationToXor  )  [inline]
 

Set/Get the Operation to perform.

Definition at line 60 of file vtkImageLogic.h.

References VTK_XOR.

void vtkImageLogic::SetOperationToNand  )  [inline]
 

Set/Get the Operation to perform.

Definition at line 61 of file vtkImageLogic.h.

References VTK_NAND.

void vtkImageLogic::SetOperationToNor  )  [inline]
 

Set/Get the Operation to perform.

Definition at line 62 of file vtkImageLogic.h.

References VTK_NOR.

void vtkImageLogic::SetOperationToNot  )  [inline]
 

Set/Get the Operation to perform.

Definition at line 63 of file vtkImageLogic.h.

References VTK_NOT.

virtual void vtkImageLogic::SetOutputTrueValue float   )  [virtual]
 

Set the value to use for true in the output.

virtual float vtkImageLogic::GetOutputTrueValue  )  [virtual]
 

Set the value to use for true in the output.

void vtkImageLogic::ThreadedExecute vtkImageData **  inDatas,
vtkImageData outData,
int  extent[6],
int  id
[protected, virtual]
 

The execute method created by the subclass. This is kept public instead of protected since it is called from a non-member thread function.

Reimplemented from vtkImageMultipleInputFilter.


Member Data Documentation

int vtkImageLogic::Operation [protected]
 

Definition at line 76 of file vtkImageLogic.h.

float vtkImageLogic::OutputTrueValue [protected]
 

Definition at line 77 of file vtkImageLogic.h.


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