Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkImageLogic Class Reference

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

#include <vtkImageLogic.h>

Inheritance diagram for vtkImageLogic:

Inheritance graph
[legend]
Collaboration diagram for vtkImageLogic:

Collaboration graph
[legend]
List of all members.

Public Methods

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 Methods

vtkImageLogic * New ()
int IsTypeOf (const char *type)
vtkImageLogic * SafeDownCast (vtkObject *o)

Protected Methods

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

Protected Attributes

int Operation
float OutputTrueValue

Detailed Description

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

Date:
2000/12/10 20:09:07
Revision:
1.15
Thanks:
Thanks to C. Charles Law who developed this class.
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.
Examples:
vtkImageLogic (examples)

Definition at line 72 of file vtkImageLogic.h.


Constructor & Destructor Documentation

vtkImageLogic::vtkImageLogic   [protected]
 

vtkImageLogic::~vtkImageLogic   [inline, protected]
 

Definition at line 95 of file vtkImageLogic.h.

vtkImageLogic::vtkImageLogic const vtkImageLogic &    [inline, protected]
 

Definition at line 96 of file vtkImageLogic.h.


Member Function Documentation

vtkImageLogic* vtkImageLogic::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkImageTwoInputFilter.

virtual const char* vtkImageLogic::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageTwoInputFilter.

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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageTwoInputFilter.

vtkImageLogic* vtkImageLogic::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

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 vtkImageMultipleInputFilter.

virtual void vtkImageLogic::SetOperation int    [virtual]
 

Set/Get the Operation to perform.

virtual int vtkImageLogic::GetOperation   [virtual]
 

void vtkImageLogic::SetOperationToAnd   [inline]
 

Definition at line 82 of file vtkImageLogic.h.

void vtkImageLogic::SetOperationToOr   [inline]
 

Definition at line 83 of file vtkImageLogic.h.

void vtkImageLogic::SetOperationToXor   [inline]
 

Definition at line 84 of file vtkImageLogic.h.

void vtkImageLogic::SetOperationToNand   [inline]
 

Definition at line 85 of file vtkImageLogic.h.

void vtkImageLogic::SetOperationToNor   [inline]
 

Definition at line 86 of file vtkImageLogic.h.

void vtkImageLogic::SetOperationToNot   [inline]
 

Definition at line 87 of file vtkImageLogic.h.

virtual void vtkImageLogic::SetOutputTrueValue float    [virtual]
 

Set the value to use for true in the output.

virtual float vtkImageLogic::GetOutputTrueValue   [virtual]
 

void vtkImageLogic::operator= const vtkImageLogic &    [inline, protected]
 

Definition at line 97 of file vtkImageLogic.h.

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

float vtkImageLogic::OutputTrueValue [protected]
 

Definition at line 100 of file vtkImageLogic.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:48:42 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001