ParaView
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkTransferFunctionEditorRepresentation Class Reference

a representation for a 3D widget for manipulating a transfer function More...

#include <vtkTransferFunctionEditorRepresentation.h>

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

List of all members.

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void ReleaseGraphicsResources (vtkWindow *window)
virtual unsigned int GetNumberOfHandles ()
virtual void SetColorFunction (vtkColorTransferFunction *color)
virtual void SetColorLinesByScalar (int)
virtual void SetLinesColor (double, double, double)
virtual void SetElementLighting (double, double, double, double)
virtual void SetBorderWidth (int width)
void SetHistogram (vtkIntArray *histogram)
virtual void SetHistogramVisibility (int)
virtual int GetHistogramVisibility ()
virtual void HistogramVisibilityOn ()
virtual void HistogramVisibilityOff ()
virtual void SetShowColorFunctionInHistogram (int)
virtual int RenderOpaqueGeometry (vtkViewport *viewport)
virtual int RenderTranslucentPolygonalGeometry (vtkViewport *viewport)
virtual int HasTranslucentPolygonalGeometry ()
virtual void SetDisplaySize (int x, int y)
virtual void SetDisplaySize (int size[2])
virtual intGetDisplaySize ()
virtual void GetDisplaySize (int &, int &)
virtual void GetDisplaySize (int[2])
virtual void SetScalarBinRange (int, int)
void SetScalarBinRange (int[2])
virtual void SetActiveHandle (unsigned int)
virtual unsigned int GetActiveHandle ()
virtual void SetHistogramColor (double, double, double)
virtual void SetHistogramColor (double[3])
virtual void SetShowColorFunctionInBackground (int)
virtual int GetShowColorFunctionInBackground ()
virtual void ShowColorFunctionInBackgroundOn ()
virtual void ShowColorFunctionInBackgroundOff ()
virtual void SetColorElementsByColorFunction (int)
virtual int GetColorElementsByColorFunction ()
virtual void SetElementsColor (double, double, double)
virtual void SetElementsColor (double[3])
virtual void SetVisibleScalarRange (double, double)
void SetVisibleScalarRange (double[2])
virtual doubleGetVisibleScalarRange ()
virtual void GetVisibleScalarRange (double &, double &)
virtual void GetVisibleScalarRange (double[2])
virtual unsigned long GetHistogramMTime ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static
vtkTransferFunctionEditorRepresentation
SafeDownCast (vtkObject *o)

Protected Member Functions

 vtkTransferFunctionEditorRepresentation ()
 ~vtkTransferFunctionEditorRepresentation ()
void InitializeImage (vtkImageData *image)
void UpdateActorSize (vtkActor *actor)
void UpdateHistogramMTime ()

Protected Attributes

vtkImageDataHistogramImage
vtkTextureHistogramTexture
vtkPolyDataHistogramGeometry
vtkPolyDataMapperHistogramMapper
vtkActorHistogramActor
int HistogramVisibility
int ColorElementsByColorFunction
double ElementsColor [3]
int DisplaySize [2]
int ScalarBinRange [2]
double HistogramColor [3]
vtkColorTransferFunctionColorFunction
vtkPolyDataBackgroundImage
vtkPolyDataMapperBackgroundMapper
vtkActorBackgroundActor
int ShowColorFunctionInBackground
int ShowColorFunctionInHistogram
double VisibleScalarRange [2]
int BorderWidth
unsigned long HistogramMTime
vtkIntArrayHistogram

Detailed Description

a representation for a 3D widget for manipulating a transfer function

vtkTransferFunctionEditorRepresentation is a superclass for representations associated with subclasses of vtkTransferFunctionEditorWidget. In addition to displaying the nodes / shapes for specifying the transfer function, this class also allows you to display a histogram in the background.

See also:
vtkTransferFunctionEditorRepresentationSimple1D vtkTransferFunctionEditorRepresentationShapes1D vtkTransferFunctionEditorRepresentationShapes2D

