|
ParaView
|
a representation of a 3D widget for manipulating a transfer function More...
#include <vtkTransferFunctionEditorRepresentationSimple1D.h>


a representation of a 3D widget for manipulating a transfer function
vtkTransferFunctionEditorRepresentationSimple1D is the representation associated with vtkTransferFunctionEditorWidgetSimple1D. It is used for displaying / manipulating a 1D transfer function using nodes.
Definition at line 37 of file vtkTransferFunctionEditorRepresentationSimple1D.h.
| anonymous enum |
Definition at line 106 of file vtkTransferFunctionEditorRepresentationSimple1D.h.
| vtkTransferFunctionEditorRepresentationSimple1D::vtkTransferFunctionEditorRepresentationSimple1D | ( | ) | [protected] |
| vtkTransferFunctionEditorRepresentationSimple1D::~vtkTransferFunctionEditorRepresentationSimple1D | ( | ) | [protected] |
| static vtkTransferFunctionEditorRepresentationSimple1D* vtkTransferFunctionEditorRepresentationSimple1D::New | ( | ) | [static] |
Reimplemented from vtkProp.
| virtual const char* vtkTransferFunctionEditorRepresentationSimple1D::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkTransferFunctionEditorRepresentation1D.
| static int vtkTransferFunctionEditorRepresentationSimple1D::IsTypeOf | ( | const char * | type | ) | [static] |
Reimplemented from vtkTransferFunctionEditorRepresentation1D.
| virtual int vtkTransferFunctionEditorRepresentationSimple1D::IsA | ( | const char * | type | ) | [virtual] |
Reimplemented from vtkTransferFunctionEditorRepresentation1D.
| static vtkTransferFunctionEditorRepresentationSimple1D* vtkTransferFunctionEditorRepresentationSimple1D::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkTransferFunctionEditorRepresentation1D.
| void vtkTransferFunctionEditorRepresentationSimple1D::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) | [virtual] |
Reimplemented from vtkTransferFunctionEditorRepresentation1D.
| virtual void vtkTransferFunctionEditorRepresentationSimple1D::BuildRepresentation | ( | ) | [virtual] |
Put together the parts necessary for displaying this 3D widget.
Reimplemented from vtkTransferFunctionEditorRepresentation1D.
| virtual int vtkTransferFunctionEditorRepresentationSimple1D::ComputeInteractionState | ( | int | x, |
| int | y, | ||
| int | modify = 0 |
||
| ) | [virtual] |
Given (x, y) display coordinates in a renderer, with a possible flag that modifies the computation, determine the current state of the widget.
Reimplemented from vtkWidgetRepresentation.
| unsigned int vtkTransferFunctionEditorRepresentationSimple1D::CreateHandle | ( | double | displayPos[3], |
| double | scalar | ||
| ) |
Create a new handle representation for a transfer function node at a particular display position. Returns the id of the node.
| double vtkTransferFunctionEditorRepresentationSimple1D::GetHandleScalar | ( | unsigned int | idx, |
| int & | valid | ||
| ) |
Get the scalar value associated with the handle at the given index.
| virtual unsigned int vtkTransferFunctionEditorRepresentationSimple1D::GetNumberOfHandles | ( | ) | [virtual] |
Return the number of existing handles.
Reimplemented from vtkTransferFunctionEditorRepresentation.
| vtkHandleRepresentation* vtkTransferFunctionEditorRepresentationSimple1D::GetHandleRepresentation | ( | unsigned int | idx | ) |
Return the vtkHandleRepresentation (for a transfer function node) with a particular id. Returns NULL if the id is out of range.
| virtual int vtkTransferFunctionEditorRepresentationSimple1D::SetHandleDisplayPosition | ( | unsigned int | nodeNum, |
| double | pos[3], | ||
| double | scalar | ||
| ) | [virtual] |
Set/get the display position of a vtkHandleRepresentation (for a transfer function node) with a particular id. When setting the position, a return value of 1 indicates the node was set to the position indicated. A return value of 0 indicates the nodes was not repositioned.
| void vtkTransferFunctionEditorRepresentationSimple1D::GetHandleDisplayPosition | ( | unsigned int | nodeNum, |
| double | pos[3] | ||
| ) |
Set/get the display position of a vtkHandleRepresentation (for a transfer function node) with a particular id. When setting the position, a return value of 1 indicates the node was set to the position indicated. A return value of 0 indicates the nodes was not repositioned.
| double* vtkTransferFunctionEditorRepresentationSimple1D::GetHandleDisplayPosition | ( | unsigned int | nodeNum | ) |
Set/get the display position of a vtkHandleRepresentation (for a transfer function node) with a particular id. When setting the position, a return value of 1 indicates the node was set to the position indicated. A return value of 0 indicates the nodes was not repositioned.
| virtual void vtkTransferFunctionEditorRepresentationSimple1D::RemoveHandle | ( | unsigned int | id | ) | [virtual] |
Remove a vtkHandleRepresentation (for a transfer function node) with a particular id.
| void vtkTransferFunctionEditorRepresentationSimple1D::RemoveAllHandles | ( | ) |
Remove all the vtkHandleRepresentations currently used by this class.
| void vtkTransferFunctionEditorRepresentationSimple1D::SetActiveHandle | ( | unsigned int | handle | ) | [virtual] |
Set/get the index of the currently active handle (node).
Reimplemented from vtkTransferFunctionEditorRepresentation.
| virtual unsigned int vtkTransferFunctionEditorRepresentationSimple1D::GetActiveHandle | ( | ) | [virtual] |
Set/get the index of the currently active handle (node).
Reimplemented from vtkTransferFunctionEditorRepresentation.
| virtual int vtkTransferFunctionEditorRepresentationSimple1D::RenderOpaqueGeometry | ( | vtkViewport * | viewport | ) | [virtual] |
Rendering methods
Reimplemented from vtkTransferFunctionEditorRepresentation.
| virtual int vtkTransferFunctionEditorRepresentationSimple1D::RenderTranslucentPolygonalGeometry | ( | vtkViewport * | viewport | ) | [virtual] |
Rendering methods
Reimplemented from vtkTransferFunctionEditorRepresentation.
| virtual int vtkTransferFunctionEditorRepresentationSimple1D::RenderOverlay | ( | vtkViewport * | viewport | ) | [virtual] |
Rendering methods
Reimplemented from vtkWidgetRepresentation.
| virtual int vtkTransferFunctionEditorRepresentationSimple1D::HasTranslucentPolygonalGeometry | ( | ) | [virtual] |
Rendering methods
Reimplemented from vtkTransferFunctionEditorRepresentation.
| virtual void vtkTransferFunctionEditorRepresentationSimple1D::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 vtkTransferFunctionEditorRepresentation.
| void vtkTransferFunctionEditorRepresentationSimple1D::SetHandleColor | ( | unsigned int | idx, |
| double | r, | ||
| double | g, | ||
| double | b | ||
| ) |
Set the color for the specified handle.
| virtual void vtkTransferFunctionEditorRepresentationSimple1D::SetColorFunction | ( | vtkColorTransferFunction * | color | ) | [virtual] |
Pass the color transfer function to the representation. Used for coloring the lines by the color transfer function.
Reimplemented from vtkTransferFunctionEditorRepresentation1D.
| virtual void vtkTransferFunctionEditorRepresentationSimple1D::SetColorLinesByScalar | ( | int | color | ) | [virtual] |
Tell the representation whether the lines should be a solid color or whether they should display the color transfer function.
Reimplemented from vtkTransferFunctionEditorRepresentation.
| virtual void vtkTransferFunctionEditorRepresentationSimple1D::SetLinesColor | ( | double | r, |
| double | g, | ||
| double | b | ||
| ) | [virtual] |
Specify the color to use for the lines if they are not displaying the color transfer function.
Reimplemented from vtkTransferFunctionEditorRepresentation.
| virtual void vtkTransferFunctionEditorRepresentationSimple1D::SetColorElementsByColorFunction | ( | int | color | ) | [virtual] |
Specify whether the node color should be determined by the color transfer function.
Reimplemented from vtkTransferFunctionEditorRepresentation.
| virtual void vtkTransferFunctionEditorRepresentationSimple1D::SetElementsColor | ( | double | r, |
| double | g, | ||
| double | b | ||
| ) | [virtual] |
Set the color to use for nodes if not coloring them by the color transfer function.
Reimplemented from vtkTransferFunctionEditorRepresentation.
| virtual void vtkTransferFunctionEditorRepresentationSimple1D::SetElementsColor | ( | double | color[3] | ) | [inline, virtual] |
Set the color to use for nodes if not coloring them by the color transfer function.
Reimplemented from vtkTransferFunctionEditorRepresentation.
Definition at line 136 of file vtkTransferFunctionEditorRepresentationSimple1D.h.
| virtual void vtkTransferFunctionEditorRepresentationSimple1D::SetElementLighting | ( | double | ambient, |
| double | diffuse, | ||
| double | specular, | ||
| double | specularPower | ||
| ) | [virtual] |
Set the lighting parameters for the transfer function editor elements.
Reimplemented from vtkTransferFunctionEditorRepresentation.
| virtual int vtkTransferFunctionEditorRepresentationSimple1D::GetTolerance | ( | ) | [virtual] |
Get the tolerance value used for determining whether a handle is selected.
| void vtkTransferFunctionEditorRepresentationSimple1D::UpdateHandleProperty | ( | vtkPointHandleRepresentationSphere * | handleRep | ) | [protected] |
| void vtkTransferFunctionEditorRepresentationSimple1D::HighlightActiveHandle | ( | ) | [protected] |
| void vtkTransferFunctionEditorRepresentationSimple1D::ColorAllElements | ( | ) | [protected] |
vtkHandleList* vtkTransferFunctionEditorRepresentationSimple1D::Handles [protected] |
Definition at line 161 of file vtkTransferFunctionEditorRepresentationSimple1D.h.
vtkPointHandleRepresentationSphere* vtkTransferFunctionEditorRepresentationSimple1D::HandleRepresentation [protected] |
Definition at line 162 of file vtkTransferFunctionEditorRepresentationSimple1D.h.
vtkTransformPolyDataFilter* vtkTransferFunctionEditorRepresentationSimple1D::ActiveHandleFilter [protected] |
Definition at line 163 of file vtkTransferFunctionEditorRepresentationSimple1D.h.
unsigned int vtkTransferFunctionEditorRepresentationSimple1D::ActiveHandle [protected] |
Definition at line 164 of file vtkTransferFunctionEditorRepresentationSimple1D.h.
Definition at line 165 of file vtkTransferFunctionEditorRepresentationSimple1D.h.
Definition at line 167 of file vtkTransferFunctionEditorRepresentationSimple1D.h.
Definition at line 168 of file vtkTransferFunctionEditorRepresentationSimple1D.h.
Definition at line 169 of file vtkTransferFunctionEditorRepresentationSimple1D.h.
1.7.5.1