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

vtkKWParameterValueHermiteFunctionEditor Class Reference

a hermite function editor More...

#include <vtkKWParameterValueHermiteFunctionEditor.h>

Inheritance diagram for vtkKWParameterValueHermiteFunctionEditor:

Inheritance graph
[legend]
Collaboration diagram for vtkKWParameterValueHermiteFunctionEditor:

Collaboration graph
[legend]
List of all members.

Public Types

enum  { MidPointSelectionChangedEvent = 11000 }

Public Member Functions

 vtkTypeRevisionMacro (vtkKWParameterValueHermiteFunctionEditor, vtkKWParameterValueFunctionEditor)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void Create (vtkKWApplication *app)
virtual vtkKWScaleWithEntryGetMidPointEntry ()
virtual vtkKWScaleWithEntryGetSharpnessEntry ()
virtual void SelectPoint (int id)
virtual void Update ()
virtual void UpdateEnableState ()
virtual void MidPointEntryVisibilityOn ()
virtual void MidPointEntryVisibilityOff ()
virtual void SetMidPointEntryVisibility (int)
virtual int GetMidPointEntryVisibility ()
virtual void DisplayMidPointValueInParameterDomainOn ()
virtual void DisplayMidPointValueInParameterDomainOff ()
virtual void SetDisplayMidPointValueInParameterDomain (int)
virtual int GetDisplayMidPointValueInParameterDomain ()
virtual void SharpnessEntryVisibilityOn ()
virtual void SharpnessEntryVisibilityOff ()
virtual void SetSharpnessEntryVisibility (int)
virtual int GetSharpnessEntryVisibility ()
virtual void MidPointVisibilityOn ()
virtual void MidPointVisibilityOff ()
virtual void SetMidPointVisibility (int)
virtual int GetMidPointVisibility ()
virtual double * GetMidPointColor ()
virtual void GetMidPointColor (double &, double &, double &)
virtual void GetMidPointColor (double[3])
virtual void SetMidPointColor (double r, double g, double b)
virtual void SetMidPointColor (double rgb[3])
virtual double * GetSelectedMidPointColor ()
virtual void GetSelectedMidPointColor (double &, double &, double &)
virtual void GetSelectedMidPointColor (double[3])
virtual void SetSelectedMidPointColor (double r, double g, double b)
virtual void SetSelectedMidPointColor (double rgb[3])
virtual void MidPointGuidelineVisibilityOn ()
virtual void MidPointGuidelineVisibilityOff ()
virtual void SetMidPointGuidelineVisibility (int)
virtual int GetMidPointGuidelineVisibility ()
virtual void MidPointGuidelineValueVisibilityOn ()
virtual void MidPointGuidelineValueVisibilityOff ()
virtual void SetMidPointGuidelineValueVisibility (int)
virtual int GetMidPointGuidelineValueVisibility ()
virtual void SetMidPointGuidelineValueFormat (const char *)
virtual char * GetMidPointGuidelineValueFormat ()
virtual int GetSelectedMidPoint ()
virtual void SelectMidPoint (int id)
virtual void ClearMidPointSelection ()
virtual int HasMidPointSelection ()
virtual void SetMidPointSelectionChangedCommand (vtkObject *object, const char *method)
virtual int SynchronizeSingleSelection (vtkKWParameterValueFunctionEditor *b)
virtual int DoNotSynchronizeSingleSelection (vtkKWParameterValueFunctionEditor *b)
virtual int SynchronizeSameSelection (vtkKWParameterValueFunctionEditor *b)
virtual int DoNotSynchronizeSameSelection (vtkKWParameterValueFunctionEditor *b)
virtual void MidPointEntryChangedCallback ()
virtual void MidPointEntryChangingCallback ()
virtual void SharpnessEntryChangedCallback ()
virtual void SharpnessEntryChangingCallback ()
virtual void StartInteractionCallback (int x, int y)
virtual void MoveMidPointCallback (int x, int y, int button)
virtual void EndMidPointInteractionCallback (int x, int y)

Static Public Attributes

const char * MidPointTag
const char * MidPointGuidelineTag
const char * MidPointSelectedTag

Protected Member Functions

 vtkKWParameterValueHermiteFunctionEditor ()
 ~vtkKWParameterValueHermiteFunctionEditor ()
virtual int GetFunctionPointMidPoint (int id, double *pos)=0
virtual int SetFunctionPointMidPoint (int id, double pos)=0
virtual int FunctionPointMidPointIsLocked (int id)
virtual int GetFunctionPointSharpness (int id, double *sharpness)=0
virtual int SetFunctionPointSharpness (int id, double sharpness)=0
virtual int FunctionPointSharpnessIsLocked (int id)
virtual void UpdateMidPointEntries (int id)
virtual void InvokeMidPointSelectionChangedCommand ()
virtual void UpdateMidPointEntry (int id)
virtual void UpdateSharpnessEntry (int id)
virtual void PackPointEntries ()
virtual void ProcessSynchronizationEvents (vtkObject *caller, unsigned long event, void *calldata)
virtual void ProcessSynchronizationEvents2 (vtkObject *caller, unsigned long event, void *calldata)
virtual int GetMidPointCanvasCoordinates (int id, int *x, int *y, double *p)
virtual int FindMidPointAtCanvasCoordinates (int x, int y, int *id, int *c_x, int *c_y)
virtual void CreateMidPointEntry (vtkKWApplication *app)
virtual void CreateSharpnessEntry (vtkKWApplication *app)
virtual int IsPointEntriesFrameUsed ()
virtual int IsGuidelineValueCanvasUsed ()
virtual int MergePointFromEditor (vtkKWParameterValueFunctionEditor *editor, int editor_id, int *new_id)
virtual int CopyPointFromEditor (vtkKWParameterValueFunctionEditor *editor, int id)
virtual void RedrawFunction ()
virtual void RedrawFunctionDependentElements ()
virtual void RedrawSinglePointDependentElements (int id)
virtual void RedrawLine (int id1, int id2, ostrstream *tk_cmd=0)
virtual void Bind ()
virtual void UnBind ()

Protected Attributes

int MidPointEntryVisibility
int DisplayMidPointValueInParameterDomain
int SharpnessEntryVisibility
int MidPointGuidelineVisibility
int MidPointGuidelineValueVisibility
double MidPointColor [3]
double SelectedMidPointColor [3]
int SelectedMidPoint
int LastMidPointSelectionCanvasCoordinateY
double LastMidPointSelectionSharpness
char * MidPointGuidelineValueFormat
char * MidPointSelectionChangedCommand
vtkKWScaleWithEntryMidPointEntry
vtkKWScaleWithEntrySharpnessEntry

Detailed Description

a hermite function editor

This widget implements and defines the interface needed to edit an hermitian curve. On top of the superclass API that already describes each control point of the curve, several pure virtual functions are provided for subclasses to specify the midpoint and sharpness at each control point.

Thanks:
This work is part of the National Alliance for Medical Image Computing (NAMIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on the National Centers for Biomedical Computing can be obtained from http://nihroadmap.nih.gov/bioinformatics.

Definition at line 37 of file vtkKWParameterValueHermiteFunctionEditor.h.


Member Enumeration Documentation

anonymous enum
 

Events. Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events: BTX

Enumeration values:
MidPointSelectionChangedEvent 

Definition at line 157 of file vtkKWParameterValueHermiteFunctionEditor.h.


Constructor & Destructor Documentation

vtkKWParameterValueHermiteFunctionEditor::vtkKWParameterValueHermiteFunctionEditor  )  [protected]
 

vtkKWParameterValueHermiteFunctionEditor::~vtkKWParameterValueHermiteFunctionEditor  )  [protected]
 


Member Function Documentation

vtkKWParameterValueHermiteFunctionEditor::vtkTypeRevisionMacro vtkKWParameterValueHermiteFunctionEditor  ,
vtkKWParameterValueFunctionEditor 
 

void vtkKWParameterValueHermiteFunctionEditor::PrintSelf ostream &  os,
vtkIndent  indent
 

Reimplemented from vtkKWParameterValueFunctionEditor.

Reimplemented in vtkKWColorTransferFunctionEditor, and vtkKWPiecewiseFunctionEditor.

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

Create the widget.

Reimplemented from vtkKWParameterValueFunctionEditor.

Reimplemented in vtkKWColorTransferFunctionEditor, and vtkKWPiecewiseFunctionEditor.

virtual void vtkKWParameterValueHermiteFunctionEditor::MidPointEntryVisibilityOn  )  [virtual]
 

Set/Get the midpoint entry UI visibility. Not shown if superclass PointEntriesVisibility is set to Off Note: set this parameter to the proper value before calling Create() in order to minimize the footprint of the object.

virtual void vtkKWParameterValueHermiteFunctionEditor::MidPointEntryVisibilityOff  )  [virtual]
 

Set/Get the midpoint entry UI visibility. Not shown if superclass PointEntriesVisibility is set to Off Note: set this parameter to the proper value before calling Create() in order to minimize the footprint of the object.

virtual void vtkKWParameterValueHermiteFunctionEditor::SetMidPointEntryVisibility int   )  [virtual]
 

Set/Get the midpoint entry UI visibility. Not shown if superclass PointEntriesVisibility is set to Off Note: set this parameter to the proper value before calling Create() in order to minimize the footprint of the object.

virtual int vtkKWParameterValueHermiteFunctionEditor::GetMidPointEntryVisibility  )  [virtual]
 

Set/Get the midpoint entry UI visibility. Not shown if superclass PointEntriesVisibility is set to Off Note: set this parameter to the proper value before calling Create() in order to minimize the footprint of the object.

virtual vtkKWScaleWithEntry* vtkKWParameterValueHermiteFunctionEditor::GetMidPointEntry  )  [virtual]
 

Access the parameter entry.

virtual void vtkKWParameterValueHermiteFunctionEditor::DisplayMidPointValueInParameterDomainOn  )  [virtual]
 

Set/Get if the midpoint value should be displayed in the parameter domain instead of the normalized [0.0, 1.0] domain.

virtual void vtkKWParameterValueHermiteFunctionEditor::DisplayMidPointValueInParameterDomainOff  )  [virtual]
 

Set/Get if the midpoint value should be displayed in the parameter domain instead of the normalized [0.0, 1.0] domain.

virtual void vtkKWParameterValueHermiteFunctionEditor::SetDisplayMidPointValueInParameterDomain int   )  [virtual]
 

Set/Get if the midpoint value should be displayed in the parameter domain instead of the normalized [0.0, 1.0] domain.

virtual int vtkKWParameterValueHermiteFunctionEditor::GetDisplayMidPointValueInParameterDomain  )  [virtual]
 

Set/Get if the midpoint value should be displayed in the parameter domain instead of the normalized [0.0, 1.0] domain.

virtual void vtkKWParameterValueHermiteFunctionEditor::SharpnessEntryVisibilityOn  )  [virtual]
 

Set/Get the sharpness entry UI visibility. Not shown if superclass PointEntriesVisibility is set to Off Note: set this parameter to the proper value before calling Create() in order to minimize the footprint of the object.

virtual void vtkKWParameterValueHermiteFunctionEditor::SharpnessEntryVisibilityOff  )  [virtual]
 

Set/Get the sharpness entry UI visibility. Not shown if superclass PointEntriesVisibility is set to Off Note: set this parameter to the proper value before calling Create() in order to minimize the footprint of the object.

virtual void vtkKWParameterValueHermiteFunctionEditor::SetSharpnessEntryVisibility int   )  [virtual]
 

Set/Get the sharpness entry UI visibility. Not shown if superclass PointEntriesVisibility is set to Off Note: set this parameter to the proper value before calling Create() in order to minimize the footprint of the object.

virtual int vtkKWParameterValueHermiteFunctionEditor::GetSharpnessEntryVisibility  )  [virtual]
 

Set/Get the sharpness entry UI visibility. Not shown if superclass PointEntriesVisibility is set to Off Note: set this parameter to the proper value before calling Create() in order to minimize the footprint of the object.

virtual vtkKWScaleWithEntry* vtkKWParameterValueHermiteFunctionEditor::GetSharpnessEntry  )  [virtual]
 

Access the parameter entry.

virtual void vtkKWParameterValueHermiteFunctionEditor::MidPointVisibilityOn  )  [virtual]
 

Set/Get the midpoint visibility in the canvas. The style of the midpoint is a rectangle around the midpoint location. Its color is controlled using MidPointColor.

virtual void vtkKWParameterValueHermiteFunctionEditor::MidPointVisibilityOff  )  [virtual]
 

Set/Get the midpoint visibility in the canvas. The style of the midpoint is a rectangle around the midpoint location. Its color is controlled using MidPointColor.

virtual void vtkKWParameterValueHermiteFunctionEditor::SetMidPointVisibility int   )  [virtual]
 

Set/Get the midpoint visibility in the canvas. The style of the midpoint is a rectangle around the midpoint location. Its color is controlled using MidPointColor.

virtual int vtkKWParameterValueHermiteFunctionEditor::GetMidPointVisibility  )  [virtual]
 

Set/Get the midpoint visibility in the canvas. The style of the midpoint is a rectangle around the midpoint location. Its color is controlled using MidPointColor.

Reimplemented in vtkKWPiecewiseFunctionEditor.

virtual double* vtkKWParameterValueHermiteFunctionEditor::GetMidPointColor  )  [virtual]
 

Set/Get the midpoints color.

virtual void vtkKWParameterValueHermiteFunctionEditor::GetMidPointColor double &  ,
double &  ,
double & 
[virtual]
 

Set/Get the midpoints color.

virtual void vtkKWParameterValueHermiteFunctionEditor::GetMidPointColor double  [3]  )  [virtual]
 

Set/Get the midpoints color.

virtual void vtkKWParameterValueHermiteFunctionEditor::SetMidPointColor double  r,
double  g,
double  b
[virtual]
 

Set/Get the midpoints color.

virtual void vtkKWParameterValueHermiteFunctionEditor::SetMidPointColor double  rgb[3]  )  [inline, virtual]
 

Set/Get the midpoints color.

Definition at line 93 of file vtkKWParameterValueHermiteFunctionEditor.h.

virtual double* vtkKWParameterValueHermiteFunctionEditor::GetSelectedMidPointColor  )  [virtual]
 

Set/Get the selected midpoint color.

virtual void vtkKWParameterValueHermiteFunctionEditor::GetSelectedMidPointColor double &  ,
double &  ,
double & 
[virtual]
 

Set/Get the selected midpoint color.

virtual void vtkKWParameterValueHermiteFunctionEditor::GetSelectedMidPointColor double  [3]  )  [virtual]
 

Set/Get the selected midpoint color.

virtual void vtkKWParameterValueHermiteFunctionEditor::SetSelectedMidPointColor double  r,
double  g,
double  b
[virtual]
 

Set/Get the selected midpoint color.

virtual void vtkKWParameterValueHermiteFunctionEditor::SetSelectedMidPointColor double  rgb[3]  )  [inline, virtual]
 

Set/Get the selected midpoint color.

Definition at line 101 of file vtkKWParameterValueHermiteFunctionEditor.h.

virtual void vtkKWParameterValueHermiteFunctionEditor::MidPointGuidelineVisibilityOn  )  [virtual]
 

Set/Get the midpoint guideline visibility in the canvas (for ex: a vertical line at each midpoint). The style of the midpoint guidelines is the same as the style of the superclass point guideline (PointGuidelineStyle) for consistency.

virtual void vtkKWParameterValueHermiteFunctionEditor::MidPointGuidelineVisibilityOff  )  [virtual]
 

Set/Get the midpoint guideline visibility in the canvas (for ex: a vertical line at each midpoint). The style of the midpoint guidelines is the same as the style of the superclass point guideline (PointGuidelineStyle) for consistency.

virtual void vtkKWParameterValueHermiteFunctionEditor::SetMidPointGuidelineVisibility int   )  [virtual]
 

Set/Get the midpoint guideline visibility in the canvas (for ex: a vertical line at each midpoint). The style of the midpoint guidelines is the same as the style of the superclass point guideline (PointGuidelineStyle) for consistency.

virtual int vtkKWParameterValueHermiteFunctionEditor::GetMidPointGuidelineVisibility  )  [virtual]
 

Set/Get the midpoint guideline visibility in the canvas (for ex: a vertical line at each midpoint). The style of the midpoint guidelines is the same as the style of the superclass point guideline (PointGuidelineStyle) for consistency.

virtual void vtkKWParameterValueHermiteFunctionEditor::MidPointGuidelineValueVisibilityOn  )  [virtual]
 

Set/Get the midpoint guideline value visibility in the canvas (i.e., a value on top of the guideline). Note that the value is not displayed if MidPointGuidelineVisibility is set to Off (i.e. if we do not display the guideline itself, why displaying the value ?).

virtual void vtkKWParameterValueHermiteFunctionEditor::MidPointGuidelineValueVisibilityOff  )  [virtual]
 

Set/Get the midpoint guideline value visibility in the canvas (i.e., a value on top of the guideline). Note that the value is not displayed if MidPointGuidelineVisibility is set to Off (i.e. if we do not display the guideline itself, why displaying the value ?).

virtual void vtkKWParameterValueHermiteFunctionEditor::SetMidPointGuidelineValueVisibility int   )  [virtual]
 

Set/Get the midpoint guideline value visibility in the canvas (i.e., a value on top of the guideline). Note that the value is not displayed if MidPointGuidelineVisibility is set to Off (i.e. if we do not display the guideline itself, why displaying the value ?).

virtual int vtkKWParameterValueHermiteFunctionEditor::GetMidPointGuidelineValueVisibility  )  [virtual]
 

Set/Get the midpoint guideline value visibility in the canvas (i.e., a value on top of the guideline). Note that the value is not displayed if MidPointGuidelineVisibility is set to Off (i.e. if we do not display the guideline itself, why displaying the value ?).

virtual void vtkKWParameterValueHermiteFunctionEditor::SetMidPointGuidelineValueFormat const char *   )  [virtual]
 

Set/Get the midpoint guideline value printf format.

virtual char* vtkKWParameterValueHermiteFunctionEditor::GetMidPointGuidelineValueFormat  )  [virtual]
 

Set/Get the midpoint guideline value printf format.

virtual int vtkKWParameterValueHermiteFunctionEditor::GetSelectedMidPoint  )  [virtual]
 

Select/Deselect the midpoint between two adjacent points 'id' and 'id + 1'. Retrieve the midpoint selection, clear it, etc. (-1 if none selected)

virtual void vtkKWParameterValueHermiteFunctionEditor::SelectMidPoint int  id  )  [virtual]
 

Select/Deselect the midpoint between two adjacent points 'id' and 'id + 1'. Retrieve the midpoint selection, clear it, etc. (-1 if none selected)

virtual void vtkKWParameterValueHermiteFunctionEditor::ClearMidPointSelection  )  [virtual]
 

Select/Deselect the midpoint between two adjacent points 'id' and 'id + 1'. Retrieve the midpoint selection, clear it, etc. (-1 if none selected)

virtual int vtkKWParameterValueHermiteFunctionEditor::HasMidPointSelection  )  [virtual]
 

Select/Deselect the midpoint between two adjacent points 'id' and 'id + 1'. Retrieve the midpoint selection, clear it, etc. (-1 if none selected)

virtual void vtkKWParameterValueHermiteFunctionEditor::SelectPoint int  id  )  [virtual]
 

Select a point. Override the superclass so that selecting a point will clear the midpoint selection.

Reimplemented from vtkKWParameterValueFunctionEditor.

virtual void vtkKWParameterValueHermiteFunctionEditor::SetMidPointSelectionChangedCommand vtkObject *  object,
const char *  method
[virtual]
 

Set commands. SelectionChanged is called when the midpoint selection was changed or on deselection.

virtual int vtkKWParameterValueHermiteFunctionEditor::SynchronizeSingleSelection vtkKWParameterValueFunctionEditor b  )  [virtual]
 

Synchronize single selection between two editors A and B. Override the superclass to take the midpoint selection into account Return 1 on success, 0 otherwise.

Reimplemented from vtkKWParameterValueFunctionEditor.

virtual int vtkKWParameterValueHermiteFunctionEditor::DoNotSynchronizeSingleSelection vtkKWParameterValueFunctionEditor b  )  [virtual]
 

Synchronize single selection between two editors A and B. Override the superclass to take the midpoint selection into account Return 1 on success, 0 otherwise.

Reimplemented from vtkKWParameterValueFunctionEditor.

virtual int vtkKWParameterValueHermiteFunctionEditor::SynchronizeSameSelection vtkKWParameterValueFunctionEditor b  )  [virtual]
 

Synchronize same selection between two editors A and B. Override the superclass to take the midpoint selection into account Return 1 on success, 0 otherwise.

Reimplemented from vtkKWParameterValueFunctionEditor.

virtual int vtkKWParameterValueHermiteFunctionEditor::DoNotSynchronizeSameSelection vtkKWParameterValueFunctionEditor b  )  [virtual]
 

Synchronize same selection between two editors A and B. Override the superclass to take the midpoint selection into account Return 1 on success, 0 otherwise.

Reimplemented from vtkKWParameterValueFunctionEditor.

virtual void vtkKWParameterValueHermiteFunctionEditor::Update  )  [virtual]
 

Update the whole UI depending on the value of the Ivars

Reimplemented from vtkKWParameterValueFunctionEditor.

Reimplemented in vtkKWColorTransferFunctionEditor, and vtkKWPiecewiseFunctionEditor.

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

Reimplemented in vtkKWColorTransferFunctionEditor, and vtkKWPiecewiseFunctionEditor.

virtual void vtkKWParameterValueHermiteFunctionEditor::MidPointEntryChangedCallback  )  [virtual]
 

Callbacks

virtual void vtkKWParameterValueHermiteFunctionEditor::MidPointEntryChangingCallback  )  [virtual]
 

Callbacks

virtual void vtkKWParameterValueHermiteFunctionEditor::SharpnessEntryChangedCallback  )  [virtual]
 

Callbacks

virtual void vtkKWParameterValueHermiteFunctionEditor::SharpnessEntryChangingCallback  )  [virtual]
 

Callbacks

virtual void vtkKWParameterValueHermiteFunctionEditor::StartInteractionCallback int  x,
int  y
[virtual]
 

Callbacks

Reimplemented from vtkKWParameterValueFunctionEditor.

virtual void vtkKWParameterValueHermiteFunctionEditor::MoveMidPointCallback int  x,
int  y,
int  button
[virtual]
 

Callbacks

virtual void vtkKWParameterValueHermiteFunctionEditor::EndMidPointInteractionCallback int  x,
int  y
[virtual]
 

Callbacks

virtual int vtkKWParameterValueHermiteFunctionEditor::GetFunctionPointMidPoint int  id,
double *  pos
[protected, pure virtual]
 

Retrieve the midpoint between two adjacent points 'id' and 'id + 1'. The midpoint is the normalized distance between the two points at which the interpolated value reaches the median value in the value space. Return 1 on success (there is a midpoint at normalized position 'pos'), 0 otherwise. The default implementation here does not provide any midpoint.

Implemented in vtkKWColorTransferFunctionEditor, and vtkKWPiecewiseFunctionEditor.

virtual int vtkKWParameterValueHermiteFunctionEditor::SetFunctionPointMidPoint int  id,
double  pos
[protected, pure virtual]
 

Set the midpoint between two adjacent points 'id' and 'id + 1'. Return 1 on success (the midpoint was successfully set at normalized position 'pos'), 0 otherwise. The default implementation here does not provide any midpoint.

Implemented in vtkKWColorTransferFunctionEditor, and vtkKWPiecewiseFunctionEditor.

virtual int vtkKWParameterValueHermiteFunctionEditor::FunctionPointMidPointIsLocked int  id  )  [protected, virtual]
 

Return 1 if the 'midpoint' of the point 'id' is locked (can/should not be changed/edited), 0 otherwise.

Reimplemented in vtkKWPiecewiseFunctionEditor.

virtual int vtkKWParameterValueHermiteFunctionEditor::GetFunctionPointSharpness int  id,
double *  sharpness
[protected, pure virtual]
 

Retrieve the sharpness of the transition between two adjacent points 'id' and 'id + 1'. Return 1 on success (there is a sharpness defined for this point), 0 otherwise.

Implemented in vtkKWColorTransferFunctionEditor, and vtkKWPiecewiseFunctionEditor.

virtual int vtkKWParameterValueHermiteFunctionEditor::SetFunctionPointSharpness int  id,
double  sharpness
[protected, pure virtual]
 

Set the sharpness of the transition between two adjacent points 'id' and 'id + 1'. Return 1 on success (the sharpness was successfully set), 0 otherwise.

Implemented in vtkKWColorTransferFunctionEditor, and vtkKWPiecewiseFunctionEditor.

virtual int vtkKWParameterValueHermiteFunctionEditor::FunctionPointSharpnessIsLocked int  id  )  [protected, virtual]
 

Return 1 if the 'sharpness' of the point 'id' is locked (can/should not be changed/edited), 0 otherwise.

Reimplemented in vtkKWPiecewiseFunctionEditor.

virtual void vtkKWParameterValueHermiteFunctionEditor::UpdateMidPointEntries int  id  )  [protected, virtual]
 

Update mi9dpoint entries

virtual int vtkKWParameterValueHermiteFunctionEditor::GetMidPointCanvasCoordinates int  id,
int *  x,
int *  y,
double *  p
[protected, virtual]
 

Higher-level methods to manipulate the function.