Definition at line 42 of file vtkTransferFunctionEditorRepresentation.h.


Constructor & Destructor Documentation

vtkTransferFunctionEditorRepresentation::vtkTransferFunctionEditorRepresentation ( ) [protected]
vtkTransferFunctionEditorRepresentation::~vtkTransferFunctionEditorRepresentation ( ) [protected]

Member Function Documentation

virtual const char* vtkTransferFunctionEditorRepresentation::GetClassName ( ) [virtual]
static int vtkTransferFunctionEditorRepresentation::IsTypeOf ( const char *  type) [static]
virtual int vtkTransferFunctionEditorRepresentation::IsA ( const char *  type) [virtual]
static vtkTransferFunctionEditorRepresentation* vtkTransferFunctionEditorRepresentation::SafeDownCast ( vtkObject o) [static]
void vtkTransferFunctionEditorRepresentation::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]
virtual void vtkTransferFunctionEditorRepresentation::SetHistogramVisibility ( int  ) [virtual]

Set/Get the visibility of the histogram. Defaults to on.

virtual int vtkTransferFunctionEditorRepresentation::GetHistogramVisibility ( ) [virtual]

Set/Get the visibility of the histogram. Defaults to on.

virtual void vtkTransferFunctionEditorRepresentation::HistogramVisibilityOn ( ) [virtual]

Set/Get the visibility of the histogram. Defaults to on.

virtual void vtkTransferFunctionEditorRepresentation::HistogramVisibilityOff ( ) [virtual]

Set/Get the visibility of the histogram. Defaults to on.

virtual void vtkTransferFunctionEditorRepresentation::SetShowColorFunctionInHistogram ( int  ) [virtual]

Toggle whether to display the color function in the histogram.

Reimplemented in vtkTransferFunctionEditorRepresentation1D.

virtual int vtkTransferFunctionEditorRepresentation::RenderOpaqueGeometry ( vtkViewport viewport) [virtual]

Rendering methods

Reimplemented from vtkWidgetRepresentation.

Reimplemented in vtkTransferFunctionEditorRepresentationSimple1D.

virtual int vtkTransferFunctionEditorRepresentation::RenderTranslucentPolygonalGeometry ( vtkViewport viewport) [virtual]

Rendering methods

Reimplemented from vtkWidgetRepresentation.

Reimplemented in vtkTransferFunctionEditorRepresentationSimple1D.

virtual int vtkTransferFunctionEditorRepresentation::HasTranslucentPolygonalGeometry ( ) [virtual]

Rendering methods

Reimplemented from vtkWidgetRepresentation.

Reimplemented in vtkTransferFunctionEditorRepresentationSimple1D.

virtual void vtkTransferFunctionEditorRepresentation::ReleaseGraphicsResources ( vtkWindow window) [virtual]

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being consumed by this widget representation. The parameter window could be used to determine which graphic resources to release.

Reimplemented from vtkWidgetRepresentation.

Reimplemented in vtkTransferFunctionEditorRepresentationSimple1D.

virtual void vtkTransferFunctionEditorRepresentation::SetDisplaySize ( int  x,
int  y 
) [virtual]

Set/get the size of the display containing this representation.

virtual void vtkTransferFunctionEditorRepresentation::SetDisplaySize ( int  size[2]) [inline, virtual]

Set/get the size of the display containing this representation.

Definition at line 76 of file vtkTransferFunctionEditorRepresentation.h.

virtual int* vtkTransferFunctionEditorRepresentation::GetDisplaySize ( ) [virtual]

Set/get the size of the display containing this representation.

virtual void vtkTransferFunctionEditorRepresentation::GetDisplaySize ( int ,
int  
) [virtual]

Set/get the size of the display containing this representation.

virtual void vtkTransferFunctionEditorRepresentation::GetDisplaySize ( int  [2]) [virtual]

Set/get the size of the display containing this representation.

virtual void vtkTransferFunctionEditorRepresentation::SetScalarBinRange ( int  ,
int   
) [virtual]

