VTK
|
applies a bit-mask pattern to each component. More...
#include <vtkImageMaskBits.h>
Public Types | |
typedef vtkThreadedImageAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkImageMaskBits * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetMasks (unsigned int, unsigned int, unsigned int, unsigned int) |
virtual void | SetMasks (unsigned int[4]) |
void | SetMask (unsigned int mask) |
void | SetMasks (unsigned int mask1, unsigned int mask2) |
void | SetMasks (unsigned int mask1, unsigned int mask2, unsigned int mask3) |
virtual unsigned int * | GetMasks () |
virtual void | GetMasks (unsigned int &, unsigned int &, unsigned int &, unsigned int &) |
virtual void | GetMasks (unsigned int[4]) |
virtual void | SetOperation (int) |
virtual int | GetOperation () |
void | SetOperationToAnd () |
void | SetOperationToOr () |
void | SetOperationToXor () |
void | SetOperationToNand () |
void | SetOperationToNor () |
Static Public Member Functions | |
static vtkImageMaskBits * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageMaskBits * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkImageMaskBits () | |
~vtkImageMaskBits () | |
void | ThreadedExecute (vtkImageData *inData, vtkImageData *outData, int ext[6], int id) |
Protected Attributes | |
unsigned int | Masks [4] |
int | Operation |
applies a bit-mask pattern to each component.
vtkImageMaskBits applies a bit-mask pattern to each component. The bit-mask can be applied using a variety of boolean bitwise operators.
Definition at line 33 of file vtkImageMaskBits.h.
Reimplemented from vtkThreadedImageAlgorithm.
Definition at line 37 of file vtkImageMaskBits.h.
vtkImageMaskBits::vtkImageMaskBits | ( | ) | [protected] |
vtkImageMaskBits::~vtkImageMaskBits | ( | ) | [inline, protected] |
Definition at line 65 of file vtkImageMaskBits.h.
static vtkImageMaskBits* vtkImageMaskBits::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
static int vtkImageMaskBits::IsTypeOf | ( | const char * | name | ) | [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 vtkThreadedImageAlgorithm.
virtual int vtkImageMaskBits::IsA | ( | const char * | name | ) | [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 vtkThreadedImageAlgorithm.
static vtkImageMaskBits* vtkImageMaskBits::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkThreadedImageAlgorithm.
virtual vtkObjectBase* vtkImageMaskBits::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkThreadedImageAlgorithm.
vtkImageMaskBits* vtkImageMaskBits::NewInstance | ( | ) | const |
Reimplemented from vtkThreadedImageAlgorithm.
void vtkImageMaskBits::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 vtkThreadedImageAlgorithm.
virtual void vtkImageMaskBits::SetMasks | ( | unsigned | int, |
unsigned | int, | ||
unsigned | int, | ||
unsigned | int | ||
) | [virtual] |
Set/Get the bit-masks. Default is 0xffffffff.
virtual void vtkImageMaskBits::SetMasks | ( | unsigned | int[4] | ) | [virtual] |
Set/Get the bit-masks. Default is 0xffffffff.
void vtkImageMaskBits::SetMask | ( | unsigned int | mask | ) | [inline] |
Set/Get the bit-masks. Default is 0xffffffff.
Definition at line 43 of file vtkImageMaskBits.h.
void vtkImageMaskBits::SetMasks | ( | unsigned int | mask1, |
unsigned int | mask2 | ||
) | [inline] |
Set/Get the bit-masks. Default is 0xffffffff.
Definition at line 45 of file vtkImageMaskBits.h.
void vtkImageMaskBits::SetMasks | ( | unsigned int | mask1, |
unsigned int | mask2, | ||
unsigned int | mask3 | ||
) | [inline] |
Set/Get the bit-masks. Default is 0xffffffff.
Definition at line 47 of file vtkImageMaskBits.h.
virtual unsigned int* vtkImageMaskBits::GetMasks | ( | ) | [virtual] |
Set/Get the bit-masks. Default is 0xffffffff.
virtual void vtkImageMaskBits::GetMasks | ( | unsigned int & | , |
unsigned int & | , | ||
unsigned int & | , | ||
unsigned int & | |||
) | [virtual] |
Set/Get the bit-masks. Default is 0xffffffff.
virtual void vtkImageMaskBits::GetMasks | ( | unsigned | int[4] | ) | [virtual] |
Set/Get the bit-masks. Default is 0xffffffff.
virtual void vtkImageMaskBits::SetOperation | ( | int | ) | [virtual] |
Set/Get the boolean operator. Default is AND.
virtual int vtkImageMaskBits::GetOperation | ( | ) | [virtual] |
Set/Get the boolean operator. Default is AND.
void vtkImageMaskBits::SetOperationToAnd | ( | ) | [inline] |
Set/Get the boolean operator. Default is AND.
Definition at line 56 of file vtkImageMaskBits.h.
void vtkImageMaskBits::SetOperationToOr | ( | ) | [inline] |
Set/Get the boolean operator. Default is AND.
Definition at line 57 of file vtkImageMaskBits.h.
void vtkImageMaskBits::SetOperationToXor | ( | ) | [inline] |
Set/Get the boolean operator. Default is AND.
Definition at line 58 of file vtkImageMaskBits.h.
void vtkImageMaskBits::SetOperationToNand | ( | ) | [inline] |
Set/Get the boolean operator. Default is AND.
Definition at line 59 of file vtkImageMaskBits.h.
void vtkImageMaskBits::SetOperationToNor | ( | ) | [inline] |
Set/Get the boolean operator. Default is AND.
Definition at line 60 of file vtkImageMaskBits.h.
void vtkImageMaskBits::ThreadedExecute | ( | vtkImageData * | inData, |
vtkImageData * | outData, | ||
int | ext[6], | ||
int | id | ||
) | [protected, virtual] |
Reimplemented from vtkThreadedImageAlgorithm.
unsigned int vtkImageMaskBits::Masks[4] [protected] |
Definition at line 70 of file vtkImageMaskBits.h.
int vtkImageMaskBits::Operation [protected] |
Definition at line 71 of file vtkImageMaskBits.h.