A box shaped paintbrush template. More...
#include <vtkKWEPaintbrushShapeBox.h>


Public Member Functions | |
| virtual int | Resize (double d[3], int ResizeType) |
| virtual void | DeepCopy (vtkKWEPaintbrushShape *) |
| virtual void | GetAnnotation (char *) |
| virtual int | IsInside (double currentPos[3], double wolrdPos[3]) |
| virtual void | GetExtent (int extent[6], double p[3]) |
| vtkTypeRevisionMacro (vtkKWEPaintbrushShapeBox, vtkKWEPaintbrushShape) | |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual vtkSmartPointer < vtkPolyData > | GetShapePolyData (double *center, vtkPlane *plane=NULL) |
| virtual void | GetStencil (vtkImageStencilData *, double p[3]) |
| virtual void | GetGrayscaleData (vtkImageData *, double p[3]) |
| virtual void | SetWidth (double newWidthX, double newWidthY, double newWidthZ) |
| virtual void | SetWidth (double newWidth[3]) |
| virtual double * | GetWidth () |
| virtual void | GetWidth (double &, double &, double &) |
| virtual void | GetWidth (double[3]) |
Static Public Member Functions | |
| static vtkKWEPaintbrushShapeBox * | New () |
Protected Member Functions | |
| vtkKWEPaintbrushShapeBox () | |
| ~vtkKWEPaintbrushShapeBox () | |
Protected Attributes | |
| double | Width [3] |
A box shaped paintbrush template.
Definition at line 33 of file vtkKWEPaintbrushShapeBox.h.
| vtkKWEPaintbrushShapeBox::vtkKWEPaintbrushShapeBox | ( | ) | [protected] |
| vtkKWEPaintbrushShapeBox::~vtkKWEPaintbrushShapeBox | ( | ) | [protected] |
| static vtkKWEPaintbrushShapeBox* vtkKWEPaintbrushShapeBox::New | ( | ) | [static] |
Instantiate this class.
Reimplemented from vtkObject.
| vtkKWEPaintbrushShapeBox::vtkTypeRevisionMacro | ( | vtkKWEPaintbrushShapeBox | , | |
| vtkKWEPaintbrushShape | ||||
| ) |
Standard methods for instances of this class.
| void vtkKWEPaintbrushShapeBox::PrintSelf | ( | ostream & | os, | |
| vtkIndent | indent | |||
| ) | [virtual] |
Standard methods for instances of this class.
Reimplemented from vtkKWEPaintbrushShape.
| virtual vtkSmartPointer< vtkPolyData > vtkKWEPaintbrushShapeBox::GetShapePolyData | ( | double * | center, | |
| vtkPlane * | plane = NULL | |||
| ) | [virtual] |
It allows the paintbrush representation to query the template for a paintbrush outline centered at the specified point and intersecting with the specified plane. If the plane is NULL, a polydata representation of the template in 3D is returned. (a cube in this case). Returns NULL if the plane does not intersect with the cube. BTX
Implements vtkKWEPaintbrushShape.
| virtual void vtkKWEPaintbrushShapeBox::GetStencil | ( | vtkImageStencilData * | , | |
| double | p[3] | |||
| ) | [virtual] |
Get the template as a stencil
Implements vtkKWEPaintbrushShape.
| virtual void vtkKWEPaintbrushShapeBox::GetGrayscaleData | ( | vtkImageData * | , | |
| double | p[3] | |||
| ) | [virtual] |
Get the template as a stencil
Implements vtkKWEPaintbrushShape.
| virtual void vtkKWEPaintbrushShapeBox::SetWidth | ( | double | newWidthX, | |
| double | newWidthY, | |||
| double | newWidthZ | |||
| ) | [virtual] |
Set new shape width
| virtual void vtkKWEPaintbrushShapeBox::SetWidth | ( | double | newWidth[3] | ) | [virtual] |
Set new shape width
| virtual double* vtkKWEPaintbrushShapeBox::GetWidth | ( | ) | [virtual] |
Set new shape width
Implements vtkKWEPaintbrushShape.
| virtual void vtkKWEPaintbrushShapeBox::GetWidth | ( | double & | , | |
| double & | , | |||
| double & | ||||
| ) | [virtual] |
Set new shape width
Implements vtkKWEPaintbrushShape.
| virtual void vtkKWEPaintbrushShapeBox::GetWidth | ( | double | [3] | ) | [virtual] |
Set new shape width
| virtual int vtkKWEPaintbrushShapeBox::Resize | ( | double | d[3], | |
| int | ResizeType | |||
| ) | [virtual] |
See superclass documentation
Implements vtkKWEPaintbrushShape.
| virtual void vtkKWEPaintbrushShapeBox::DeepCopy | ( | vtkKWEPaintbrushShape * | ) | [virtual] |
Deep copy.. Synchronizes states etc.
Reimplemented from vtkKWEPaintbrushShape.
| virtual void vtkKWEPaintbrushShapeBox::GetAnnotation | ( | char * | ) | [virtual] |
Provide some kind of contextual annotation about the shape that indicates its size etc..
Implements vtkKWEPaintbrushShape.
| virtual int vtkKWEPaintbrushShapeBox::IsInside | ( | double | currentPos[3], | |
| double | wolrdPos[3] | |||
| ) | [virtual] |
Check if point is inside the shape
| virtual void vtkKWEPaintbrushShapeBox::GetExtent | ( | int | extent[6], | |
| double | p[3] | |||
| ) | [virtual] |
INTERNAL - Do not use. Get the extents of a shape drawn at the current location.
Implements vtkKWEPaintbrushShape.
double vtkKWEPaintbrushShapeBox::Width[3] [protected] |
Definition at line 90 of file vtkKWEPaintbrushShapeBox.h.
1.7.1