a range widget More...
#include <vtkKWRange.h>


Public Types | |
| typedef vtkKWWidgetWithLabel | Superclass |
Public Member Functions | |
| virtual const char * | GetClassName () |
| virtual int | IsA (const char *type) |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual void | SetBalloonHelpString (const char *str) |
| virtual void | UpdateEnableState () |
Static Public Member Functions | |
| static vtkKWRange * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkKWRange * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
| vtkKWRange () | |
| ~vtkKWRange () | |
| virtual void | CreateWidget () |
| virtual void | InvokeRangeCommand (const char *command, double r0, double r1) |
| virtual void | InvokeCommand (double r0, double r1) |
| virtual void | InvokeStartCommand (double r0, double r1) |
| virtual void | InvokeEndCommand (double r0, double r1) |
| virtual void | InvokeEntriesCommand (double r0, double r1) |
| virtual void | CreateEntries () |
| virtual void | UpdateEntriesValue (double range[2]) |
| virtual void | ConstrainResolution () |
| virtual void | Pack () |
| virtual void | StartInteraction (int inter_type, int x, int y) |
| virtual int | HasTag (const char *tag, const char *suffix=0) |
| virtual void | GetSlidersPositions (int pos[2]) |
Protected Attributes | |
| double | WholeRange [2] |
| double | Range [2] |
| double | WholeRangeAdjusted [2] |
| double | RangeAdjusted [2] |
| double | Resolution |
| int | AdjustResolution |
| int | SymmetricalInteraction |
| int | Inverted |
| int | Thickness |
| double | InternalThickness |
| int | RequestedLength |
| int | Orientation |
| int | DisableCommands |
| int | SliderSize |
| double | RangeColor [3] |
| double | RangeInteractionColor [3] |
| double | Slider1Color [3] |
| double | Slider2Color [3] |
| double | SliderInteractionColor [3] |
| int | EntriesVisibility |
| int | Entry1Position |
| int | Entry2Position |
| int | EntriesWidth |
| int | SliderCanPush |
| int | ClampRange |
| char * | Command |
| char * | StartCommand |
| char * | EndCommand |
| char * | EntriesCommand |
| vtkKWFrame * | CanvasFrame |
| vtkKWCanvas * | Canvas |
| vtkKWEntry * | Entries [2] |
|
| |
| enum | { OrientationHorizontal = 0, OrientationVertical = 1 } |
| enum | { EntryPositionDefault = 0, EntryPositionTop, EntryPositionBottom, EntryPositionLeft, EntryPositionRight } |
| enum | { RangeValueChangingEvent = 10000, RangeValueChangedEvent, RangeValueStartChangingEvent } |
| enum | { SliderIndex0 = 0, SliderIndex1 = 1 } |
| enum | { RangeInteraction, Slider1Interaction, Slider2Interaction } |
| enum | { DarkShadowColor, LightShadowColor, BackgroundColor, HighlightColor } |
| virtual double * | GetWholeRange () |
| virtual void | GetWholeRange (double &, double &) |
| virtual void | GetWholeRange (double[2]) |
| virtual void | SetWholeRange (double r0, double r1) |
| virtual void | SetWholeRange (const 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 (const double range[2]) |
| virtual void | GetRelativeRange (double &r0, double &r1) |
| virtual void | GetRelativeRange (double range[2]) |
| virtual void | SetRelativeRange (double r0, double r1) |
| virtual void | SetRelativeRange (const 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 | SetOrientation (int) |
| virtual int | GetOrientation () |
| virtual void | SetOrientationToHorizontal () |
| virtual void | SetOrientationToVertical () |
| 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 double * | GetSlider1Color () |
| virtual void | GetSlider1Color (double &, double &, double &) |
| virtual void | GetSlider1Color (double[3]) |
| virtual void | SetSlider1Color (double r, double g, double b) |
| virtual void | SetSlider1Color (double rgb[3]) |
| virtual double * | GetSliderInteractionColor () |
| virtual void | GetSliderInteractionColor (double &, double &, double &) |
| virtual void | GetSliderInteractionColor (double[3]) |
| virtual void | SetSliderInteractionColor (double r, double g, double b) |
| virtual void | SetSliderInteractionColor (double rgb[3]) |
| virtual double * | GetSlider2Color () |
| virtual void | GetSlider2Color (double &, double &, double &) |
| virtual void | GetSlider2Color (double[3]) |
| virtual void | SetSlider2Color (double r, double g, double b) |
| virtual void | SetSlider2Color (double rgb[3]) |
| virtual void | SetEntriesVisibility (int) |
| virtual void | EntriesVisibilityOn () |
| virtual void | EntriesVisibilityOff () |
| virtual int | GetEntriesVisibility () |
| virtual vtkKWEntry * | GetEntry1 () |
| virtual vtkKWEntry * | GetEntry2 () |
| virtual void | SetEntriesWidth (int width) |
| virtual int | GetEntriesWidth () |
| 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 () |
| 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 | SetDisableCommands (int) |
| virtual int | GetDisableCommands () |
| virtual void | DisableCommandsOn () |
| virtual void | DisableCommandsOff () |
| virtual void | SymmetricalInteractionOn () |
| virtual void | SymmetricalInteractionOff () |
| virtual int | GetSymmetricalInteraction () |
| virtual void | SetSymmetricalInteraction (int) |
| virtual vtkKWCanvas * | GetCanvas () |
| virtual void | SetClampRange (int) |
| virtual int | GetClampRange () |
| virtual void | ClampRangeOn () |
| virtual void | ClampRangeOff () |
| virtual void | ConfigureCallback () |
| virtual void | MaximizeRangeCallback () |
| virtual void | EnlargeRangeCallback () |
| virtual void | ShrinkRangeCallback () |
| virtual void | EntriesUpdateCallback (int i) |
| virtual void | StartRangeInteractionCallback (int x, int y) |
| virtual void | StartSliderInteractionCallback (int slider_idx, int x, int y) |
| virtual void | EndInteractionCallback () |
| virtual void | SliderMotionCallback (int slider_idx, int x, int y, int shift, int ctrl) |
| virtual void | RangeMotionCallback (int x, int y, int shift, int ctrl) |
| virtual void | Bind () |
| virtual void | UnBind () |
| virtual void | ConstrainRangeToResolution (double range[2], double res, 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 | GetColorShade (int type, double rgb[3], double &r, double &g, double &b) |
| 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 slider_idx, int type, double &r, double &g, double &b) |
| 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 | UpdateSliderColors (int slider_idx) |
| virtual void | UpdateColors () |
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.
Definition at line 40 of file vtkKWRange.h.
Reimplemented from vtkKWWidgetWithLabel.
Definition at line 45 of file vtkKWRange.h.
| anonymous enum |
Set/Get the orientation. BTX
Definition at line 101 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
| EntryPositionDefault | |
| EntryPositionTop | |
| EntryPositionBottom | |
| EntryPositionLeft | |
| EntryPositionRight |
Definition at line 233 of file vtkKWRange.h.
| anonymous enum |
Events. The RangeValueChangingEvent is triggered when the widget value is changed (i.e., during user interaction on the widget's slider), the RangeValueStartChangingEvent is invoked at the beginning of an interaction with the widget, the RangeValueChangedEvent is invoked at the end of an interaction with the widget (or when the value is changed using the entries widget). They are similar in concept as the 'Command', 'StartCommand', 'EndCommand' and 'EntriesCommand' callbacks but can be used by multiple listeners/observers at a time. The following parameters are also passed as client data: - the current range: double, double. BTX
Definition at line 327 of file vtkKWRange.h.
| anonymous enum |
Callbacks. Internal, do not use. BTX
Definition at line 371 of file vtkKWRange.h.
anonymous enum [protected] |
Get type of interaction BTX
Definition at line 467 of file vtkKWRange.h.
anonymous enum [protected] |
Get element colors (and shades) BTX
Definition at line 481 of file vtkKWRange.h.
| vtkKWRange::vtkKWRange | ( | ) | [protected] |
| vtkKWRange::~vtkKWRange | ( | ) | [protected] |
| static vtkKWRange* vtkKWRange::New | ( | ) | [static] |
Reimplemented from vtkKWWidgetWithLabel.
| virtual const char* vtkKWRange::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkKWWidgetWithLabel.
| static int vtkKWRange::IsTypeOf | ( | const char * | type | ) | [static] |
Reimplemented from vtkKWWidgetWithLabel.
| virtual int vtkKWRange::IsA | ( | const char * | type | ) | [virtual] |
Reimplemented from vtkKWWidgetWithLabel.
| static vtkKWRange* vtkKWRange::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkKWWidgetWithLabel.
| void vtkKWRange::PrintSelf | ( | ostream & | os, | |
| vtkIndent | indent | |||
| ) | [virtual] |
Reimplemented from vtkKWWidgetWithLabel.
| virtual double* vtkKWRange::GetWholeRange | ( | ) | [virtual] |
Set/Get the whole range.
| virtual void vtkKWRange::GetWholeRange | ( | double & | , | |
| double & | ||||
| ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::GetWholeRange | ( | double | [2] | ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::SetWholeRange | ( | double | r0, | |
| double | r1 | |||
| ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::SetWholeRange | ( | const double | range[2] | ) | [inline, virtual] |
Set/Get the orientation. BTX
Definition at line 52 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 orientation. BTX
| virtual void vtkKWRange::GetRange | ( | double | [2] | ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::SetRange | ( | double | r0, | |
| double | r1 | |||
| ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::SetRange | ( | const double | range[2] | ) | [inline, virtual] |
Set/Get the orientation. BTX
Definition at line 60 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 orientation. BTX
Definition at line 68 of file vtkKWRange.h.
| virtual void vtkKWRange::SetRelativeRange | ( | double | r0, | |
| double | r1 | |||
| ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::SetRelativeRange | ( | const double | range[2] | ) | [inline, virtual] |
Set/Get the orientation. BTX
Definition at line 71 of file vtkKWRange.h.
| virtual void vtkKWRange::SetResolution | ( | double | r | ) | [virtual] |
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] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::SetAdjustResolution | ( | int | ) | [virtual] |
Adjust the resolution automatically (to a power of 10 in this implem)
| virtual void vtkKWRange::AdjustResolutionOn | ( | ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::AdjustResolutionOff | ( | ) | [virtual] |
Set/Get the orientation. BTX
| virtual int vtkKWRange::GetAdjustResolution | ( | ) | [virtual] |
Set/Get the orientation. BTX
| 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 109 of file vtkKWRange.h.
| virtual void vtkKWRange::SetOrientationToVertical | ( | ) | [inline, virtual] |
Set/Get the orientation. BTX
Definition at line 111 of file vtkKWRange.h.
| 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 orientation. BTX
| virtual void vtkKWRange::InvertedOff | ( | ) | [virtual] |
Set/Get the orientation. BTX
| virtual int vtkKWRange::GetInverted | ( | ) | [virtual] |
Set/Get the orientation. BTX
| 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 orientation. BTX
| 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 orientation. BTX
| 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 orientation. BTX
| virtual void vtkKWRange::SetSliderSize | ( | int | ) | [virtual] |
Set/Get the slider size.
| virtual int vtkKWRange::GetSliderSize | ( | ) | [virtual] |
Set/Get the orientation. BTX
| 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 the orientation. BTX
| virtual void vtkKWRange::SliderCanPushOff | ( | ) | [virtual] |
Set/Get the orientation. BTX
| virtual int vtkKWRange::GetSliderCanPush | ( | ) | [virtual] |
Set/Get the orientation. BTX
| 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 orientation. BTX
| virtual void vtkKWRange::GetRangeColor | ( | double | [3] | ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::SetRangeColor | ( | double | r, | |
| double | g, | |||
| double | b | |||
| ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::SetRangeColor | ( | double | rgb[3] | ) | [inline, virtual] |
Set/Get the orientation. BTX
Definition at line 165 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 orientation. BTX
| virtual void vtkKWRange::GetRangeInteractionColor | ( | double | [3] | ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::SetRangeInteractionColor | ( | double | r, | |
| double | g, | |||
| double | b | |||
| ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::SetRangeInteractionColor | ( | double | rgb[3] | ) | [inline, virtual] |
Set/Get the orientation. BTX
Definition at line 175 of file vtkKWRange.h.
| virtual double* vtkKWRange::GetSlider1Color | ( | ) | [virtual] |
Set/Get the color of the first slider. Defaults to -1, -1, -1: a shade of the widget background color will be used at runtime.
| virtual void vtkKWRange::GetSlider1Color | ( | double & | , | |
| double & | , | |||
| double & | ||||
| ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::GetSlider1Color | ( | double | [3] | ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::SetSlider1Color | ( | double | r, | |
| double | g, | |||
| double | b | |||
| ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::SetSlider1Color | ( | double | rgb[3] | ) | [inline, virtual] |
Set/Get the orientation. BTX
Definition at line 184 of file vtkKWRange.h.
| virtual double* vtkKWRange::GetSliderInteractionColor | ( | ) | [virtual] |
Set/Get the (sub) slider 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::GetSliderInteractionColor | ( | double & | , | |
| double & | , | |||
| double & | ||||
| ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::GetSliderInteractionColor | ( | double | [3] | ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::SetSliderInteractionColor | ( | double | r, | |
| double | g, | |||
| double | b | |||
| ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::SetSliderInteractionColor | ( | double | rgb[3] | ) | [inline, virtual] |
Set/Get the orientation. BTX
Definition at line 194 of file vtkKWRange.h.
| virtual double* vtkKWRange::GetSlider2Color | ( | ) | [virtual] |
Set/Get the color of the second slider. Defaults to -1, -1, -1: a shade of the widget background color will be used at runtime.
| virtual void vtkKWRange::GetSlider2Color | ( | double & | , | |
| double & | , | |||
| double & | ||||
| ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::GetSlider2Color | ( | double | [3] | ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::SetSlider2Color | ( | double | r, | |
| double | g, | |||
| double | b | |||
| ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::SetSlider2Color | ( | double | rgb[3] | ) | [inline, virtual] |
Set/Get the orientation. BTX
Definition at line 203 of file vtkKWRange.h.
| virtual void vtkKWRange::SetEntriesVisibility | ( | int | ) | [virtual] |
Set/Get the entries visibility.
| virtual void vtkKWRange::EntriesVisibilityOn | ( | ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::EntriesVisibilityOff | ( | ) | [virtual] |
Set/Get the orientation. BTX
| virtual int vtkKWRange::GetEntriesVisibility | ( | ) | [virtual] |
Set/Get the orientation. BTX
| virtual vtkKWEntry* vtkKWRange::GetEntry1 | ( | ) | [inline, virtual] |
Get the entries object.
Definition at line 216 of file vtkKWRange.h.
| virtual vtkKWEntry* vtkKWRange::GetEntry2 | ( | ) | [inline, virtual] |
Set/Get the orientation. BTX
Definition at line 218 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 orientation. BTX
| virtual void vtkKWRange::SetEntry1Position | ( | int | ) | [virtual] |
Set/Get the orientation. BTX
| virtual int vtkKWRange::GetEntry1Position | ( | ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::SetEntry1PositionToDefault | ( | ) | [inline, virtual] |
Set/Get the orientation. BTX
Definition at line 244 of file vtkKWRange.h.
| virtual void vtkKWRange::SetEntry1PositionToTop | ( | ) | [inline, virtual] |
Set/Get the orientation. BTX
Definition at line 246 of file vtkKWRange.h.
| virtual void vtkKWRange::SetEntry1PositionToBottom | ( | ) | [inline, virtual] |
Set/Get the orientation. BTX
Definition at line 248 of file vtkKWRange.h.
| virtual void vtkKWRange::SetEntry1PositionToLeft | ( | ) | [inline, virtual] |
Set/Get the orientation. BTX
Definition at line 250 of file vtkKWRange.h.
| virtual void vtkKWRange::SetEntry1PositionToRight | ( | ) | [inline, virtual] |
Set/Get the orientation. BTX
Definition at line 252 of file vtkKWRange.h.
| virtual void vtkKWRange::SetEntry2Position | ( | int | ) | [virtual] |
Set/Get the orientation. BTX
| virtual int vtkKWRange::GetEntry2Position | ( | ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::SetEntry2PositionToDefault | ( | ) | [inline, virtual] |
Set/Get the orientation. BTX
Definition at line 256 of file vtkKWRange.h.
| virtual void vtkKWRange::SetEntry2PositionToTop | ( | ) | [inline, virtual] |
Set/Get the orientation. BTX
Definition at line 258 of file vtkKWRange.h.
| virtual void vtkKWRange::SetEntry2PositionToBottom | ( | ) | [inline, virtual] |
Set/Get the orientation. BTX
Definition at line 260 of file vtkKWRange.h.
| virtual void vtkKWRange::SetEntry2PositionToLeft | ( | ) | [inline, virtual] |
Set/Get the orientation. BTX
Definition at line 262 of file vtkKWRange.h.
| virtual void vtkKWRange::SetEntry2PositionToRight | ( | ) | [inline, virtual] |
Set/Get the orientation. BTX
Definition at line 264 of file vtkKWRange.h.
| virtual void vtkKWRange::SetCommand | ( | vtkObject * | object, | |
| const char * | method | |||
| ) | [virtual] |
Specifies commands to associate with the widget. 'Command' is invoked when the widget value is changing (i.e. during user interaction). 'StartCommand' is invoked at the beginning of a user interaction with the widget (when a mouse button is pressed over the widget for example). 'EndCommand' is invoked at the end of the user interaction with the widget (when the mouse button is released for example). 'EntriesCommand' is invoked when the widget value is changed using the text entries. The need for a 'Command', 'StartCommand' and 'EndCommand' can be explained as follows: 'EndCommand' can be used to be notified about any changes made to this widget *after* the corresponding user interaction has been performed (say, after releasing the mouse button that was dragging a slider, or after clicking on a checkbutton). 'Command' can be set *additionally* to be notified about the intermediate changes that occur *during* the corresponding user interaction (say, *while* dragging a slider). While setting 'EndCommand' is enough to be notified about any changes, setting 'Command' is an application-specific choice that is likely to depend on how fast you want (or can) answer to rapid changes occuring during a user interaction, if any. 'StartCommand' is rarely used but provides an opportunity for the application to modify its state and prepare itself for user-interaction; in that case, the 'EndCommand' is usually set in a symmetric fashion to set the application back to its previous state. 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. The following parameters are also passed to the command: - the current range: int, int (if Resolution is integer); double, double otherwise. Note: the 'int' signature is for convenience, so that the command can be set to a callback accepting 'int'. In doubt, implement the callback using a 'double' signature that will accept both 'int' and 'double'.
| virtual void vtkKWRange::SetStartCommand | ( | vtkObject * | object, | |
| const char * | method | |||
| ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::SetEndCommand | ( | vtkObject * | object, | |
| const char * | method | |||
| ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::SetEntriesCommand | ( | vtkObject * | object, | |
| const char * | method | |||
| ) | [virtual] |
Set/Get the orientation. BTX
| 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 the orientation. BTX
| virtual void vtkKWRange::DisableCommandsOn | ( | ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::DisableCommandsOff | ( | ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::SymmetricalInteractionOn | ( | ) | [virtual] |
If set to on, set the interaction to a symmetrical mode, where adjusting one slider adjust the other one symmetrically.
| virtual void vtkKWRange::SymmetricalInteractionOff | ( | ) | [virtual] |
Set/Get the orientation. BTX
| virtual int vtkKWRange::GetSymmetricalInteraction | ( | ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::SetSymmetricalInteraction | ( | int | ) | [virtual] |
Set/Get the orientation. BTX
| 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 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] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::ClampRangeOn | ( | ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::ClampRangeOff | ( | ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::ConfigureCallback | ( | ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::MaximizeRangeCallback | ( | ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::EnlargeRangeCallback | ( | ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::ShrinkRangeCallback | ( | ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::EntriesUpdateCallback | ( | int | i | ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::StartRangeInteractionCallback | ( | int | x, | |
| int | y | |||
| ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::StartSliderInteractionCallback | ( | int | slider_idx, | |
| int | x, | |||
| int | y | |||
| ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::EndInteractionCallback | ( | ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::SliderMotionCallback | ( | int | slider_idx, | |
| int | x, | |||
| int | y, | |||
| int | shift, | |||
| int | ctrl | |||
| ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::RangeMotionCallback | ( | int | x, | |
| int | y, | |||
| int | shift, | |||
| int | ctrl | |||
| ) | [virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::CreateWidget | ( | ) | [protected, virtual] |
Create the widget.
Reimplemented from vtkKWWidgetWithLabel.
| virtual void vtkKWRange::InvokeRangeCommand | ( | const char * | command, | |
| double | r0, | |||
| double | r1 | |||
| ) | [protected, virtual] |
| virtual void vtkKWRange::InvokeCommand | ( | double | r0, | |
| double | r1 | |||
| ) | [protected, virtual] |
| virtual void vtkKWRange::InvokeStartCommand | ( | double | r0, | |
| double | r1 | |||
| ) | [protected, virtual] |
| virtual void vtkKWRange::InvokeEndCommand | ( | double | r0, | |
| double | r1 | |||
| ) | [protected, virtual] |
| virtual void vtkKWRange::InvokeEntriesCommand | ( | double | r0, | |
| double | r1 | |||
| ) | [protected, virtual] |
| 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] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::ConstrainRangeToResolution | ( | double | range[2], | |
| double | res, | |||
| 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] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::ConstrainWholeRange | ( | ) | [protected, virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::ConstrainRange | ( | double * | old_range_hint = 0 |
) | [protected, virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::ConstrainRanges | ( | ) | [protected, virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::Pack | ( | ) | [protected, virtual] |
Pack the widget
Reimplemented from vtkKWWidgetWithLabel.
| virtual void vtkKWRange::StartInteraction | ( | int | inter_type, | |
| int | x, | |||
| int | y | |||
| ) | [protected, virtual] |
Start Interactions with the input interaction type (RangeInteraction, Slider1Interaction, Slider2Interaction)
| virtual void vtkKWRange::GetColorShade | ( | int | type, | |
| double | rgb[3], | |||
| double & | r, | |||
| double & | g, | |||
| double & | b | |||
| ) | [protected, virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::GetWholeRangeColor | ( | int | type, | |
| double & | r, | |||
| double & | g, | |||
| double & | b | |||
| ) | [protected, virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::GetRangeColor | ( | int | type, | |
| double & | r, | |||
| double & | g, | |||
| double & | b | |||
| ) | [protected, virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::GetSliderColor | ( | int | slider_idx, | |
| int | type, | |||
| double & | r, | |||
| double & | g, | |||
| double & | b | |||
| ) | [protected, virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::RedrawCanvas | ( | ) | [protected, virtual] |
Redraw elements
| virtual void vtkKWRange::RedrawWholeRange | ( | ) | [protected, virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::RedrawRange | ( | ) | [protected, virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::RedrawSliders | ( | ) | [protected, virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::RedrawSlider | ( | int | x, | |
| int | slider_idx | |||
| ) | [protected, virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::UpdateRangeColors | ( | ) | [protected, virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::UpdateSliderColors | ( | int | slider_idx | ) | [protected, virtual] |
Set/Get the orientation. BTX
| virtual void vtkKWRange::UpdateColors | ( | ) | [protected, virtual] |
Set/Get the orientation. BTX
| virtual int vtkKWRange::HasTag | ( | const char * | tag, | |
| const char * | suffix = 0 | |||
| ) | [protected, virtual] |
Look for a tag
| virtual void vtkKWRange::GetSlidersPositions | ( | int | pos[2] | ) | [protected, virtual] |
Get the current sliders center positions
double vtkKWRange::WholeRange[2] [protected] |
Definition at line 399 of file vtkKWRange.h.
double vtkKWRange::Range[2] [protected] |
Definition at line 400 of file vtkKWRange.h.
double vtkKWRange::WholeRangeAdjusted[2] [protected] |
Definition at line 401 of file vtkKWRange.h.
double vtkKWRange::RangeAdjusted[2] [protected] |
Definition at line 402 of file vtkKWRange.h.
double vtkKWRange::Resolution [protected] |
Definition at line 403 of file vtkKWRange.h.
int vtkKWRange::AdjustResolution [protected] |
Definition at line 404 of file vtkKWRange.h.
int vtkKWRange::SymmetricalInteraction [protected] |
Definition at line 405 of file vtkKWRange.h.
int vtkKWRange::Inverted [protected] |
Definition at line 406 of file vtkKWRange.h.
int vtkKWRange::Thickness [protected] |
Definition at line 407 of file vtkKWRange.h.
double vtkKWRange::InternalThickness [protected] |
Definition at line 408 of file vtkKWRange.h.
int vtkKWRange::RequestedLength [protected] |
Definition at line 409 of file vtkKWRange.h.
int vtkKWRange::Orientation [protected] |
Definition at line 410 of file vtkKWRange.h.
int vtkKWRange::DisableCommands [protected] |
Definition at line 411 of file vtkKWRange.h.
int vtkKWRange::SliderSize [protected] |
Definition at line 412 of file vtkKWRange.h.
double vtkKWRange::RangeColor[3] [protected] |
Definition at line 413 of file vtkKWRange.h.
double vtkKWRange::RangeInteractionColor[3] [protected] |
Definition at line 414 of file vtkKWRange.h.
double vtkKWRange::Slider1Color[3] [protected] |
Definition at line 415 of file vtkKWRange.h.
double vtkKWRange::Slider2Color[3] [protected] |
Definition at line 416 of file vtkKWRange.h.
double vtkKWRange::SliderInteractionColor[3] [protected] |
Definition at line 417 of file vtkKWRange.h.
int vtkKWRange::EntriesVisibility [protected] |
Definition at line 418 of file vtkKWRange.h.
int vtkKWRange::Entry1Position [protected] |
Definition at line 419 of file vtkKWRange.h.
int vtkKWRange::Entry2Position [protected] |
Definition at line 420 of file vtkKWRange.h.
int vtkKWRange::EntriesWidth [protected] |
Definition at line 421 of file vtkKWRange.h.
int vtkKWRange::SliderCanPush [protected] |
Definition at line 422 of file vtkKWRange.h.
int vtkKWRange::ClampRange [protected] |
Definition at line 424 of file vtkKWRange.h.
char* vtkKWRange::Command [protected] |
Definition at line 426 of file vtkKWRange.h.
char* vtkKWRange::StartCommand [protected] |
Definition at line 427 of file vtkKWRange.h.
char* vtkKWRange::EndCommand [protected] |
Definition at line 428 of file vtkKWRange.h.
char* vtkKWRange::EntriesCommand [protected] |
Definition at line 429 of file vtkKWRange.h.
vtkKWFrame* vtkKWRange::CanvasFrame [protected] |
Definition at line 437 of file vtkKWRange.h.
vtkKWCanvas* vtkKWRange::Canvas [protected] |
Definition at line 438 of file vtkKWRange.h.
vtkKWEntry* vtkKWRange::Entries[2] [protected] |
Definition at line 439 of file vtkKWRange.h.
1.6.1