Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkPVVolumeAppearanceEditor Class Reference

Edit volume appearance. More...

#include <vtkPVVolumeAppearanceEditor.h>

Inheritance diagram for vtkPVVolumeAppearanceEditor:

Inheritance graph
[legend]
Collaboration diagram for vtkPVVolumeAppearanceEditor:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vtkTypeRevisionMacro (vtkPVVolumeAppearanceEditor, vtkPVTracedWidget)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void Create (vtkKWApplication *app)
void BackButtonCallback ()
void SetPVRenderView (vtkPVRenderView *view)
void Close ()
virtual void UpdateEnableState ()
void SetPVSourceAndArrayInfo (vtkPVSource *source, vtkPVArrayInformation *arrayInfo)
void VolumePropertyChangedCallback ()
void VolumePropertyChangingCallback ()
void SetHSVWrap (int w)
void SaveState (ofstream *file)
void RefreshGUI ()
void SetScalarOpacityUnitDistance (double d)
void SetColorSpace (int s)
void AppendColorPoint (double s, double r, double g, double b)
void RemoveAllColorPoints ()
void AppendScalarOpacityPoint (double scalar, double opacity)
void RemoveAllScalarOpacityPoints ()

Static Public Member Functions

vtkPVVolumeAppearanceEditorNew ()

Protected Member Functions

 vtkPVVolumeAppearanceEditor ()
 ~vtkPVVolumeAppearanceEditor ()
void RenderView ()
void VolumePropertyInternalCallback ()
void UpdateFromProxy ()

Protected Attributes

vtkKWPushButtonBackButton
vtkPVRenderViewPVRenderView
vtkPVSourcePVSource
vtkPVArrayInformationArrayInfo
vtkPVVolumePropertyWidgetVolumePropertyWidget
vtkVolumeProperty * InternalVolumeProperty
vtkPVVolumeAppearanceEditorObserver * VolumeAppearanceObserver

Friends

class vtkPVVolumeAppearanceEditorObserver

Detailed Description

Edit volume appearance.

This is a simple volume appearance editor that provides some basic controls for adjusting the color and opacity transfer functions.

Definition at line 35 of file vtkPVVolumeAppearanceEditor.h.


Constructor & Destructor Documentation

vtkPVVolumeAppearanceEditor::vtkPVVolumeAppearanceEditor  )  [protected]
 

vtkPVVolumeAppearanceEditor::~vtkPVVolumeAppearanceEditor  )  [protected]
 


Member Function Documentation

vtkPVVolumeAppearanceEditor* vtkPVVolumeAppearanceEditor::New  )  [static]
 

Reimplemented from vtkPVTracedWidget.

vtkPVVolumeAppearanceEditor::vtkTypeRevisionMacro vtkPVVolumeAppearanceEditor  ,
vtkPVTracedWidget 
 

void vtkPVVolumeAppearanceEditor::PrintSelf ostream &  os,
vtkIndent  indent
 

Reimplemented from vtkPVTracedWidget.

virtual void vtkPVVolumeAppearanceEditor::Create vtkKWApplication app  )  [virtual]
 

Create the widget.

Reimplemented from vtkKWCompositeWidget.

void vtkPVVolumeAppearanceEditor::BackButtonCallback  ) 
 

This method returns the user to the source page. I would eventually like to replace this by a more general back/forward ParaView navigation.

void vtkPVVolumeAppearanceEditor::SetPVRenderView vtkPVRenderView view  ) 
 

Reference to the view is needed for the back callback

void vtkPVVolumeAppearanceEditor::Close  ) 
 

virtual void vtkPVVolumeAppearanceEditor::UpdateEnableState  )  [virtual]
 

