#include <vtkPVAnimationCue.h>
Inheritance diagram for vtkPVAnimationCue:
Public Member Functions | |
vtkTypeRevisionMacro (vtkPVAnimationCue, vtkPVSimpleAnimationCue) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Create (vtkKWApplication *app) |
void | SetTimeLineParent (vtkKWWidget *frame) |
virtual void | SetLabelText (const char *label) |
virtual void | PackWidget () |
virtual void | UnpackWidget () |
virtual void | RemoveAllKeyFrames () |
void | DeleteKeyFrame (int id) |
virtual void | ReplaceKeyFrame (vtkPVKeyFrame *oldFrame, vtkPVKeyFrame *newFrame) |
virtual void | StartRecording () |
virtual void | StopRecording () |
virtual void | RecordState (double ntime, double offset, int onlyFocus) |
virtual void | RecordState (double ntime, double offset) |
void | SetAnimationScene (vtkPVAnimationScene *scene) |
virtual void | UpdateEnableState () |
virtual void | SaveState (ofstream *file) |
void | SetEnableZoom (int zoom) |
const char * | GetTclNameCommand () |
virtual void | Detach () |
virtual void | SelectKeyFrame (int id) |
virtual int | CreateAndAddKeyFrame (double time, int type) |
virtual vtkPVTimeLine * | GetTimeLine () |
virtual void | GetFocus () |
virtual void | RemoveFocus () |
virtual int | HasFocus () |
void | SetPVSource (vtkPVSource *) |
virtual vtkPVSource * | GetPVSource () |
virtual void | SetTimeMarker (double time) |
double | GetTimeMarker () |
virtual void | SetName (const char *) |
virtual char * | GetName () |
virtual void | SetSourceTreeName (const char *) |
virtual char * | GetSourceTreeName () |
virtual void | Zoom (double range[2]) |
void | Zoom (double s, double e) |
virtual void | UpdateCueVisibility (int advanced) |
virtual int | GetCueVisibility () |
virtual void | SetTimeBounds (double bounds[2], int enable_scaling=0) |
virtual int | GetTimeBounds (double *bounds) |
Static Public Member Functions | |
vtkPVAnimationCue * | New () |
Protected Types | |
enum | { NONE = 0, IMAGE_OPEN, IMAGE_CLOSE } |
Protected Member Functions | |
vtkPVAnimationCue () | |
~vtkPVAnimationCue () | |
void | InitializeObservers (vtkObject *object) |
virtual void | ExecuteEvent (vtkObject *obj, unsigned long event, void *data) |
virtual void | SetTclNameCommand (const char *) |
void | SetImageType (int type) |
virtual int | GetImageType () |
void | GetSelfFocus () |
void | RemoveSelfFocus () |
virtual void | RegisterProxies () |
virtual void | UnregisterProxies () |
Protected Attributes | |
vtkKWWidget * | TimeLineParent |
vtkPVSource * | PVSource |
vtkKWLabel * | Label |
vtkKWLabel * | Image |
vtkKWFrame * | Frame |
vtkKWFrame * | TimeLineContainer |
vtkKWFrame * | TimeLineFrame |
vtkPVTimeLine * | TimeLine |
int | ImageType |
int | ShowTimeLine |
char * | Name |
char * | SourceTreeName |
char * | TclNameCommand |
int | Focus |
vtkPVAnimationScene * | PVAnimationScene |
int | CueVisibility |
int | DisableSelectionChangedEvent |
vtkPVAnimationCue is manages the GUI for an Animation Cue. The GUI has two sections, the navgation interface: which shows the label of the cue and the timeline: which is used to modify keyframes. ParaView puts these two sections in two panes of a split frame so that the label length does not reduce the visible area for the timelines. The parent of an object of this class acts as the parent for the Navigation section, while the TimeLineParent is the parent for the timeline. Both of which need to be set before calling create. This class has Virtual mode. In this mode, no proxies are created for this class. This mode is used by the Subclass vtkPVAnimationCueTree which represents a GUI element which has child cues eg. the cue for the PVSource or for a property with multiple elements. Thus, Virtual cue is used merely to group the chidlren. The support for adding children and managing them is provided by the subclass vtkPVAnimationCueTree.
Definition at line 56 of file vtkPVAnimationCue.h.
|
Definition at line 228 of file vtkPVAnimationCue.h. |
|
|
|
|
|
Reimplemented from vtkPVSimpleAnimationCue. Reimplemented in vtkPVAnimationCueTree, and vtkPVCameraAnimationCue. |
|
|
|
Reimplemented from vtkPVSimpleAnimationCue. Reimplemented in vtkPVAnimationCueTree, and vtkPVCameraAnimationCue. |
|
Create the widget. Reimplemented from vtkPVSimpleAnimationCue. Reimplemented in vtkPVAnimationCueTree. |
|
TimeLineParent is the frame that contains the timelines. this->Parent is the frame which contains the labels (or the Navgation widget) for the cue. |
|
Label Text is the text shown for this cue. Reimplemented from vtkPVSimpleAnimationCue. |
|
Get the timeline object. |
|
Reimplemented in vtkPVAnimationCueTree. |
|
Reimplemented in vtkPVAnimationCueTree. |
|
Provides for highlighting of the selected cue. Reimplemented in vtkPVAnimationCueTree. |
|
Provides for highlighting of the selected cue. Reimplemented in vtkPVAnimationCueTree. |
|
Provides for highlighting of the selected cue. Reimplemented in vtkPVAnimationCueTree. Definition at line 86 of file vtkPVAnimationCue.h. |
|
Remove All Key frames from this cue. Reimplemented from vtkPVSimpleAnimationCue. Reimplemented in vtkPVAnimationCueTree. |
|
Deletes the keyframe at given index. If the deleted key frame is the currenly selected keyframe, it changes the selection and the timeline is updated. Reimplemented from vtkPVSimpleAnimationCue. |
|
Replaces a keyframe with another. The Key time and key value of the oldFrame and copied over to the newFrame; Reimplemented from vtkPVSimpleAnimationCue. Reimplemented in vtkPVCameraAnimationCue. |
|
Start Recording. Once recording has been started new key frames cannot be added directly. Reimplemented from vtkPVSimpleAnimationCue. Reimplemented in vtkPVAnimationCueTree, and vtkPVCameraAnimationCue. |
|
Stop Recording. Reimplemented from vtkPVSimpleAnimationCue. Reimplemented in vtkPVAnimationCueTree. |
|
Reimplemented in vtkPVAnimationCueTree, and vtkPVCameraAnimationCue. |
|
Reimplemented from vtkPVSimpleAnimationCue. Reimplemented in vtkPVAnimationCueTree, and vtkPVCameraAnimationCue. |
|
Set a pointer to the AnimationScene. This is not reference counted. A cue adds itself to the scene when it has two or more key frames (i.e. the is animatable), and it removes itself from the Scene is the number of keyframes reduces. |
|
Pointer to the PVSource that this cue stands for. The PVSource is used to generate the tcl name when GetTclNameCommand is called. |
|
Pointer to the PVSource that this cue stands for. The PVSource is used to generate the tcl name when GetTclNameCommand is called. |
|
Time marker is a vartical line used to indicate the current time. This method sets the timemarker of the timeline for this cue alone. Reimplemented in vtkPVAnimationCueTree. |
|
Time marker is a vartical line used to indicate the current time. This method sets the timemarker of the timeline for this cue alone. |
|
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 vtkPVSimpleAnimationCue. Reimplemented in vtkPVAnimationCueTree. |
|
Reimplemented in vtkPVAnimationCueTree. |
|
Each cue is assigned a unique name. This name is used to indentify the cue in trace/ state. Names are assigned my the vtkPVAnimationManager while creating the PVAnimationCue. A child cue can be obtained from the parent vtkPVAnimationCueTree using this name. Note that this method does not ensure that the name is indeed unique. It is responsibility of the vtkPVAnimationManager to set unique names (atleast among the siblings) for the trace/ state to work properly. Also, only vtkPVAnimationManager must set the name of the cue. |
|
Each cue is assigned a unique name. This name is used to indentify the cue in trace/ state. Names are assigned my the vtkPVAnimationManager while creating the PVAnimationCue. A child cue can be obtained from the parent vtkPVAnimationCueTree using this name. Note that this method does not ensure that the name is indeed unique. It is responsibility of the vtkPVAnimationManager to set unique names (atleast among the siblings) for the trace/ state to work properly. Also, only vtkPVAnimationManager must set the name of the cue. |
|
This is the Name of the vtkPVAnimationCueTree for the base of this Cue. This name need not be set when this Cue has a vtkPVSource associated with it. If it does not have a PVSource (like Camera) in that case this name must be set. It is used by vtkPVActiveTrackSelector to identify the parent of the cue in case the PVSource is not present. |
|
This is the Name of the vtkPVAnimationCueTree for the base of this Cue. This name need not be set when this Cue has a vtkPVSource associated with it. If it does not have a PVSource (like Camera) in that case this name must be set. It is used by vtkPVActiveTrackSelector to identify the parent of the cue in case the PVSource is not present. |
|
Enable horizontal zooming of the timeline. |
|
Reimplemented in vtkPVAnimationCueTree. |
|
Definition at line 172 of file vtkPVAnimationCue.h. |
|
The name of a cue for a PVSource depends on the PVSource's name. For trace to work reliably, the cue's name must be constructed on using the PVSource (not it's name, since the name may change when the trace is run). This returns the tcl script/string that evaluates the name correctly at runtime. For non-source cues (.i.e. cues for things like Camera or the property cues), this is same as the name of the cue. |
|
Updates the visibility of the cue. If the animated property is not "animateable", then it is visible only in Advanced mode. Reimplemented in vtkPVAnimationCueTree. |
|
Updates the visibility of the cue. If the animated property is not "animateable", then it is visible only in Advanced mode. |
|
Detachs the cue. i.e. removes it from scene etc. and prepares it to be deleted. Reimplemented in vtkPVAnimationCueTree. |
|
This will select the keyframe. Fires a SelectionChangedEvent. Reimplemented from vtkPVSimpleAnimationCue. |
|
Set the timeline parameter bounds. This moves the timeline end points. Depending upon is enable_scaling is set, the internal nodes are scaled. Reimplemented from vtkPVSimpleAnimationCue. Reimplemented in vtkPVAnimationCueTree. |
|
Set the timeline parameter bounds. This moves the timeline end points. Depending upon is enable_scaling is set, the internal nodes are scaled. Reimplemented from vtkPVSimpleAnimationCue. |
|
Creates a new key frame of the specified type and add it to the cue at the given time. Time is normalized to the span of the cue [0,1]. This method also does not verify is a key frame already exists at the specified time. Reimplemented from vtkPVSimpleAnimationCue. |
|
Set/Get the type of the image shown to the left of the label in the Navigation interface. This is useful esp for simulating the apperance of a tree. |
|
Set/Get the type of the image shown to the left of the label in the Navigation interface. This is useful esp for simulating the apperance of a tree. |
|
|
|
Reimplemented from vtkPVSimpleAnimationCue. Reimplemented in vtkPVAnimationCueTree. |
|
|
|
Internal methods to change focus state of this cue. |
|
Internal methods to change focus state of this cue. |
|
A PVCue registers the proxies and adds it to the AnimationScene iff it has atleast two keyframes and it is not virtual. Whenever this criteria is not met, it is unregistered and removed form the AnimationScene. This ensures that SMState and BatchScript will have only those cue proxies which actually constitute any animation. Reimplemented from vtkPVSimpleAnimationCue. |
|
A PVCue registers the proxies and adds it to the AnimationScene iff it has atleast two keyframes and it is not virtual. Whenever this criteria is not met, it is unregistered and removed form the AnimationScene. This ensures that SMState and BatchScript will have only those cue proxies which actually constitute any animation. Reimplemented from vtkPVSimpleAnimationCue. |
|
Definition at line 238 of file vtkPVAnimationCue.h. |
|
Definition at line 239 of file vtkPVAnimationCue.h. |
|
Definition at line 241 of file vtkPVAnimationCue.h. |
|
Definition at line 242 of file vtkPVAnimationCue.h. |
|
Definition at line 243 of file vtkPVAnimationCue.h. |
|
Definition at line 245 of file vtkPVAnimationCue.h. |
|
Definition at line 246 of file vtkPVAnimationCue.h. |
|
Definition at line 247 of file vtkPVAnimationCue.h. |
|
Definition at line 249 of file vtkPVAnimationCue.h. |
|
Definition at line 250 of file vtkPVAnimationCue.h. |
|
Definition at line 252 of file vtkPVAnimationCue.h. |
|
Definition at line 253 of file vtkPVAnimationCue.h. |
|
Definition at line 254 of file vtkPVAnimationCue.h. |
|
Definition at line 257 of file vtkPVAnimationCue.h. |
|
Definition at line 258 of file vtkPVAnimationCue.h. |
|
Definition at line 276 of file vtkPVAnimationCue.h. |
|
Definition at line 277 of file vtkPVAnimationCue.h. |