Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

vtkKWEPaintbrushShapeEllipsoid Class Reference

A box shaped paintbrush template. More...

#include <vtkKWEPaintbrushShapeEllipsoid.h>

Inheritance diagram for vtkKWEPaintbrushShapeEllipsoid:
Inheritance graph
[legend]
Collaboration diagram for vtkKWEPaintbrushShapeEllipsoid:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void GetStencil (vtkImageStencilData *, double p[3])
virtual void GetGrayscaleData (vtkImageData *, double p[3])
virtual int Resize (double d[3], int ResizeType)
virtual void DeepCopy (vtkKWEPaintbrushShape *)
virtual void GetAnnotation (char *s)
virtual void GetExtent (int extent[6], double p[3])

 vtkTypeRevisionMacro (vtkKWEPaintbrushShapeEllipsoid, vtkKWEPaintbrushShape)
void PrintSelf (ostream &os, vtkIndent indent)

virtual vtkSmartPointer
< vtkPolyData
GetShapePolyData (double *center, vtkPlane *plane=NULL)

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])

virtual void SetResolution (int)
virtual int GetResolution ()

virtual void SetTransitionRegion (double)
virtual double GetTransitionRegion ()

Static Public Member Functions

static
vtkKWEPaintbrushShapeEllipsoid
New ()

Protected Member Functions

 vtkKWEPaintbrushShapeEllipsoid ()
 ~vtkKWEPaintbrushShapeEllipsoid ()

Protected Attributes

double Width [3]
int Resolution
double TransitionRegion

Detailed Description

A box shaped paintbrush template.

Definition at line 33 of file vtkKWEPaintbrushShapeEllipsoid.h.


Constructor & Destructor Documentation

vtkKWEPaintbrushShapeEllipsoid::vtkKWEPaintbrushShapeEllipsoid (  )  [protected]
vtkKWEPaintbrushShapeEllipsoid::~vtkKWEPaintbrushShapeEllipsoid (  )  [protected]

Member Function Documentation

static vtkKWEPaintbrushShapeEllipsoid* vtkKWEPaintbrushShapeEllipsoid::New (  )  [static]

Instantiate this class.

Reimplemented from vtkObject.

vtkKWEPaintbrushShapeEllipsoid::vtkTypeRevisionMacro ( vtkKWEPaintbrushShapeEllipsoid  ,
vtkKWEPaintbrushShape   
)

Standard methods for instances of this class.

void vtkKWEPaintbrushShapeEllipsoid::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Standard methods for instances of this class.

Reimplemented from vtkKWEPaintbrushShape.

virtual vtkSmartPointer< vtkPolyData > vtkKWEPaintbrushShapeEllipsoid::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 vtkKWEPaintbrushShapeEllipsoid::GetStencil ( vtkImageStencilData ,
double  p[3] 
) [virtual]

Get the shape as a binary stencil

Implements vtkKWEPaintbrushShape.

virtual void vtkKWEPaintbrushShapeEllipsoid::GetGrayscaleData ( vtkImageData ,
double  p[3] 
) [virtual]

Get the shape as a grayscale image data

Implements vtkKWEPaintbrushShape.

virtual void vtkKWEPaintbrushShapeEllipsoid::SetWidth ( double  newWidthX,
double  newWidthY,
double  newWidthZ 
) [virtual]

Set new shape width

virtual void vtkKWEPaintbrushShapeEllipsoid::SetWidth ( double  newWidth[3]  )  [virtual]

Set new shape width

virtual double* vtkKWEPaintbrushShapeEllipsoid::GetWidth (  )  [virtual]

Set new shape width

Implements vtkKWEPaintbrushShape.

virtual void vtkKWEPaintbrushShapeEllipsoid::GetWidth ( double &  ,
double &  ,
double &   
) [virtual]

Set new shape width

Implements vtkKWEPaintbrushShape.

virtual void vtkKWEPaintbrushShapeEllipsoid::GetWidth ( double  [3]  )  [virtual]

Set new shape width

virtual void vtkKWEPaintbrushShapeEllipsoid::SetResolution ( int   )  [virtual]

Set/Get the resolution of the ellipse. The resolution is the number of points on the polydata used to represent the ellipse.

virtual int vtkKWEPaintbrushShapeEllipsoid::GetResolution (  )  [virtual]

Set/Get the resolution of the ellipse. The resolution is the number of points on the polydata used to represent the ellipse.

virtual int vtkKWEPaintbrushShapeEllipsoid::Resize ( double  d[3],
int  ResizeType 
) [virtual]

See superclass documentation

Implements vtkKWEPaintbrushShape.

virtual void vtkKWEPaintbrushShapeEllipsoid::DeepCopy ( vtkKWEPaintbrushShape  )  [virtual]

Deep copy.. Synchronizes states etc.

Reimplemented from vtkKWEPaintbrushShape.

virtual void vtkKWEPaintbrushShapeEllipsoid::GetAnnotation ( char *  s  )  [virtual]

Retrieve text annotation. This returns the size of the box

Implements vtkKWEPaintbrushShape.

virtual void vtkKWEPaintbrushShapeEllipsoid::SetTransitionRegion ( double   )  [virtual]

Transition region for the grayscale brush. Default 20% of the brush radius on either side of the brush.

virtual double vtkKWEPaintbrushShapeEllipsoid::GetTransitionRegion (  )  [virtual]

Transition region for the grayscale brush. Default 20% of the brush radius on either side of the brush.

virtual void vtkKWEPaintbrushShapeEllipsoid::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.


Member Data Documentation

Definition at line 103 of file vtkKWEPaintbrushShapeEllipsoid.h.

Definition at line 104 of file vtkKWEPaintbrushShapeEllipsoid.h.

Definition at line 105 of file vtkKWEPaintbrushShapeEllipsoid.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines