#include <vtkPVSimpleAnimationCue.h>
Inheritance diagram for vtkPVSimpleAnimationCue:
This class provides the minimalistic GUI stuff for the vtkSMAnimationCueProxy. The subclasses can provide the GUI for the cue eg. animation tracks or otherwise. This class provides methods to manage vtkSMAnimationCueProxy and vtkSMKeyFrameAnimationCueManipulatorProxy and the keyframes associated with it.
Definition at line 40 of file vtkPVSimpleAnimationCue.h.
|
Definition at line 213 of file vtkPVSimpleAnimationCue.h. |
|
These are different types of KeyFrames. Definition at line 251 of file vtkPVSimpleAnimationCue.h. |
|
|
|
|
|
Reimplemented from vtkPVTracedWidget. Reimplemented in vtkPVAnimationCue, vtkPVAnimationCueTree, and vtkPVCameraAnimationCue. |
|
|
|
Reimplemented from vtkPVTracedWidget. Reimplemented in vtkPVAnimationCue, vtkPVAnimationCueTree, and vtkPVCameraAnimationCue. |
|
Create the widget. Reimplemented from vtkKWCompositeWidget. Reimplemented in vtkPVAnimationCue, and vtkPVAnimationCueTree. |
|
Virtual indicates if this cue is a actual cue, which has a proxy associated with it or merely a grouping GUI element. |
|
Returns a readable text for the cue. Note that memory is allocated, so the caller must clean it up. |
|
Pointer to the parent animation cue , if any. Note that parent is not reference counted. This is needed to build a text representation for the cue (as returned by GetTextRepresentation()) Definition at line 64 of file vtkPVSimpleAnimationCue.h. |
|
Label Text is the label for this cue. Reimplemented in vtkPVAnimationCue. |
|
Label Text is the label for this cue. |
|
Get the MTime of the Keyframes. |
|
Get the number of key frames in this cue. |
|
Returns the time for the keyframe at the given id. Time is normalized to the span of the cue [0,1]. |
|
Change the keyframe time for a keyframe at the given id. Time is normalized to the span of the cue [0,1]. |
|
Add a new key frame to the cue at the given time. If this cue is Virtual, this can add upto two keyframes. If the cue is Non-Virtual, it creates a key frame of the type vtkPVAnimationManager::RAMP and adds it to the cue at the specified time. NOTE: It does not verify is a key frame already exists at the same time. Time is normalized to the span of the cue [0,1]. |
|
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 in vtkPVAnimationCue. |
|
Determine a time to append a new keyframe (the old keyframes in this cue may get shrunk to accomadate the new keyframe) and calls AddNewKeyFrame. |
|
Remove All Key frames from this cue. Reimplemented in vtkPVAnimationCue, and vtkPVAnimationCueTree. |
|
Removes a particular key frame from the cue. This method merely removes the keyframe. It does not lead to changing of the selection on the timeline and raising of appriate events. For all that to happen one must use DeleteKeyFrame. |
|
Removes a keyframe at the given id from the cue. This method merely removes the keyframe. It does not lead to changing of the selection on the timeline and raising of appriate events. For all that to happen one must use DeleteKeyFrame. |
|
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 in vtkPVAnimationCue. |
|
Returns true if the selected keyframe can be deleted. |
|
Returns true if the selected keyframe can be deleted. |
|
Returns a key frame at the given id in the cue. |
|
Returns a key frame with the givenn name. This is only for trace and should never be used otherwise. OBSOLETE: trace no longer replies on keyframe names. Instead it relies on selection of the appropriate keyframe. |
|
Returns the currently selected key frame (as indicated by SelectedKeyFrameIndex), if any, otherwise NULL. |
|
Replaces a keyframe with another. The Key time and key value of the oldFrame and copied over to the newFrame; Reimplemented in vtkPVAnimationCue, and vtkPVCameraAnimationCue. |
|
Method to query if the animation cue supports the given type of key frame. Default implementatio returns true for all but Camera keyframes. Reimplemented in vtkPVCameraAnimationCue. |
|
Methods to set the animated proxy/property/domain/element information. Reimplemented in vtkPVCameraAnimationCue. |
|
Methods to set the animated proxy/property/domain/element information. |
|
Methods to set the animated proxy/property/domain/element information. Reimplemented in vtkPVCameraAnimationCue. |
|
Methods to set the animated proxy/property/domain/element information. |
|
Methods to set the animated proxy/property/domain/element information. |
|
Methods to set the animated proxy/property/domain/element information. |
|
Methods to set the animated proxy/property/domain/element information. |
|
Methods to set the animated proxy/property/domain/element information. |
|
Start Recording. Once recording has been started new key frames cannot be added directly. Reimplemented in vtkPVAnimationCue, vtkPVAnimationCueTree, and vtkPVCameraAnimationCue. |
|
Stop Recording. Reimplemented in vtkPVAnimationCue, and vtkPVAnimationCueTree. |
|
Reimplemented in vtkPVAnimationCue, vtkPVAnimationCueTree, and vtkPVCameraAnimationCue. |
|
Get the animation cue proxy associated with this cue. If this cue is Virtual, this method returns NULL. |
|
Set the animation cue proxy controlled by this cue. If this GUI already had a Cue proxy associated with it which it had registered with the vtkSMProxyManager, this call unregisters the old proxy and registers the new one. If the old proxy had keyframes in it which had GUI associated with it, then, the keyframe GUI is also destroyed. If the new cue proxy doesn't have a manipulator associated with it, a new vtkSMKeyFrameAnimationCueManipulatorProxy will be created and set as the manipulator for the cueProxy. If this cue is Virtual, this method has no effect. Can be called before Create is called in which case this class does not create the proxies. |
|
Sets up the keyframe state (key value/ value bounds etc). using the current state of of the property. |
|
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 vtkKWWidget. Reimplemented in vtkPVAnimationCue, and vtkPVAnimationCueTree. |
|
This will select the keyframe. Fires a SelectionChangedEvent. Reimplemented in vtkPVAnimationCue. |
|
Get the selected key frame index. -1, when none is selected. |
|
Set the timeline parameter bounds. This class provides a crude, inefficient implementation when PVTimeLine object is not available. vtkPVAnimationCue overrides this method to provide a better implementation. Reimplemented in vtkPVAnimationCue, and vtkPVAnimationCueTree. |
|
Set the timeline parameter bounds. This class provides a crude, inefficient implementation when PVTimeLine object is not available. vtkPVAnimationCue overrides this method to provide a better implementation. Reimplemented in vtkPVAnimationCue. |
|
This is the parent frame which will contain the Keyframes. Typically, this is an instance of vtkPVTrackEditor. |
|
This is the parent frame which will contain the Keyframes. Typically, this is an instance of vtkPVTrackEditor. |
|
Forwarded to all created key frames. |
|
Forwarded to all created key frames. |
|
Get/Set the default key frame type created by this Cue. |
|
Get/Set the default key frame type created by this Cue. |
|
Creates a new key frame of the sepecified type and adds it to the cue. If replaceFrame is specified, the new key frame replaces that frame in the cue. Basic properties from replaceFrame are copied over to the newly created frame. |
|
Returns a new Key frame of the specified type. Note that this method does not "Create" the key frame (by calling Create), it merely instantiates the right kind of vtkPVKeyFrame subclass. |
|
Returns the type of the key frame. |
|
Returns the type of the key frame. |
|
|
|
Creates the proxies for the Cue. |
|
Internal method to clean up keyframes GUI. |
|
Using the proxies for keyframes, creates the corresponding GUI. |
|
Initantiates a new vtkPVKeyFrame subclass for the given type and sets it's parent etc. Does not call Create on the object though. |
|
Set if the Cue is virtual i.e. it has no proxies associated with it, instead is a dummy cue used as a container for other cues. NOTE: this property must not be changed after Create. |
|
Internal method to add a new keyframe. |
|
|
|
|
|
Obtains the Manip. proxy from the CueProxy. If CueProxy doesn't have a manip. a new one is created using the KeyFrameManipulatorProxyXMLName. |
|
|
|
|
|
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 in vtkPVAnimationCue. |
|
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 in vtkPVAnimationCue. |
|
|
|
Reimplemented in vtkPVAnimationCue, and vtkPVAnimationCueTree. |
|
Definition at line 364 of file vtkPVSimpleAnimationCue.h. |
|
Definition at line 309 of file vtkPVSimpleAnimationCue.h. |
|
Definition at line 310 of file vtkPVSimpleAnimationCue.h. |
|
Definition at line 311 of file vtkPVSimpleAnimationCue.h. |
|
Definition at line 313 of file vtkPVSimpleAnimationCue.h. |
|
Definition at line 314 of file vtkPVSimpleAnimationCue.h. |
|
Definition at line 316 of file vtkPVSimpleAnimationCue.h. |
|
Definition at line 317 of file vtkPVSimpleAnimationCue.h. |
|
Definition at line 318 of file vtkPVSimpleAnimationCue.h. |
|
Definition at line 319 of file vtkPVSimpleAnimationCue.h. |
|
Definition at line 320 of file vtkPVSimpleAnimationCue.h. |
|
Definition at line 323 of file vtkPVSimpleAnimationCue.h. |
|
Definition at line 331 of file vtkPVSimpleAnimationCue.h. |
|
Definition at line 333 of file vtkPVSimpleAnimationCue.h. |
|
Definition at line 336 of file vtkPVSimpleAnimationCue.h. |
|
Definition at line 337 of file vtkPVSimpleAnimationCue.h. |
|
Definition at line 339 of file vtkPVSimpleAnimationCue.h. |
|
Definition at line 340 of file vtkPVSimpleAnimationCue.h. |
|
This variable indicates if a keyframe was added in the previous call to RecordState Definition at line 344 of file vtkPVSimpleAnimationCue.h. |
|
Keyframes assigned unique names. The names are dependent on the order for the cue in which they are created. KeyFramesCreatedCount keeps track of the order. Definition at line 349 of file vtkPVSimpleAnimationCue.h. |
|
The type of the keyframe created by default. Definition at line 352 of file vtkPVSimpleAnimationCue.h. |
|
Definition at line 365 of file vtkPVSimpleAnimationCue.h. |
|
Definition at line 370 of file vtkPVSimpleAnimationCue.h. |