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

vtkImageMaskBits Class Reference

applies a bit-mask pattern to each component. More...

#include <vtkImageMaskBits.h>

Inheritance diagram for vtkImageMaskBits:

Inheritance graph
[legend]
Collaboration diagram for vtkImageMaskBits:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &, vtkIndent)
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 Methods

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

Protected Methods

 vtkImageMaskBits ()
 ~vtkImageMaskBits ()
 vtkImageMaskBits (const vtkImageMaskBits &)
void operator= (const vtkImageMaskBits &)
void ThreadedExecute (vtkImageData *inData, vtkImageData *outData, int ext[6], int id)

Protected Attributes

unsigned int Masks [4]
int Operation

Detailed Description

applies a bit-mask pattern to each component.

Date:
2000/12/10 20:09:08
Revision:
1.11

vtkImageMaskBits applies a bit-mask pattern to each component. The bit-mask can be applied using a variety of boolean bitwise operators.

Examples:
vtkImageMaskBits (examples)

Definition at line 60 of file vtkImageMaskBits.h.


Constructor & Destructor Documentation

vtkImageMaskBits::vtkImageMaskBits   [protected]
 

vtkImageMaskBits::~vtkImageMaskBits   [inline, protected]
 

Definition at line 89 of file vtkImageMaskBits.h.

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

Definition at line 90 of file vtkImageMaskBits.h.


Member Function Documentation

vtkImageMaskBits* vtkImageMaskBits::New   [static]
 

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

Reimplemented from vtkImageToImageFilter.

virtual const char* vtkImageMaskBits::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 vtkImageToImageFilter.

int vtkImageMaskBits::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 vtkImageToImageFilter.

virtual int vtkImageMaskBits::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 vtkImageToImageFilter.

vtkImageMaskBits* vtkImageMaskBits::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 vtkImageToImageFilter.

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

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]
 

void vtkImageMaskBits::SetMask unsigned int    mask [inline]
 

Definition at line 69 of file vtkImageMaskBits.h.

void vtkImageMaskBits::SetMasks unsigned int    mask1,
unsigned int    mask2
[inline]
 

Definition at line 71 of file vtkImageMaskBits.h.

void vtkImageMaskBits::SetMasks unsigned int    mask1,
unsigned int    mask2,
unsigned int    mask3
[inline]
 

Definition at line 73 of file vtkImageMaskBits.h.

virtual unsigned int* vtkImageMaskBits::GetMasks   [virtual]
 

virtual void vtkImageMaskBits::GetMasks unsigned int &   ,
unsigned int &   ,
unsigned int &   ,
unsigned int &   
[virtual]
 

virtual void vtkImageMaskBits::GetMasks unsigned    int[4] [virtual]
 

virtual void vtkImageMaskBits::SetOperation int    [virtual]
 

Set/Get the boolean operator. Default is AND.

virtual int vtkImageMaskBits::GetOperation   [virtual]
 

void vtkImageMaskBits::SetOperationToAnd   [inline]
 

Definition at line 80 of file vtkImageMaskBits.h.

void vtkImageMaskBits::SetOperationToOr   [inline]
 

Definition at line 81 of file vtkImageMaskBits.h.

void vtkImageMaskBits::SetOperationToXor   [inline]
 

Definition at line 82 of file vtkImageMaskBits.h.

void vtkImageMaskBits::SetOperationToNand   [inline]
 

Definition at line 83 of file vtkImageMaskBits.h.

void vtkImageMaskBits::SetOperationToNor   [inline]
 

Definition at line 84 of file vtkImageMaskBits.h.

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

Definition at line 91 of file vtkImageMaskBits.h.

void vtkImageMaskBits::ThreadedExecute vtkImageData   inData,
vtkImageData   outData,
int    ext[6],
int    id
[protected, virtual]
 

If the subclass does not define an Execute method, then the task will be broken up, multiple threads will be spawned, and each thread will call this method. It is public so that the thread functions can call this method.

Reimplemented from vtkImageToImageFilter.


Member Data Documentation

unsigned int vtkImageMaskBits::Masks[4] [protected]
 

Definition at line 96 of file vtkImageMaskBits.h.

int vtkImageMaskBits::Operation [protected]
 

Definition at line 97 of file vtkImageMaskBits.h.


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