Set the starting and ending index into the histogram to be used when displaying the histogram behind the widget.

void vtkTransferFunctionEditorRepresentation::SetScalarBinRange ( int  [2])

Set the starting and ending index into the histogram to be used when displaying the histogram behind the widget.

virtual void vtkTransferFunctionEditorRepresentation::SetActiveHandle ( unsigned int  ) [inline, virtual]

Set/get the current handle Id.

Reimplemented in vtkTransferFunctionEditorRepresentationSimple1D.

Definition at line 89 of file vtkTransferFunctionEditorRepresentation.h.

virtual unsigned int vtkTransferFunctionEditorRepresentation::GetActiveHandle ( ) [inline, virtual]

Set/get the current handle Id.

Reimplemented in vtkTransferFunctionEditorRepresentationSimple1D.

Definition at line 90 of file vtkTransferFunctionEditorRepresentation.h.

virtual unsigned int vtkTransferFunctionEditorRepresentation::GetNumberOfHandles ( ) [inline, virtual]

Get the number of existing handles.

Reimplemented in vtkTransferFunctionEditorRepresentationSimple1D.

Definition at line 94 of file vtkTransferFunctionEditorRepresentation.h.

virtual void vtkTransferFunctionEditorRepresentation::SetHistogramColor ( double  ,
double  ,
double   
) [virtual]

Set the color of the histogram.

virtual void vtkTransferFunctionEditorRepresentation::SetHistogramColor ( double  [3]) [virtual]

Set the color of the histogram.

virtual void vtkTransferFunctionEditorRepresentation::SetColorFunction ( vtkColorTransferFunction color) [virtual]

Set the color transfer function being modified.

Reimplemented in vtkTransferFunctionEditorRepresentationSimple1D, and vtkTransferFunctionEditorRepresentation1D.

virtual void vtkTransferFunctionEditorRepresentation::SetShowColorFunctionInBackground ( int  ) [virtual]

Toggle whether to display to color transfer function as a gradient in the background of the editor.

virtual int vtkTransferFunctionEditorRepresentation::GetShowColorFunctionInBackground ( ) [virtual]

Toggle whether to display to color transfer function as a gradient in the background of the editor.

virtual void vtkTransferFunctionEditorRepresentation::ShowColorFunctionInBackgroundOn ( ) [virtual]

Toggle whether to display to color transfer function as a gradient in the background of the editor.

virtual void vtkTransferFunctionEditorRepresentation::ShowColorFunctionInBackgroundOff ( ) [virtual]

Toggle whether to display to color transfer function as a gradient in the background of the editor.

virtual void vtkTransferFunctionEditorRepresentation::SetColorLinesByScalar ( int  ) [inline, virtual]

Tell the representation whether the lines should be a solid color or whether they should display the color transfer function.

Reimplemented in vtkTransferFunctionEditorRepresentationSimple1D.

Definition at line 114 of file vtkTransferFunctionEditorRepresentation.h.

virtual void vtkTransferFunctionEditorRepresentation::SetLinesColor ( double  ,
double  ,
double   
) [inline, virtual]

Specify the color to use for the lines if they are not displaying the color transfer function.

Reimplemented in vtkTransferFunctionEditorRepresentationSimple1D.

Definition at line 118 of file vtkTransferFunctionEditorRepresentation.h.

virtual void vtkTransferFunctionEditorRepresentation::SetColorElementsByColorFunction ( int  ) [virtual]

Specify whether the node color should be determined by the color transfer function.

Reimplemented in vtkTransferFunctionEditorRepresentationSimple1D.

virtual int vtkTransferFunctionEditorRepresentation::GetColorElementsByColorFunction ( ) [virtual]

Specify whether the node color should be determined by the color transfer function.

virtual void vtkTransferFunctionEditorRepresentation::SetElementsColor ( double  ,
double  ,
double   
) [virtual]

Set the color to use for nodes if not coloring them by the color transfer function.

Reimplemented in vtkTransferFunctionEditorRepresentationSimple1D.

virtual void vtkTransferFunctionEditorRepresentation::SetElementsColor ( double  [3]) [virtual]

Set the color to use for nodes if not coloring them by the color transfer function.

Reimplemented in vtkTransferFunctionEditorRepresentationSimple1D.

virtual void vtkTransferFunctionEditorRepresentation::SetVisibleScalarRange ( double  ,
double   
) [virtual]

Set/get the visible scalar range.

void vtkTransferFunctionEditorRepresentation::SetVisibleScalarRange ( double  [2])

Set/get the visible scalar range.

virtual double* vtkTransferFunctionEditorRepresentation::GetVisibleScalarRange ( ) [virtual]

Set/get the visible scalar range.

virtual void vtkTransferFunctionEditorRepresentation::GetVisibleScalarRange ( double ,
double  
) [virtual]

Set/get the visible scalar range.

virtual void vtkTransferFunctionEditorRepresentation::GetVisibleScalarRange ( double  [2]) [virtual]

Set/get the visible scalar range.

virtual void vtkTransferFunctionEditorRepresentation::SetElementLighting ( double  ,
double  ,
double  ,
double   
) [inline, virtual]

Set the lighting parameters for the transfer function editor elements.

Reimplemented in vtkTransferFunctionEditorRepresentationSimple1D.

Definition at line 141 of file vtkTransferFunctionEditorRepresentation.h.

virtual void vtkTransferFunctionEditorRepresentation::SetBorderWidth ( int  width) [virtual]

Set the border width (in pixels) so the histogram and background images may be sized accordingly.

void vtkTransferFunctionEditorRepresentation::SetHistogram ( vtkIntArray histogram)

Set the int array containing the histogram (computed by the associated vtkTransferFunctionEditorWidget1D).

virtual unsigned long vtkTransferFunctionEditorRepresentation::GetHistogramMTime ( ) [virtual]

Get the modified time associated with the histogram.

void vtkTransferFunctionEditorRepresentation::InitializeImage ( vtkImageData image) [protected]
void vtkTransferFunctionEditorRepresentation::UpdateActorSize ( vtkActor actor) [protected]
void vtkTransferFunctionEditorRepresentation::UpdateHistogramMTime ( ) [protected]

Member Data Documentation

Definition at line 160 of file vtkTransferFunctionEditorRepresentation.h.

Definition at line 161 of file vtkTransferFunctionEditorRepresentation.h.

Definition at line 162 of file vtkTransferFunctionEditorRepresentation.h.

Definition at line 163 of file vtkTransferFunctionEditorRepresentation.h.

Definition at line 164 of file vtkTransferFunctionEditorRepresentation.h.

Definition at line 165 of file vtkTransferFunctionEditorRepresentation.h.

Definition at line 166 of file vtkTransferFunctionEditorRepresentation.h.

Definition at line 167 of file vtkTransferFunctionEditorRepresentation.h.

Definition at line 168 of file vtkTransferFunctionEditorRepresentation.h.

Definition at line 169 of file vtkTransferFunctionEditorRepresentation.h.

Definition at line 170 of file vtkTransferFunctionEditorRepresentation.h.

Definition at line 171 of file vtkTransferFunctionEditorRepresentation.h.

Definition at line 172 of file vtkTransferFunctionEditorRepresentation.h.

Definition at line 173 of file vtkTransferFunctionEditorRepresentation.h.

Definition at line 174 of file vtkTransferFunctionEditorRepresentation.h.

Definition at line 175 of file vtkTransferFunctionEditorRepresentation.h.

Definition at line 176 of file vtkTransferFunctionEditorRepresentation.h.

Definition at line 177 of file vtkTransferFunctionEditorRepresentation.h.

Definition at line 178 of file vtkTransferFunctionEditorRepresentation.h.

Definition at line 179 of file vtkTransferFunctionEditorRepresentation.h.

Definition at line 180 of file vtkTransferFunctionEditorRepresentation.h.


The documentation for this class was generated from the following file: