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

typedef
vtkKWParameterValueFunctionEditor 
Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual vtkKWScaleWithEntryGetMidPointEntry ()
virtual vtkKWScaleWithEntryGetSharpnessEntry ()
virtual void SelectPoint (int id)
virtual void Update ()
virtual void DisplayHistogramOnly ()
virtual void UpdateEnableState ()

Static Public Member Functions

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

Protected Member Functions

 vtkKWParameterValueHermiteFunctionEditor ()
 ~vtkKWParameterValueHermiteFunctionEditor ()
virtual void CreateWidget ()
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)

Protected Attributes

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



enum  { MidPointSelectionChangedEvent = 11000 }
static const char * MidPointTag
static const char * MidPointGuidelineTag
static const char * MidPointSelectedTag
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 SelectNextPoint ()
virtual void SelectPreviousPoint ()
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 (double value)
virtual void MidPointEntryChangingCallback (double value)
virtual void SharpnessEntryChangedCallback (double value)
virtual void SharpnessEntryChangingCallback (double value)
virtual void StartInteractionCallback (int x, int y, int shift)
virtual void MoveMidPointCallback (int x, int y, int button)
virtual void EndMidPointInteractionCallback (int x, int y)
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 ()
virtual void CreateSharpnessEntry ()
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, vtksys_ios::ostream *tk_cmd=0)
virtual void Bind ()
virtual void UnBind ()

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 Typedef Documentation


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

Enumerator:
MidPointSelectionChangedEvent 

Definition at line 168 of file vtkKWParameterValueHermiteFunctionEditor.h.


Constructor & Destructor Documentation

vtkKWParameterValueHermiteFunctionEditor::vtkKWParameterValueHermiteFunctionEditor (  )  [protected]
vtkKWParameterValueHermiteFunctionEditor::~vtkKWParameterValueHermiteFunctionEditor (  )  [protected]

Member Function Documentation

virtual const char* vtkKWParameterValueHermiteFunctionEditor::GetClassName (  )  [virtual]
static int vtkKWParameterValueHermiteFunctionEditor::IsTypeOf ( const char *  type  )  [static]
virtual int vtkKWParameterValueHermiteFunctionEditor::IsA ( const char *  type  )  [virtual]
static vtkKWParameterValueHermiteFunctionEditor* vtkKWParameterValueHermiteFunctionEditor::SafeDownCast ( vtkObject o  )  [static]
void vtkKWParameterValueHermiteFunctionEditor::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]
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]

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

virtual void vtkKWParameterValueHermiteFunctionEditor::SetMidPointEntryVisibility ( int   )  [virtual]

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

virtual int vtkKWParameterValueHermiteFunctionEditor::GetMidPointEntryVisibility (  )  [virtual]

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

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]

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

virtual void vtkKWParameterValueHermiteFunctionEditor::SetDisplayMidPointValueInParameterDomain ( int   )  [virtual]

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

virtual int vtkKWParameterValueHermiteFunctionEditor::GetDisplayMidPointValueInParameterDomain (  )  [virtual]

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

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]

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

virtual void vtkKWParameterValueHermiteFunctionEditor::SetSharpnessEntryVisibility ( int   )  [virtual]

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

virtual int vtkKWParameterValueHermiteFunctionEditor::GetSharpnessEntryVisibility (  )  [virtual]

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

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]

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

virtual void vtkKWParameterValueHermiteFunctionEditor::SetMidPointVisibility ( int   )  [virtual]

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

virtual int vtkKWParameterValueHermiteFunctionEditor::GetMidPointVisibility (  )  [virtual]

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

Reimplemented in vtkKWPiecewiseFunctionEditor.

virtual double* vtkKWParameterValueHermiteFunctionEditor::GetMidPointColor (  )  [virtual]

Set/Get the midpoints color.

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

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

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

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

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

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

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

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

Definition at line 91 of file vtkKWParameterValueHermiteFunctionEditor.h.

virtual double* vtkKWParameterValueHermiteFunctionEditor::GetSelectedMidPointColor (  )  [virtual]

Set/Get the selected midpoint color.

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

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

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

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

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

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

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

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

Definition at line 99 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]

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

virtual void vtkKWParameterValueHermiteFunctionEditor::SetMidPointGuidelineVisibility ( int   )  [virtual]

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

virtual int vtkKWParameterValueHermiteFunctionEditor::GetMidPointGuidelineVisibility (  )  [virtual]

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

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]

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

virtual void vtkKWParameterValueHermiteFunctionEditor::SetMidPointGuidelineValueVisibility ( int   )  [virtual]

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

virtual int vtkKWParameterValueHermiteFunctionEditor::GetMidPointGuidelineValueVisibility (  )  [virtual]

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

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

Set/Get the midpoint guideline value printf format.

virtual char* vtkKWParameterValueHermiteFunctionEditor::GetMidPointGuidelineValueFormat (  )  [virtual]

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

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]

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

virtual void vtkKWParameterValueHermiteFunctionEditor::ClearMidPointSelection (  )  [virtual]

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

virtual int vtkKWParameterValueHermiteFunctionEditor::HasMidPointSelection (  )  [virtual]

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

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::SelectNextPoint (  )  [virtual]

Select next and previous point. Override the superclass so that the mid-points are also selected (i.e. it will iterator over point, mid-point, point, mid-point, etc.)

Reimplemented from vtkKWParameterValueFunctionEditor.

virtual void vtkKWParameterValueHermiteFunctionEditor::SelectPreviousPoint (  )  [virtual]

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

Reimplemented from vtkKWParameterValueFunctionEditor.

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

Specifies selection-related commands to associate with the widget. 'MidPointSelectionChangedCommand' is called whenever the midpoint selection was changed or cleared. The 'object' argument is the object that will have the method called on it. The 'method' argument is the name of the method to be called and any arguments in string form. If the object is NULL, the method is still evaluated as a simple command.

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.

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

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

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.

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

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

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::DisplayHistogramOnly (  )  [virtual]

Convenience method that will hide all elements but the histogram.

Reimplemented from vtkKWParameterValueFunctionEditor.

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 ( double  value  )  [virtual]

Callbacks. Internal, do not use.

virtual void vtkKWParameterValueHermiteFunctionEditor::MidPointEntryChangingCallback ( double  value  )  [virtual]

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

virtual void vtkKWParameterValueHermiteFunctionEditor::SharpnessEntryChangedCallback ( double  value  )  [virtual]

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

virtual void vtkKWParameterValueHermiteFunctionEditor::SharpnessEntryChangingCallback ( double  value  )  [virtual]

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

virtual void vtkKWParameterValueHermiteFunctionEditor::StartInteractionCallback ( int  x,
int  y,
int  shift 
) [virtual]

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

Reimplemented from vtkKWParameterValueFunctionEditor.

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

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

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

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

virtual void vtkKWParameterValueHermiteFunctionEditor::CreateWidget (  )  [protected, virtual]

Create the widget.

Reimplemented from vtkKWParameterValueFunctionEditor.

Reimplemented in vtkKWColorTransferFunctionEditor, and vtkKWPiecewiseFunctionEditor.

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]

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

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

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

virtual void vtkKWParameterValueHermiteFunctionEditor::CreateSharpnessEntry (  )  [protected, virtual]

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

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

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

Reimplemented from vtkKWParameterValueFunctionEditor.

Reimplemented in vtkKWColorTransferFunctionEditor, and vtkKWPiecewiseFunctionEditor.

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

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

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

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

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]

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

Reimplemented from vtkKWParameterValueFunctionEditor.

Reimplemented in vtkKWColorTransferFunctionEditor.

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

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

Reimplemented from vtkKWParameterValueFunctionEditor.

Reimplemented in vtkKWColorTransferFunctionEditor.

virtual void vtkKWParameterValueHermiteFunctionEditor::RedrawLine ( int  id1,
int  id2,
vtksys_ios::ostream *  tk_cmd = 0 
) [protected, virtual]

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

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]

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

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

Some constants BTX

Definition at line 211 of file vtkKWParameterValueHermiteFunctionEditor.h.

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

Definition at line 212 of file vtkKWParameterValueHermiteFunctionEditor.h.

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

Definition at line 213 of file vtkKWParameterValueHermiteFunctionEditor.h.

Definition at line 279 of file vtkKWParameterValueHermiteFunctionEditor.h.

Definition at line 280 of file vtkKWParameterValueHermiteFunctionEditor.h.

Definition at line 281 of file vtkKWParameterValueHermiteFunctionEditor.h.

Definition at line 282 of file vtkKWParameterValueHermiteFunctionEditor.h.

Definition at line 283 of file vtkKWParameterValueHermiteFunctionEditor.h.

Definition at line 284 of file vtkKWParameterValueHermiteFunctionEditor.h.

Definition at line 285 of file vtkKWParameterValueHermiteFunctionEditor.h.

Definition at line 286 of file vtkKWParameterValueHermiteFunctionEditor.h.

Definition at line 287 of file vtkKWParameterValueHermiteFunctionEditor.h.

Definition at line 288 of file vtkKWParameterValueHermiteFunctionEditor.h.

Definition at line 289 of file vtkKWParameterValueHermiteFunctionEditor.h.

Definition at line 291 of file vtkKWParameterValueHermiteFunctionEditor.h.

Definition at line 295 of file vtkKWParameterValueHermiteFunctionEditor.h.

Definition at line 301 of file vtkKWParameterValueHermiteFunctionEditor.h.

Definition at line 302 of file vtkKWParameterValueHermiteFunctionEditor.h.


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

Generated on Tue Apr 27 02:36:17 2010 for KWWidgets by  doxygen 1.6.1