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

vtkKWRange Class Reference

a range widget More...

#include <vtkKWRange.h>

Inheritance diagram for vtkKWRange:

Inheritance graph
[legend]
Collaboration diagram for vtkKWRange:

Collaboration graph
[legend]
List of all members.

[NOHEADER]

enum  { OrientationHorizontal = 0, OrientationVertical = 1 }
virtual void SetOrientation (int)
virtual int GetOrientation ()
virtual void SetOrientationToHorizontal ()
virtual void SetOrientationToVertical ()

[NOHEADER]

enum  {
  EntryPositionDefault = 0, EntryPositionTop, EntryPositionBottom, EntryPositionLeft,
  EntryPositionRight
}
virtual void SetEntry1Position (int)
virtual int GetEntry1Position ()
virtual void SetEntry1PositionToDefault ()
virtual void SetEntry1PositionToTop ()
virtual void SetEntry1PositionToBottom ()
virtual void SetEntry1PositionToLeft ()
virtual void SetEntry1PositionToRight ()
virtual void SetEntry2Position (int)
virtual int GetEntry2Position ()
virtual void SetEntry2PositionToDefault ()
virtual void SetEntry2PositionToTop ()
virtual void SetEntry2PositionToBottom ()
virtual void SetEntry2PositionToLeft ()
virtual void SetEntry2PositionToRight ()

[NOHEADER]

enum  { SliderIndex1 = 1, SliderIndex2 = 2 }
virtual void ConfigureCallback ()
virtual void MaximizeRangeCallback ()
virtual void EnlargeRangeCallback ()
virtual void ShrinkRangeCallback ()
virtual void EntriesUpdateCallback (int i)
virtual void StartInteractionCallback (int x, int y)
virtual void EndInteractionCallback ()
virtual void SliderMotionCallback (int slider_idx, int x, int y)
virtual void RangeMotionCallback (int x, int y)

[NOHEADER]

enum  { DarkShadowColor, LightShadowColor, BackgroundColor, HighlightColor }
virtual void GetWholeRangeColor (int type, double &r, double &g, double &b)
virtual void GetRangeColor (int type, double &r, double &g, double &b)
virtual void GetSliderColor (int type, double &r, double &g, double &b)

Public Types


Public Member Functions

 vtkTypeRevisionMacro (vtkKWRange, vtkKWWidgetWithLabel)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void Create (vtkKWApplication *app)
virtual void SetBalloonHelpString (const char *str)
virtual void UpdateEnableState ()
virtual double * GetWholeRange ()
virtual void GetWholeRange (double &, double &)
virtual void GetWholeRange (double[2])
virtual void SetWholeRange (double r0, double r1)
virtual void SetWholeRange (double range[2])
virtual double * GetRange ()
virtual void GetRange (double &, double &)
virtual void GetRange (double[2])
virtual void SetRange (double r0, double r1)
virtual void SetRange (double *range)
virtual void GetRelativeRange (double &r0, double &r1)
virtual void GetRelativeRange (double range[2])
virtual void SetRelativeRange (double r0, double r1)
virtual void SetRelativeRange (double range[2])
virtual void SetResolution (double r)
virtual double GetResolution ()
virtual void SetAdjustResolution (int)
virtual void AdjustResolutionOn ()
virtual void AdjustResolutionOff ()
virtual int GetAdjustResolution ()
virtual void SetInverted (int)
virtual void InvertedOn ()
virtual void InvertedOff ()
virtual int GetInverted ()
virtual void SetThickness (int)
virtual int GetThickness ()
virtual void SetInternalThickness (double)
virtual double GetInternalThickness ()
virtual void SetRequestedLength (int)
virtual int GetRequestedLength ()
virtual void SetSliderSize (int)
virtual int GetSliderSize ()
virtual void SetSliderCanPush (int)
virtual void SliderCanPushOn ()
virtual void SliderCanPushOff ()
virtual int GetSliderCanPush ()
virtual double * GetRangeColor ()
virtual void GetRangeColor (double &, double &, double &)
virtual void GetRangeColor (double[3])
virtual void SetRangeColor (double r, double g, double b)
virtual void SetRangeColor (double rgb[3])
virtual double * GetRangeInteractionColor ()
virtual void GetRangeInteractionColor (double &, double &, double &)
virtual void GetRangeInteractionColor (double[3])
virtual void SetRangeInteractionColor (double r, double g, double b)
virtual void SetRangeInteractionColor (double rgb[3])
virtual void SetEntriesVisibility (int)
virtual void EntriesVisibilityOn ()
virtual void EntriesVisibilityOff ()
virtual int GetEntriesVisibility ()
virtual vtkKWEntryGetEntry1 ()
virtual vtkKWEntryGetEntry2 ()
virtual void SetEntriesWidth (int width)
virtual int GetEntriesWidth ()
virtual void SetCommand (vtkObject *object, const char *method)
virtual void SetStartCommand (vtkObject *object, const char *method)
virtual void SetEndCommand (vtkObject *object, const char *method)
virtual void SetEntriesCommand (vtkObject *object, const char *method)
virtual void InvokeCommand ()
virtual void InvokeStartCommand ()
virtual void InvokeEndCommand ()
virtual void InvokeEntriesCommand ()
virtual void SetDisableCommands (int)
virtual int GetDisableCommands ()
virtual void DisableCommandsOn ()
virtual void DisableCommandsOff ()
virtual vtkKWCanvasGetCanvas ()
virtual void SetClampRange (int)
virtual int GetClampRange ()
virtual void ClampRangeOn ()
virtual void ClampRangeOff ()

Static Public Member Functions

vtkKWRangeNew ()

Protected Types


Protected Member Functions

 vtkKWRange ()
 ~vtkKWRange ()
virtual void CreateEntries ()
virtual void UpdateEntriesValue (double range[2])
virtual void ConstrainResolution ()
virtual void Pack ()
virtual int HasTag (const char *tag, const char *suffix=0)
virtual void GetSlidersPositions (int pos[2])
virtual void Bind ()
virtual void UnBind ()
virtual void ConstrainRangeToResolution (double range[2], int adjust=1)
virtual void ConstrainRangeToWholeRange (double range[2], double whole_range[2], double *old_range_hint=0)
virtual void ConstrainWholeRange ()
virtual void ConstrainRange (double *old_range_hint=0)
virtual void ConstrainRanges ()
virtual void RedrawCanvas ()
virtual void RedrawWholeRange ()
virtual void RedrawRange ()
virtual void RedrawSliders ()
virtual void RedrawSlider (int x, int slider_idx)
virtual void UpdateRangeColors ()
virtual void UpdateColors ()

Protected Attributes

double WholeRange [2]
double Range [2]
double WholeRangeAdjusted [2]
double RangeAdjusted [2]
double Resolution
int AdjustResolution
int Inverted
int Thickness
double InternalThickness
int RequestedLength
int Orientation
int DisableCommands
int SliderSize
double RangeColor [3]
double RangeInteractionColor [3]
int EntriesVisibility
int Entry1Position
int Entry2Position
int EntriesWidth
int SliderCanPush
int InInteraction
int StartInteractionPos
double StartInteractionRange [2]
int ClampRange
char * Command
char * StartCommand
char * EndCommand
char * EntriesCommand
vtkKWFrameCanvasFrame
vtkKWCanvasCanvas
vtkKWEntryEntries [2]

Detailed Description

a range widget

A widget that represents a range within a bigger range. Note: As a subclass of vtkKWWidgetWithLabel, it inherits a label and methods to set its position and visibility. Note that the default label position implemented in this class is on the top of the range if the range direction is horizontal, on the left if is is vertical. Specific positions listed in vtkKWWidgetWithLabel are supported as well.

See also:
vtkKWWidgetWithLabel

Definition at line 37 of file vtkKWRange.h.


Member Enumeration Documentation

anonymous enum
 

Set/Get the orientation. BTX

Enumeration values:
OrientationHorizontal 
OrientationVertical 

Definition at line 100 of file vtkKWRange.h.

anonymous enum
 

Set/Get the position of the entries (Default is top if the range direction is horizontal, left if it is vertical). Note that you can also set the label position using the superclass methods (vtkKWWidgetWithLabel). BTX

Enumeration values:
EntryPositionDefault 
EntryPositionTop 
EntryPositionBottom 
EntryPositionLeft 
EntryPositionRight 

Definition at line 204 of file vtkKWRange.h.

anonymous enum
 

Callbacks BTX

Enumeration values:
SliderIndex1 
SliderIndex2 

Definition at line 266 of file vtkKWRange.h.

anonymous enum [protected]
 

Get element colors (and shades) BTX

Enumeration values:
DarkShadowColor 
LightShadowColor 
BackgroundColor 
HighlightColor 

Definition at line 369 of file vtkKWRange.h.


Constructor & Destructor Documentation

vtkKWRange::vtkKWRange  )  [protected]
 

vtkKWRange::~vtkKWRange  )  [protected]
 


Member Function Documentation

vtkKWRange* vtkKWRange::New  )  [static]
 

Reimplemented from vtkKWWidgetWithLabel.

vtkKWRange::vtkTypeRevisionMacro vtkKWRange  ,
vtkKWWidgetWithLabel 
 

void vtkKWRange::PrintSelf ostream &  os,
vtkIndent  indent
 

Reimplemented from vtkKWWidgetWithLabel.

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

Create the widget.

Reimplemented from vtkKWWidgetWithLabel.

virtual double* vtkKWRange::GetWholeRange  )  [virtual]
 

Set/Get the whole range.

virtual void vtkKWRange::GetWholeRange double &  ,
double & 
[virtual]
 

Set/Get the whole range.

virtual void vtkKWRange::GetWholeRange double  [2]  )  [virtual]
 

Set/Get the whole range.

virtual void vtkKWRange::SetWholeRange double  r0,
double  r1
[virtual]
 

Set/Get the whole range.

virtual void vtkKWRange::SetWholeRange double  range[2]  )  [inline, virtual]
 

Set/Get the whole range.

Definition at line 51 of file vtkKWRange.h.

virtual double* vtkKWRange::GetRange  )  [virtual]
 

Set/Get the current (sub-)range.

virtual void vtkKWRange::GetRange double &  ,
double & 
[virtual]
 

Set/Get the current (sub-)range.

virtual void vtkKWRange::GetRange double  [2]  )  [virtual]
 

Set/Get the current (sub-)range.

virtual void vtkKWRange::SetRange double  r0,
double  r1
[virtual]
 

Set/Get the current (sub-)range.

virtual void vtkKWRange::SetRange double *  range  )  [inline, virtual]
 

Set/Get the current (sub-)range.

Definition at line 59 of file vtkKWRange.h.

virtual void vtkKWRange::GetRelativeRange double &  r0,
double &  r1
[virtual]
 

Set/Get the current (sub-)range as relative positions in the whole range.

virtual void vtkKWRange::GetRelativeRange double  range[2]  )  [inline, virtual]
 

Set/Get the current (sub-)range as relative positions in the whole range.

Definition at line 67 of file vtkKWRange.h.

virtual void vtkKWRange::SetRelativeRange double  r0,
double  r1
[virtual]
 

Set/Get the current (sub-)range as relative positions in the whole range.

virtual void vtkKWRange::SetRelativeRange double  range[2]  )  [inline, virtual]
 

Set/Get the current (sub-)range as relative positions in the whole range.

Definition at line 70 of file vtkKWRange.h.

virtual void vtkKWRange::SetResolution double  r  )  [virtual]
 

Method to set/get the resolution of the slider. The whole range and sub range are not snapped to this resolution. Both ranges can be set to any floating point number. Think of the sliders and the resolution as a way to set the bounds of the sub range interactively using nice clean steps (power of 10 for example). The entries associated to the sub range can be used to set the bounds to anything within the whole range, despite the resolution, allowing the user to enter precise values that could not be reached given the resolution. Of course, given a whole range of 1 to 64, if the resolution is set to 3 the slider will only snap to values ranging from 3 to 63 (within the whole range constraint), but the entries can be used to set accurate values out of the resolution (i.e., 1, 2... 64).

virtual double vtkKWRange::GetResolution  )  [virtual]
 

Method to set/get the resolution of the slider. The whole range and sub range are not snapped to this resolution. Both ranges can be set to any floating point number. Think of the sliders and the resolution as a way to set the bounds of the sub range interactively using nice clean steps (power of 10 for example). The entries associated to the sub range can be used to set the bounds to anything within the whole range, despite the resolution, allowing the user to enter precise values that could not be reached given the resolution. Of course, given a whole range of 1 to 64, if the resolution is set to 3 the slider will only snap to values ranging from 3 to 63 (within the whole range constraint), but the entries can be used to set accurate values out of the resolution (i.e., 1, 2... 64).

virtual void vtkKWRange::SetAdjustResolution int   )  [virtual]
 

Adjust the resolution automatically (to a power of 10 in this implem)

virtual void vtkKWRange::AdjustResolutionOn  )  [virtual]
 

Adjust the resolution automatically (to a power of 10 in this implem)

virtual void vtkKWRange::AdjustResolutionOff  )  [virtual]
 

Adjust the resolution automatically (to a power of 10 in this implem)

virtual int vtkKWRange::GetAdjustResolution  )  [virtual]
 

Adjust the resolution automatically (to a power of 10 in this implem)

virtual void vtkKWRange::SetOrientation int   )  [virtual]
 

Set/Get the orientation. BTX

virtual int vtkKWRange::GetOrientation  )  [virtual]
 

Set/Get the orientation. BTX

virtual void vtkKWRange::SetOrientationToHorizontal  )  [inline, virtual]
 

Set/Get the orientation. BTX

Definition at line 108 of file vtkKWRange.h.

References OrientationHorizontal.

virtual void vtkKWRange::SetOrientationToVertical  )  [inline, virtual]
 

Set/Get the orientation. BTX

Definition at line 110 of file vtkKWRange.h.

References OrientationVertical.

virtual void vtkKWRange::SetInverted int   )  [virtual]
 

Set/Get the order of the sliders (inverted means that the first slider will be associated to Range[1], the last to Range[0])

virtual void vtkKWRange::InvertedOn  )  [virtual]
 

Set/Get the order of the sliders (inverted means that the first slider will be associated to Range[1], the last to Range[0])

virtual void vtkKWRange::InvertedOff  )  [virtual]
 

Set/Get the order of the sliders (inverted means that the first slider will be associated to Range[1], the last to Range[0])

virtual int vtkKWRange::GetInverted  )  [virtual]
 

Set/Get the order of the sliders (inverted means that the first slider will be associated to Range[1], the last to Range[0])

virtual void vtkKWRange::SetThickness int   )  [virtual]
 

Set/Get the desired narrow dimension of the widget. For horizontal widget this is the widget height, for vertical this is the width. In the current implementation, this controls the sliders narrow dim.

virtual int vtkKWRange::GetThickness  )  [virtual]
 

Set/Get the desired narrow dimension of the widget. For horizontal widget this is the widget height, for vertical this is the width. In the current implementation, this controls the sliders narrow dim.

virtual void vtkKWRange::SetInternalThickness double   )  [virtual]
 

Set/Get the desired narrow dimension of the internal widget as a fraction of the thickness of the widget (see Thickness). In the current implementation, this controls the range bar narrow dim.

virtual double vtkKWRange::GetInternalThickness  )  [virtual]
 

Set/Get the desired narrow dimension of the internal widget as a fraction of the thickness of the widget (see Thickness). In the current implementation, this controls the range bar narrow dim.

virtual void vtkKWRange::SetRequestedLength int   )  [virtual]
 

Set/Get the long dimension of the widget. For horizontal widget this is the widget width, for vertical this is the height. Set it to zero (default) to ignore it and let the widget resize.

virtual int vtkKWRange::GetRequestedLength  )  [virtual]
 

Set/Get the long dimension of the widget. For horizontal widget this is the widget width, for vertical this is the height. Set it to zero (default) to ignore it and let the widget resize.

virtual void vtkKWRange::SetSliderSize int   )  [virtual]
 

Set/Get the slider size.

virtual int vtkKWRange::GetSliderSize  )  [virtual]
 

Set/Get the slider size.

virtual void vtkKWRange::SetSliderCanPush int   )  [virtual]
 

Set/Get if a slider can push another slider when bumping into it

virtual void vtkKWRange::SliderCanPushOn  )  [virtual]
 

Set/Get if a slider can push another slider when bumping into it

virtual void vtkKWRange::SliderCanPushOff  )  [virtual]
 

Set/Get if a slider can push another slider when bumping into it

virtual int vtkKWRange::GetSliderCanPush  )  [virtual]
 

Set/Get if a slider can push another slider when bumping into it

virtual double* vtkKWRange::GetRangeColor  )  [virtual]
 

Set/Get the (sub) range scale color. Defaults to -1, -1, -1: a shade of the widget background color will be used at runtime.

virtual void vtkKWRange::GetRangeColor double &  ,
double &  ,
double & 
[virtual]
 

Set/Get the (sub) range scale color. Defaults to -1, -1, -1: a shade of the widget background color will be used at runtime.

virtual void vtkKWRange::GetRangeColor double  [3]  )  [virtual]
 

Set/Get the (sub) range scale color. Defaults to -1, -1, -1: a shade of the widget background color will be used at runtime.

virtual void vtkKWRange::SetRangeColor double  r,
double  g,
double  b
[virtual]
 

Set/Get the (sub) range scale color. Defaults to -1, -1, -1: a shade of the widget background color will be used at runtime.

virtual void vtkKWRange::SetRangeColor double  rgb[3]  )  [inline, virtual]
 

Set/Get the (sub) range scale color. Defaults to -1, -1, -1: a shade of the widget background color will be used at runtime.

Definition at line 164 of file vtkKWRange.h.

virtual double* vtkKWRange::GetRangeInteractionColor  )  [virtual]
 

Set/Get the (sub) range scale interaction color. Used when interaction is performed using the sliders. IF set to -1, -1, -1: a shade of the widget background color will be used at runtime.

virtual void vtkKWRange::GetRangeInteractionColor double &  ,
double &  ,
double & 
[virtual]
 

Set/Get the (sub) range scale interaction color. Used when interaction is performed using the sliders. IF set to -1, -1, -1: a shade of the widget background color will be used at runtime.

virtual void vtkKWRange::GetRangeInteractionColor double  [3]  )  [virtual]
 

Set/Get the (sub) range scale interaction color. Used when interaction is performed using the sliders. IF set to -1, -1, -1: a shade of the widget background color will be used at runtime.

virtual void vtkKWRange::SetRangeInteractionColor double  r,
double  g,
double  b
[virtual]
 

Set/Get the (sub) range scale interaction color. Used when interaction is performed using the sliders. IF set to -1, -1, -1: a shade of the widget background color will be used at runtime.

virtual void vtkKWRange::SetRangeInteractionColor double  rgb[3]  )  [inline, virtual]
 

Set/Get the (sub) range scale interaction color. Used when interaction is performed using the sliders. IF set to -1, -1, -1: a shade of the widget background color will be used at runtime.

Definition at line 174 of file vtkKWRange.h.

virtual void vtkKWRange::SetEntriesVisibility int   )  [virtual]
 

Set/Get the entries visibility.

virtual void vtkKWRange::EntriesVisibilityOn  )  [virtual]
 

Set/Get the entries visibility.

virtual void vtkKWRange::EntriesVisibilityOff  )  [virtual]
 

Set/Get the entries visibility.

virtual int vtkKWRange::GetEntriesVisibility  )  [virtual]
 

Set/Get the entries visibility.

virtual vtkKWEntry* vtkKWRange::GetEntry1  )  [inline, virtual]
 

Get the entries object.

Definition at line 187 of file vtkKWRange.h.

virtual vtkKWEntry* vtkKWRange::GetEntry2  )  [inline, virtual]
 

Get the entries object.

Definition at line 189 of file vtkKWRange.h.

virtual void vtkKWRange::SetEntriesWidth int  width  )  [virtual]
 

Set/Get the entries width (in chars).

virtual int vtkKWRange::GetEntriesWidth  )  [virtual]
 

Set/Get the entries width (in chars).

virtual void vtkKWRange::SetEntry1Position int   )  [virtual]
 

Set/Get the position of the entries (Default is top if the range direction is horizontal, left if it is vertical). Note that you can also set the label position using the superclass methods (vtkKWWidgetWithLabel). BTX

virtual int vtkKWRange::GetEntry1Position  )  [virtual]
 

Set/Get the position of the entries (Default is top if the range direction is horizontal, left if it is vertical). Note that you can also set the label position using the superclass methods (vtkKWWidgetWithLabel). BTX

virtual void vtkKWRange::SetEntry1PositionToDefault  )  [inline, virtual]
 

Set/Get the position of the entries (Default is top if the range direction is horizontal, left if it is vertical). Note that you can also set the label position using the superclass methods (vtkKWWidgetWithLabel). BTX

Definition at line 215 of file vtkKWRange.h.

References EntryPositionDefault.

virtual void vtkKWRange::SetEntry1PositionToTop  )  [inline, virtual]
 

Set/Get the position of the entries (Default is top if the range direction is horizontal, left if it is vertical). Note that you can also set the label position using the superclass methods (vtkKWWidgetWithLabel). BTX

Definition at line 217 of file vtkKWRange.h.

References EntryPositionTop.

virtual void vtkKWRange::SetEntry1PositionToBottom  )  [inline, virtual]
 

Set/Get the position of the entries (Default is top if the range direction is horizontal, left if it is vertical). Note that you can also set the label position using the superclass methods (vtkKWWidgetWithLabel). BTX

Definition at line 219 of file vtkKWRange.h.

References EntryPositionBottom.

virtual void vtkKWRange::SetEntry1PositionToLeft  )  [inline, virtual]
 

Set/Get the position of the entries (Default is top if the range direction is horizontal, left if it is vertical). Note that you can also set the label position using the superclass methods (vtkKWWidgetWithLabel). BTX

Definition at line 221 of file vtkKWRange.h.

References EntryPositionLeft.

virtual void vtkKWRange::SetEntry1PositionToRight  )  [inline, virtual]
 

Set/Get the position of the entries (Default is top if the range direction is horizontal, left if it is vertical). Note that you can also set the label position using the superclass methods (vtkKWWidgetWithLabel). BTX

Definition at line 223 of file vtkKWRange.h.

References EntryPositionRight.

virtual void vtkKWRange::SetEntry2Position int   )  [virtual]
 

Set/Get the position of the entries (Default is top if the range direction is horizontal, left if it is vertical). Note that you can also set the label position using the superclass methods (vtkKWWidgetWithLabel). BTX

virtual int vtkKWRange::GetEntry2Position  )  [virtual]
 

Set/Get the position of the entries (Default is top if the range direction is horizontal, left if it is vertical). Note that you can also set the label position using the superclass methods (vtkKWWidgetWithLabel). BTX

virtual void vtkKWRange::SetEntry2PositionToDefault  )  [inline, virtual]
 

Set/Get the position of the entries (Default is top if the range direction is horizontal, left if it is vertical). Note that you can also set the label position using the superclass methods (vtkKWWidgetWithLabel). BTX

Definition at line 227 of file vtkKWRange.h.

References EntryPositionDefault.

virtual void vtkKWRange::SetEntry2PositionToTop  )  [inline, virtual]
 

Set/Get the position of the entries (Default is top if the range direction is horizontal, left if it is vertical). Note that you can also set the label position using the superclass methods (vtkKWWidgetWithLabel). BTX

Definition at line 229 of file vtkKWRange.h.

References EntryPositionTop.

virtual void vtkKWRange::SetEntry2PositionToBottom  )  [inline, virtual]
 

Set/Get the position of the entries (Default is top if the range direction is horizontal, left if it is vertical). Note that you can also set the label position using the superclass methods (vtkKWWidgetWithLabel). BTX

Definition at line 231 of file vtkKWRange.h.

References EntryPositionBottom.

virtual void vtkKWRange::SetEntry2PositionToLeft  )  [inline, virtual]
 

Set/Get the position of the entries (Default is top if the range direction is horizontal, left if it is vertical). Note that you can also set the label position using the superclass methods (vtkKWWidgetWithLabel). BTX

Definition at line 233 of file vtkKWRange.h.

References EntryPositionLeft.

virtual void vtkKWRange::SetEntry2PositionToRight  )  [inline, virtual]
 

Set/Get the position of the entries (Default is top if the range direction is horizontal, left if it is vertical). Note that you can also set the label position using the superclass methods (vtkKWWidgetWithLabel). BTX

Definition at line 235 of file vtkKWRange.h.

References EntryPositionRight.

virtual void vtkKWRange::SetCommand vtkObject *  object,
const char *  method
[virtual]
 

Set commands.

virtual void vtkKWRange::SetStartCommand vtkObject *  object,
const char *  method
[virtual]
 

Set commands.

virtual void vtkKWRange::SetEndCommand vtkObject *  object,
const char *  method
[virtual]
 

Set commands.

virtual void vtkKWRange::SetEntriesCommand vtkObject *  object,
const char *  method
[virtual]
 

Set commands.

virtual void vtkKWRange::InvokeCommand  )  [virtual]
 

Set commands.

virtual void vtkKWRange::InvokeStartCommand  )  [virtual]
 

Set commands.

virtual void vtkKWRange::InvokeEndCommand  )  [virtual]
 

Set commands.

virtual void vtkKWRange::InvokeEntriesCommand  )  [virtual]
 

Set commands.

virtual void vtkKWRange::SetDisableCommands int   )  [virtual]
 

Set/get whether the above commands should be called or not. This allow you to disable the commands while you are setting the range value for example.

virtual int vtkKWRange::GetDisableCommands  )  [virtual]
 

Set/get whether the above commands should be called or not. This allow you to disable the commands while you are setting the range value for example.

virtual void vtkKWRange::DisableCommandsOn  )  [virtual]
 

Set/get whether the above commands should be called or not. This allow you to disable the commands while you are setting the range value for example.

virtual void vtkKWRange::DisableCommandsOff  )  [virtual]
 

Set/get whether the above commands should be called or not. This allow you to disable the commands while you are setting the range value for example.

virtual void vtkKWRange::SetBalloonHelpString const char *  str  )  [virtual]
 

Set the string that enables balloon help for this widget. Override to pass down to children.

Reimplemented from vtkKWWidgetWithLabel.

virtual void vtkKWRange::ConfigureCallback  )  [virtual]
 

Callbacks BTX

virtual void vtkKWRange::MaximizeRangeCallback  )  [virtual]
 

Callbacks BTX

virtual void vtkKWRange::EnlargeRangeCallback  )  [virtual]
 

Callbacks BTX

virtual void vtkKWRange::ShrinkRangeCallback  )  [virtual]
 

Callbacks BTX

virtual void vtkKWRange::EntriesUpdateCallback int  i  )  [virtual]
 

Callbacks BTX

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

Callbacks BTX

virtual void vtkKWRange::EndInteractionCallback  )  [virtual]
 

Callbacks BTX

virtual void vtkKWRange::SliderMotionCallback int  slider_idx,
int  x,
int  y
[virtual]
 

Callbacks BTX

virtual void vtkKWRange::RangeMotionCallback int  x,
int  y
[virtual]
 

Callbacks BTX

virtual vtkKWCanvas* vtkKWRange::GetCanvas  )  [virtual]
 

Access to the canvas

virtual void vtkKWRange::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 vtkKWWidgetWithLabel.

virtual void vtkKWRange::SetClampRange int   )  [virtual]
 

Turn on/off the automatic clamping of the end values when the user types a value beyond the range. Default is on.

virtual int vtkKWRange::GetClampRange  )  [virtual]
 

Turn on/off the automatic clamping of the end values when the user types a value beyond the range. Default is on.

virtual void vtkKWRange::ClampRangeOn  )  [virtual]
 

Turn on/off the automatic clamping of the end values when the user types a value beyond the range. Default is on.

virtual void vtkKWRange::ClampRangeOff  )  [virtual]
 

Turn on/off the automatic clamping of the end values when the user types a value beyond the range. Default is on.

virtual void vtkKWRange::CreateEntries  )  [protected, virtual]
 

virtual void vtkKWRange::UpdateEntriesValue double  range[2]  )  [protected, virtual]
 

virtual void vtkKWRange::ConstrainResolution  )  [protected, virtual]
 

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

Bind/Unbind all components.

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

Bind/Unbind all components.

virtual void vtkKWRange::ConstrainRangeToResolution double  range[2],
int  adjust = 1
[protected, virtual]
 

Make sure all elements are constrained correctly

virtual void vtkKWRange::ConstrainRangeToWholeRange double  range[2],
double  whole_range[2],
double *  old_range_hint = 0
[protected, virtual]
 

Make sure all elements are constrained correctly

virtual void vtkKWRange::ConstrainWholeRange  )  [protected, virtual]
 

Make sure all elements are constrained correctly

virtual void vtkKWRange::ConstrainRange double *  old_range_hint = 0  )  [protected, virtual]
 

Make sure all elements are constrained correctly

virtual void vtkKWRange::ConstrainRanges  )  [protected, virtual]
 

Make sure all elements are constrained correctly

virtual void vtkKWRange::Pack  )  [protected, virtual]
 

Pack the widget

Reimplemented from vtkKWWidgetWithLabel.

virtual void vtkKWRange::GetWholeRangeColor int  type,
double &  r,
double &  g,
double &  b
[protected, virtual]
 

Get element colors (and shades) BTX

virtual void vtkKWRange::GetRangeColor int  type,
double &  r,
double &  g,
double &  b
[protected, virtual]
 

Get element colors (and shades) BTX

virtual void vtkKWRange::GetSliderColor int  type,
double &  r,
double &  g,
double &  b
[protected, virtual]
 

Get element colors (and shades) BTX

virtual void vtkKWRange::RedrawCanvas  )  [protected, virtual]
 

Redraw elements

virtual void vtkKWRange::RedrawWholeRange  )  [protected, virtual]
 

Redraw elements

virtual void vtkKWRange::RedrawRange  )  [protected, virtual]
 

Redraw elements

virtual void vtkKWRange::RedrawSliders  )  [protected, virtual]
 

Redraw elements

virtual void vtkKWRange::RedrawSlider int  x,
int  slider_idx
[protected, virtual]
 

Redraw elements

virtual void vtkKWRange::UpdateRangeColors  )  [protected, virtual]
 

Redraw elements

virtual void vtkKWRange::UpdateColors  )  [protected, virtual]
 

Redraw elements

virtual int vtkKWRange::HasTag const char *  tag,
const char *  suffix = 0
[protected, virtual]
 

Convenience method to look for a tag

virtual void vtkKWRange::GetSlidersPositions int  pos[2]  )  [protected, virtual]
 

Get the current sliders center positions


Member Data Documentation

double vtkKWRange::WholeRange[2] [protected]
 

Definition at line 308 of file vtkKWRange.h.

double vtkKWRange::Range[2] [protected]
 

Definition at line 309 of file vtkKWRange.h.

double vtkKWRange::WholeRangeAdjusted[2] [protected]
 

Definition at line 310 of file vtkKWRange.h.

double vtkKWRange::RangeAdjusted[2] [protected]
 

Definition at line 311 of file vtkKWRange.h.

double vtkKWRange::Resolution [protected]
 

Definition at line 312 of file vtkKWRange.h.

int vtkKWRange::AdjustResolution [protected]
 

Definition at line 313 of file vtkKWRange.h.

int vtkKWRange::Inverted [protected]
 

Definition at line 314 of file vtkKWRange.h.

int vtkKWRange::Thickness [protected]
 

Definition at line 315 of file vtkKWRange.h.

double vtkKWRange::InternalThickness [protected]
 

Definition at line 316 of file vtkKWRange.h.

int vtkKWRange::RequestedLength [protected]
 

Definition at line 317 of file vtkKWRange.h.

int vtkKWRange::Orientation [protected]
 

Definition at line 318 of file vtkKWRange.h.

int vtkKWRange::DisableCommands [protected]
 

Definition at line 319 of file vtkKWRange.h.

int vtkKWRange::SliderSize [protected]
 

Definition at line 320 of file vtkKWRange.h.

double vtkKWRange::RangeColor[3] [protected]
 

Definition at line 321 of file vtkKWRange.h.

double vtkKWRange::RangeInteractionColor[3] [protected]
 

Definition at line 322 of file vtkKWRange.h.

int vtkKWRange::EntriesVisibility [protected]
 

Definition at line 323 of file vtkKWRange.h.

int vtkKWRange::Entry1Position [protected]
 

Definition at line 324 of file vtkKWRange.h.

int vtkKWRange::Entry2Position [protected]
 

Definition at line 325 of file vtkKWRange.h.

int vtkKWRange::EntriesWidth [protected]
 

Definition at line 326 of file vtkKWRange.h.

int vtkKWRange::SliderCanPush [protected]
 

Definition at line 327 of file vtkKWRange.h.

int vtkKWRange::InInteraction [protected]
 

Definition at line 329 of file vtkKWRange.h.

int vtkKWRange::StartInteractionPos [protected]
 

Definition at line 330 of file vtkKWRange.h.

double vtkKWRange::StartInteractionRange[2] [protected]
 

Definition at line 331 of file vtkKWRange.h.

int vtkKWRange::ClampRange [protected]
 

Definition at line 333 of file vtkKWRange.h.

char* vtkKWRange::Command [protected]
 

Definition at line 335 of file vtkKWRange.h.

char* vtkKWRange::StartCommand [protected]
 

Definition at line 336 of file vtkKWRange.h.

char* vtkKWRange::EndCommand [protected]
 

Definition at line 337 of file vtkKWRange.h.

char* vtkKWRange::EntriesCommand [protected]
 

Definition at line 338 of file vtkKWRange.h.

vtkKWFrame* vtkKWRange::CanvasFrame [protected]
 

Definition at line 340 of file vtkKWRange.h.

vtkKWCanvas* vtkKWRange::Canvas [protected]
 

Definition at line 341 of file vtkKWRange.h.

vtkKWEntry* vtkKWRange::Entries[2] [protected]
 

Definition at line 342 of file vtkKWRange.h.


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