Update the "enable" state of the object and its internal parts. Depending on different Ivars (this->Enabled, the application's Limited Edition Mode, etc.), the "enable" state of the object is updated and propagated to its internal parts/subwidgets. This will, for example, enable/disable parts of the widget UI, enable/disable the visibility of 3D widgets, etc.

Reimplemented from vtkKWWidget.

void vtkPVVolumeAppearanceEditor::SetPVSourceAndArrayInfo vtkPVSource source,
vtkPVArrayInformation arrayInfo
 

void vtkPVVolumeAppearanceEditor::VolumePropertyChangedCallback  ) 
 

void vtkPVVolumeAppearanceEditor::VolumePropertyChangingCallback  ) 
 

void vtkPVVolumeAppearanceEditor::SetScalarOpacityUnitDistance double  d  ) 
 

This method can be reused for reading state files

void vtkPVVolumeAppearanceEditor::SetColorSpace int  s  ) 
 

This method can be reused for reading state files

void vtkPVVolumeAppearanceEditor::SetHSVWrap int  w  ) 
 

Set the HSV Wrap state.

void vtkPVVolumeAppearanceEditor::AppendColorPoint double  s,
double  r,
double  g,
double  b
 

This is a method for trace to append the points to Color Transfer function. It's not recommended to use this to add serveral points as it's slow and cumbersome.

void vtkPVVolumeAppearanceEditor::RemoveAllColorPoints  ) 
 

This is a method for trace to append the points to Color Transfer function. It's not recommended to use this to add serveral points as it's slow and cumbersome.

void vtkPVVolumeAppearanceEditor::AppendScalarOpacityPoint double  scalar,
double  opacity
 

This is a method for trace to append the points to Piecewise function. It's not recommended to use this to add serveral points as it's slow and cumbersome.

void vtkPVVolumeAppearanceEditor::RemoveAllScalarOpacityPoints  ) 
 

This is a method for trace to append the points to Piecewise function. It's not recommended to use this to add serveral points as it's slow and cumbersome.

void vtkPVVolumeAppearanceEditor::SaveState ofstream *  file  ) 
 

Save State

void vtkPVVolumeAppearanceEditor::RefreshGUI  ) 
 

Trace method to refresh the GUI from the Proxy.

void vtkPVVolumeAppearanceEditor::RenderView  )  [protected]
 

void vtkPVVolumeAppearanceEditor::VolumePropertyInternalCallback  )  [protected]
 

void vtkPVVolumeAppearanceEditor::UpdateFromProxy  )  [protected]
 


Friends And Related Function Documentation

friend class vtkPVVolumeAppearanceEditorObserver [friend]
 

Definition at line 127 of file vtkPVVolumeAppearanceEditor.h.


Member Data Documentation

vtkKWPushButton* vtkPVVolumeAppearanceEditor::BackButton [protected]
 

Definition at line 104 of file vtkPVVolumeAppearanceEditor.h.

vtkPVRenderView* vtkPVVolumeAppearanceEditor::PVRenderView [protected]
 

Definition at line 106 of file vtkPVVolumeAppearanceEditor.h.

vtkPVSource* vtkPVVolumeAppearanceEditor::PVSource [protected]
 

Definition at line 108 of file vtkPVVolumeAppearanceEditor.h.

vtkPVArrayInformation* vtkPVVolumeAppearanceEditor::ArrayInfo [protected]
 

Definition at line 109 of file vtkPVVolumeAppearanceEditor.h.

vtkPVVolumePropertyWidget* vtkPVVolumeAppearanceEditor::VolumePropertyWidget [protected]
 

Definition at line 113 of file vtkPVVolumeAppearanceEditor.h.

vtkVolumeProperty* vtkPVVolumeAppearanceEditor::InternalVolumeProperty [protected]
 

Definition at line 118 of file vtkPVVolumeAppearanceEditor.h.

vtkPVVolumeAppearanceEditorObserver* vtkPVVolumeAppearanceEditor::VolumeAppearanceObserver [protected]
 

Definition at line 125 of file vtkPVVolumeAppearanceEditor.h.


The documentation for this class was generated from the following file:
Generated on Tue May 30 12:47:14 2006 for ParaView by doxygen 1.3.5