virtual int vtkKWParameterValueHermiteFunctionEditor::FindMidPointAtCanvasCoordinates int  x,
int  y,
int *  id,
int *  c_x,
int *  c_y
[protected, virtual]
 

Higher-level methods to manipulate the function.

virtual void vtkKWParameterValueHermiteFunctionEditor::InvokeMidPointSelectionChangedCommand  )  [protected, virtual]
 

virtual void vtkKWParameterValueHermiteFunctionEditor::CreateMidPointEntry vtkKWApplication app  )  [protected, virtual]
 

Create some objects on the fly (lazy creation, to allow for a smaller footprint)

virtual void vtkKWParameterValueHermiteFunctionEditor::CreateSharpnessEntry vtkKWApplication app  )  [protected, virtual]
 

Create some objects on the fly (lazy creation, to allow for a smaller footprint)

virtual int vtkKWParameterValueHermiteFunctionEditor::IsPointEntriesFrameUsed  )  [protected, virtual]
 

Create some objects on the fly (lazy creation, to allow for a smaller footprint)

Reimplemented from vtkKWParameterValueFunctionEditor.

Reimplemented in vtkKWColorTransferFunctionEditor, and vtkKWPiecewiseFunctionEditor.

virtual int vtkKWParameterValueHermiteFunctionEditor::IsGuidelineValueCanvasUsed  )  [protected, virtual]
 

Create some objects on the fly (lazy creation, to allow for a smaller footprint)

Reimplemented from vtkKWParameterValueFunctionEditor.

virtual void vtkKWParameterValueHermiteFunctionEditor::UpdateMidPointEntry int  id  )  [protected, virtual]
 

Update the midpoint entry according to the midpoint of a point

virtual void vtkKWParameterValueHermiteFunctionEditor::UpdateSharpnessEntry int  id  )  [protected, virtual]
 

Update the sharpness entry according to the sharpness of a point

virtual int vtkKWParameterValueHermiteFunctionEditor::MergePointFromEditor vtkKWParameterValueFunctionEditor editor,
int  editor_id,
int *  new_id
[protected, virtual]
 

Merge the point 'editor_id' from another function editor 'editor' into our instance. Override the super to pass the midpoint and sharpness too

Reimplemented from vtkKWParameterValueFunctionEditor.

virtual int vtkKWParameterValueHermiteFunctionEditor::CopyPointFromEditor vtkKWParameterValueFunctionEditor editor,
int  id
[protected, virtual]
 

Copy the point 'id' parameter and values from another function editor 'editor' into the point 'id' in the instance. Override the super to pass the midpoint and sharpness too

Reimplemented from vtkKWParameterValueFunctionEditor.

virtual void vtkKWParameterValueHermiteFunctionEditor::RedrawFunction  )  [protected, virtual]
 

Redraw the whole function or a specific point, or the line between two points. Overriden to take midpoints into account BTX

Reimplemented from vtkKWParameterValueFunctionEditor.

virtual void vtkKWParameterValueHermiteFunctionEditor::RedrawFunctionDependentElements  )  [protected, virtual]
 

Redraw the whole function or a specific point, or the line between two points. Overriden to take midpoints into account BTX

Reimplemented from vtkKWParameterValueFunctionEditor.

Reimplemented in vtkKWColorTransferFunctionEditor.

virtual void vtkKWParameterValueHermiteFunctionEditor::RedrawSinglePointDependentElements int  id  )  [protected, virtual]
 

Redraw the whole function or a specific point, or the line between two points. Overriden to take midpoints into account BTX

Reimplemented from vtkKWParameterValueFunctionEditor.

Reimplemented in vtkKWColorTransferFunctionEditor.

virtual void vtkKWParameterValueHermiteFunctionEditor::RedrawLine int  id1,
int  id2,
ostrstream *  tk_cmd = 0
[protected, virtual]
 

Redraw the whole function or a specific point, or the line between two points. Overriden to take midpoints into account BTX

Reimplemented from vtkKWParameterValueFunctionEditor.

virtual void vtkKWParameterValueHermiteFunctionEditor::PackPointEntries  )  [protected, virtual]
 

Pack the widget

Reimplemented from vtkKWParameterValueFunctionEditor.

Reimplemented in vtkKWColorTransferFunctionEditor, and vtkKWPiecewiseFunctionEditor.

virtual void vtkKWParameterValueHermiteFunctionEditor::Bind  )  [protected, virtual]
 

Bind/Unbind all widgets.

Reimplemented from vtkKWParameterValueFunctionEditor.

virtual void vtkKWParameterValueHermiteFunctionEditor::UnBind  )  [protected, virtual]
 

Bind/Unbind all widgets.

Reimplemented from vtkKWParameterValueFunctionEditor.

virtual void vtkKWParameterValueHermiteFunctionEditor::ProcessSynchronizationEvents vtkObject *  caller,
unsigned long  event,
void *  calldata
[protected, virtual]
 

Reimplemented from vtkKWParameterValueFunctionEditor.

virtual void vtkKWParameterValueHermiteFunctionEditor::ProcessSynchronizationEvents2 vtkObject *  caller,
unsigned long  event,
void *  calldata
[protected, virtual]
 

Reimplemented from vtkKWParameterValueFunctionEditor.


Member Data Documentation

const char* vtkKWParameterValueHermiteFunctionEditor::MidPointTag [static]
 

Some constants BTX

Definition at line 208 of file vtkKWParameterValueHermiteFunctionEditor.h.

const char* vtkKWParameterValueHermiteFunctionEditor::MidPointGuidelineTag [static]
 

Some constants BTX

Definition at line 209 of file vtkKWParameterValueHermiteFunctionEditor.h.

const char* vtkKWParameterValueHermiteFunctionEditor::MidPointSelectedTag [static]
 

Some constants BTX

Definition at line 210 of file vtkKWParameterValueHermiteFunctionEditor.h.

int vtkKWParameterValueHermiteFunctionEditor::MidPointEntryVisibility [protected]
 

Definition at line 260 of file vtkKWParameterValueHermiteFunctionEditor.h.

int vtkKWParameterValueHermiteFunctionEditor::DisplayMidPointValueInParameterDomain [protected]
 

Definition at line 261 of file vtkKWParameterValueHermiteFunctionEditor.h.

int vtkKWParameterValueHermiteFunctionEditor::SharpnessEntryVisibility [protected]
 

Definition at line 262 of file vtkKWParameterValueHermiteFunctionEditor.h.

int vtkKWParameterValueHermiteFunctionEditor::MidPointGuidelineVisibility [protected]
 

Definition at line 263 of file vtkKWParameterValueHermiteFunctionEditor.h.

int vtkKWParameterValueHermiteFunctionEditor::MidPointGuidelineValueVisibility [protected]
 

Definition at line 264 of file vtkKWParameterValueHermiteFunctionEditor.h.

double vtkKWParameterValueHermiteFunctionEditor::MidPointColor[3] [protected]
 

Definition at line 265 of file vtkKWParameterValueHermiteFunctionEditor.h.

double vtkKWParameterValueHermiteFunctionEditor::SelectedMidPointColor[3] [protected]
 

Definition at line 266 of file vtkKWParameterValueHermiteFunctionEditor.h.

int vtkKWParameterValueHermiteFunctionEditor::SelectedMidPoint [protected]
 

Definition at line 267 of file vtkKWParameterValueHermiteFunctionEditor.h.

int vtkKWParameterValueHermiteFunctionEditor::LastMidPointSelectionCanvasCoordinateY [protected]
 

Definition at line 268 of file vtkKWParameterValueHermiteFunctionEditor.h.

double vtkKWParameterValueHermiteFunctionEditor::LastMidPointSelectionSharpness [protected]
 

Definition at line 269 of file vtkKWParameterValueHermiteFunctionEditor.h.

char* vtkKWParameterValueHermiteFunctionEditor::MidPointGuidelineValueFormat [protected]
 

Definition at line 271 of file vtkKWParameterValueHermiteFunctionEditor.h.

char* vtkKWParameterValueHermiteFunctionEditor::MidPointSelectionChangedCommand [protected]
 

Definition at line 275 of file vtkKWParameterValueHermiteFunctionEditor.h.

vtkKWScaleWithEntry* vtkKWParameterValueHermiteFunctionEditor::MidPointEntry [protected]
 

Definition at line 281 of file vtkKWParameterValueHermiteFunctionEditor.h.

vtkKWScaleWithEntry* vtkKWParameterValueHermiteFunctionEditor::SharpnessEntry [protected]
 

Definition at line 282 of file vtkKWParameterValueHermiteFunctionEditor.h.


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