Perform inplace operations on paintbrush stencils. More...
#include <vtkKWEPaintbrushOperation.h>


Public Member Functions | |
| virtual void | DeepCopy (vtkKWEPaintbrushOperation *) |
| vtkTypeRevisionMacro (vtkKWEPaintbrushOperation, vtkObject) | |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual void | SetPaintbrushShape (vtkKWEPaintbrushShape *) |
| virtual vtkKWEPaintbrushShape * | GetPaintbrushShape () |
| virtual void | SetImageData (vtkImageData *) |
| virtual vtkImageData * | GetImageData () |
| virtual void | GetPaintbrushData (vtkKWEPaintbrushData *, double p[3], vtkKWEPaintbrushEnums::OperationType &op) |
| virtual void | SetExtent (int, int, int, int, int, int) |
| virtual void | SetExtent (int[6]) |
| virtual int * | GetExtent () |
| virtual void | GetExtent (int &, int &, int &, int &, int &, int &) |
| virtual void | GetExtent (int[6]) |
Static Public Member Functions | |
| static vtkKWEPaintbrushOperation * | New () |
Protected Member Functions | |
| vtkKWEPaintbrushOperation () | |
| ~vtkKWEPaintbrushOperation () | |
| virtual void | DoOperation (vtkKWEPaintbrushData *, double p[3], vtkKWEPaintbrushEnums::OperationType &op) |
Protected Attributes | |
| vtkImageData * | ImageData |
| vtkKWEPaintbrushShape * | PaintbrushShape |
| int | Extent [6] |
Perform inplace operations on paintbrush stencils.
This is a base class for Paintbrush operations that perform smart inplace operations on paintbrush stencils. This class acts as a pass through filter that does not modify the incoming stencils. Subclasses must override the protected method DoOperationOnStencil to modify the stencil possibly based on the underlying image data.
Definition at line 44 of file vtkKWEPaintbrushOperation.h.
| vtkKWEPaintbrushOperation::vtkKWEPaintbrushOperation | ( | ) | [protected] |
| vtkKWEPaintbrushOperation::~vtkKWEPaintbrushOperation | ( | ) | [protected] |
| static vtkKWEPaintbrushOperation* vtkKWEPaintbrushOperation::New | ( | ) | [static] |
Instantiate this class.
Reimplemented from vtkObject.
Reimplemented in vtkKWEITKConfidenceConnectedPaintbrushOperation, vtkKWEITKConnectedThresholdPaintbrushOperation, and vtkKWEPaintbrushOperationFloodFill.
| vtkKWEPaintbrushOperation::vtkTypeRevisionMacro | ( | vtkKWEPaintbrushOperation | , | |
| vtkObject | ||||
| ) |
Standard methods for instances of this class.
| void vtkKWEPaintbrushOperation::PrintSelf | ( | ostream & | os, | |
| vtkIndent | indent | |||
| ) | [virtual] |
Standard methods for instances of this class.
Reimplemented from vtkObject.
Reimplemented in vtkKWEITKConfidenceConnectedPaintbrushOperation, vtkKWEITKConnectedThresholdPaintbrushOperation, vtkKWEITKPaintbrushOperation, and vtkKWEPaintbrushOperationFloodFill.
| virtual void vtkKWEPaintbrushOperation::SetPaintbrushShape | ( | vtkKWEPaintbrushShape * | ) | [virtual] |
Set the paintbrush shape. This must be set.
| virtual vtkKWEPaintbrushShape* vtkKWEPaintbrushOperation::GetPaintbrushShape | ( | ) | [virtual] |
Set the paintbrush shape. This must be set.
| virtual void vtkKWEPaintbrushOperation::SetImageData | ( | vtkImageData * | ) | [virtual] |
Set the image data on which the paintbrush is drawn. This must be set.
| virtual vtkImageData* vtkKWEPaintbrushOperation::GetImageData | ( | ) | [virtual] |
Set the image data on which the paintbrush is drawn. This must be set.
| virtual void vtkKWEPaintbrushOperation::GetPaintbrushData | ( | vtkKWEPaintbrushData * | , | |
| double | p[3], | |||
| vtkKWEPaintbrushEnums::OperationType & | op | |||
| ) | [virtual] |
Get the Paintbrush data for the shape at point 'p' filtered through this operation. This class will simply return shape->GetPaintbrushData(). Subclasses would generally override this, so as to filter the paintbrushData from the shape.
| virtual void vtkKWEPaintbrushOperation::SetExtent | ( | int | , | |
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | ||||
| ) | [virtual] |
The default behaviour is "You are allowed to paint everywhere." Optionally, you may retrict this via extents. ie. the operation will filter data through only if it lies within the specified extents.
| virtual void vtkKWEPaintbrushOperation::SetExtent | ( | int | [6] | ) | [virtual] |
The default behaviour is "You are allowed to paint everywhere." Optionally, you may retrict this via extents. ie. the operation will filter data through only if it lies within the specified extents.
| virtual int* vtkKWEPaintbrushOperation::GetExtent | ( | ) | [virtual] |
The default behaviour is "You are allowed to paint everywhere." Optionally, you may retrict this via extents. ie. the operation will filter data through only if it lies within the specified extents.
| virtual void vtkKWEPaintbrushOperation::GetExtent | ( | int & | , | |
| int & | , | |||
| int & | , | |||
| int & | , | |||
| int & | , | |||
| int & | ||||
| ) | [virtual] |
The default behaviour is "You are allowed to paint everywhere." Optionally, you may retrict this via extents. ie. the operation will filter data through only if it lies within the specified extents.
| virtual void vtkKWEPaintbrushOperation::GetExtent | ( | int | [6] | ) | [virtual] |
The default behaviour is "You are allowed to paint everywhere." Optionally, you may retrict this via extents. ie. the operation will filter data through only if it lies within the specified extents.
| virtual void vtkKWEPaintbrushOperation::DeepCopy | ( | vtkKWEPaintbrushOperation * | ) | [virtual] |
INTERNAL: Do not use. Deep copy.. Synchronizes states etc.
| virtual void vtkKWEPaintbrushOperation::DoOperation | ( | vtkKWEPaintbrushData * | , | |
| double | p[3], | |||
| vtkKWEPaintbrushEnums::OperationType & | op | |||
| ) | [protected, virtual] |
Filter the incoming data (first arg) through this operation. The operation is centered at the point 'p'.
Reimplemented in vtkKWEITKConfidenceConnectedPaintbrushOperation, and vtkKWEITKConnectedThresholdPaintbrushOperation.
vtkImageData* vtkKWEPaintbrushOperation::ImageData [protected] |
Definition at line 101 of file vtkKWEPaintbrushOperation.h.
Definition at line 102 of file vtkKWEPaintbrushOperation.h.
int vtkKWEPaintbrushOperation::Extent[6] [protected] |
Definition at line 103 of file vtkKWEPaintbrushOperation.h.
1.7.1