#include <vtkPVTimeLine.h>
Inheritance diagram for vtkPVTimeLine:
[NOHEADER] | |
virtual void | InvokeSelectionChangedCommand () |
double | ActiveColor [3] |
double | InactiveColor [3] |
Public Member Functions | |
vtkTypeRevisionMacro (vtkPVTimeLine, vtkKWParameterValueFunctionEditor) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Create (vtkKWApplication *app) |
virtual int | HasFunction () |
virtual int | GetFunctionSize () |
int | GetParameterBounds (double *bounds) |
void | RemoveAll () |
void | GetFocus () |
void | RemoveFocus () |
int | HasFocus () |
void | SetAnimationCue (vtkPVAnimationCue *cue) |
void | ForceUpdate () |
int | CanRemoveFunctionPoint (int id) |
void | MoveStartToParameter (double parameter, int enable_scaling) |
void | MoveEndToParameter (double parameter, int enable_scaling) |
virtual void | SetActiveColor (double, double, double) |
virtual void | SetActiveColor (double[3]) |
virtual double * | GetActiveColor () |
virtual void | GetActiveColor (double &, double &, double &) |
virtual void | GetActiveColor (double[3]) |
virtual void | SetInactiveColor (double, double, double) |
virtual void | SetInactiveColor (double[3]) |
virtual double * | GetInactiveColor () |
virtual void | GetInactiveColor (double &, double &, double &) |
virtual void | GetInactiveColor (double[3]) |
void | SetTimeMarker (double time) |
double | GetTimeMarker () |
virtual void | StartInteractionCallback (int x, int y) |
virtual void | MovePointCallback (int x, int y, int shift) |
virtual void | EndInteractionCallback (int x, int y) |
virtual void | ParameterCursorStartInteractionCallback (int x) |
virtual void | ParameterCursorEndInteractionCallback () |
virtual void | ParameterCursorMoveCallback (int x) |
virtual vtkPVTraceHelper * | GetTraceHelper () |
Static Public Member Functions | |
vtkPVTimeLine * | New () |
Protected Member Functions | |
vtkPVTimeLine () | |
~vtkPVTimeLine () | |
virtual int | FunctionPointParameterIsLocked (int id) |
virtual int | FunctionPointCanBeMovedToParameter (int id, double parameter) |
virtual unsigned long | GetFunctionMTime () |
virtual int | GetFunctionPointParameter (int id, double *parameter) |
virtual int | GetFunctionPointDimensionality () |
virtual int | GetFunctionPointValues (int id, double *values) |
virtual int | SetFunctionPointValues (int id, const double *values) |
virtual int | InterpolateFunctionPointValues (double parameter, double *values) |
virtual int | AddFunctionPoint (double parameter, const double *values, int *id) |
virtual int | SetFunctionPoint (int id, double parameter, const double *values) |
virtual int | RemoveFunctionPoint (int id) |
Protected Attributes | |
int | OldSelection |
int | Focus |
vtkPVAnimationCue * | AnimationCue |
vtkPVTraceHelper * | TraceHelper |
Definition at line 32 of file vtkPVTimeLine.h.
|
|
|
|
|
Reimplemented from vtkKWWidgetWithLabel. |
|
|
|
Reimplemented from vtkKWParameterValueFunctionEditor. |
|
Create the widget. Reimplemented from vtkKWParameterValueFunctionEditor. |
|
Return 1 if there is a function associated to the editor. It is used, among *other* things, to disable the UI automatically if there is nothing to edit at the moment. Implements vtkKWParameterValueFunctionInterface. |
|
Return the number of points/elements in the function Implements vtkKWParameterValueFunctionInterface. |
|
Get the parameter bounds of this timeline ie. from what time to what time does this timeline stretch. Returns 1 on success else 0. |
|
Remove all key frames. |
|
Methods to move start/end points of the timeline with/without scaling. |
|
Methods to move start/end points of the timeline with/without scaling. |
|
|
|
|
|
Get/Set the color to be used for the timeline when it has the focus and when it doens't have the focus. |
|
Get/Set the color to be used for the timeline when it has the focus and when it doens't have the focus. |
|
Get/Set the color to be used for the timeline when it has the focus and when it doens't have the focus. |
|
Get/Set the color to be used for the timeline when it has the focus and when it doens't have the focus. |
|
Get/Set the color to be used for the timeline when it has the focus and when it doens't have the focus. |
|
Get/Set the color to be used for the timeline when it has the focus and when it doens't have the focus. |
|
Get/Set the color to be used for the timeline when it has the focus and when it doens't have the focus. |
|
Get/Set the color to be used for the timeline when it has the focus and when it doens't have the focus. |
|
Get/Set the color to be used for the timeline when it has the focus and when it doens't have the focus. |
|
Get/Set the color to be used for the timeline when it has the focus and when it doens't have the focus. |
|
Definition at line 71 of file vtkPVTimeLine.h. |
|
|
|
Set/Get the time position marker for the timeline. |
|
Set/Get the time position marker for the timeline. |
|
Must be called if the keyframes are changed externally. This will redraw the timeline. |
|
Most of these callbacks are overridden only to save the trace appropriately. Reimplemented from vtkKWParameterValueFunctionEditor. |
|
Most of these callbacks are overridden only to save the trace appropriately. Reimplemented from vtkKWParameterValueFunctionEditor. |
|
Most of these callbacks are overridden only to save the trace appropriately. Reimplemented from vtkKWParameterValueFunctionEditor. |
|
Most of these callbacks are overridden only to save the trace appropriately. Reimplemented from vtkKWParameterValueFunctionEditor. |
|
Most of these callbacks are overridden only to save the trace appropriately. Reimplemented from vtkKWParameterValueFunctionEditor. |
|
Most of these callbacks are overridden only to save the trace appropriately. Reimplemented from vtkKWParameterValueFunctionEditor. |
|
Get the trace helper framework. |
|
Indicates if the function point can be removed. |
|
Is point locked, protected, removable ? Reimplemented from vtkKWParameterValueFunctionEditor. |
|
Is point locked, protected, removable ? Reimplemented from vtkKWParameterValueFunctionEditor. |
|
Return the modification time of the function (a monotonically increasing value changing each time the function is modified) Implements vtkKWParameterValueFunctionInterface. |
|
Get the 'parameter' at point 'id' Ex: a scalar range, or a instant in a timeline. Return 1 on success, 0 otherwise Implements vtkKWParameterValueFunctionInterface. |
|
Get the dimensionality of the points in the function (Ex: 3 for a RGB point, 1 for a boolean value or an opacity value) Implements vtkKWParameterValueFunctionInterface. |
|
Description: Get the 'n-tuple' value at point 'id' (where 'n' is the dimensionality of the point). Note that 'values' has to be allocated with enough room. Return 1 on success, 0 otherwise Implements vtkKWParameterValueFunctionInterface. |
|
Set the 'n-tuple' value at point 'id' (where 'n' is the dimensionality of the point). Note that the point has to exist. Return 1 on success, 0 otherwise Implements vtkKWParameterValueFunctionInterface. |
|
Interpolate and get the 'n-tuple' value at a given 'parameter' (where 'n' is the dimensionality of the point). In other words, compute the value of a point as if it was located at a given parameter over the parameter range of the function). Note that 'values' has to be allocated with enough room. The interpolation method is function dependent (linear in the vtkKWPiecewiseFunctionEditor class for example). Return 1 on success, 0 otherwise Implements vtkKWParameterValueFunctionInterface. |
|
Implements vtkKWParameterValueFunctionInterface. |
|
Set the 'parameter' *and* 'n-tuple' value at point 'id' (where 'n' is the dimensionality of the point). Note that the point has to exist. It basically *moves* the point to a new location over the parameter range and change its value simultaneously. Note that doing so should really *not* change the rank/id of the point in the function, otherwise things might go wrong (untested). Basically it means that points can not be moved "over" other points, i.e. when you drag a point in the editor, you can not move it "before" or "past" its neighbors, which makes sense anyway (I guess), but make sure the constraint is enforced :) Return 1 on success, 0 otherwise Implements vtkKWParameterValueFunctionInterface. |
|
Remove a function point 'id'. Note: do not use FunctionPointCanBeRemoved() inside that function, it has been done for you already in higher-level methods. Return 1 on success, 0 otherwise Implements vtkKWParameterValueFunctionInterface. |
|
Overridden to control focus. Reimplemented from vtkKWParameterValueFunctionEditor. |
|
Overridden to control focus. Definition at line 124 of file vtkPVTimeLine.h. |
|
Overridden to control focus. Definition at line 125 of file vtkPVTimeLine.h. |
|
Definition at line 128 of file vtkPVTimeLine.h. |
|
Definition at line 129 of file vtkPVTimeLine.h. |
|
Definition at line 130 of file vtkPVTimeLine.h. |
|
Definition at line 131 of file vtkPVTimeLine.h. |