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

vtkPVPropertyKeyFrame Class Reference

GUI for a keyframe that animates a property. More...

#include <vtkPVPropertyKeyFrame.h>

Inheritance diagram for vtkPVPropertyKeyFrame:

Inheritance graph
[legend]
Collaboration diagram for vtkPVPropertyKeyFrame:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vtkTypeRevisionMacro (vtkPVPropertyKeyFrame, vtkPVKeyFrame)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void InitializeKeyValueUsingCurrentState ()
virtual void InitializeKeyValueDomainUsingCurrentState ()
virtual void Copy (vtkPVKeyFrame *fromKF)
virtual void SaveState (ofstream *file)
virtual void UpdateEnableState ()
void SetKeyValue (double value)
void SetKeyValue (int index, double value)
double GetKeyValue ()
double GetKeyValue (int index)
void SetNumberOfKeyValues (int num)
int GetNumberOfKeyValues ()
virtual void InitializeKeyValueUsingProperty (vtkSMProperty *property, int index)
void ValueChangedCallback ()
void MinimumCallback ()
void MaximumCallback ()
virtual void SetValueToMinimum ()
virtual void SetValueToMaximum ()
void SetKeyValueWithTrace (int index, double val)
void SetNumberOfKeyValuesWithTrace (int num)

Protected Member Functions

 vtkPVPropertyKeyFrame ()
 ~vtkPVPropertyKeyFrame ()
virtual void ChildCreate (vtkKWApplication *app)
void CreateValueWidget ()
virtual void UpdateValuesFromProxy ()
virtual void UpdateValueFromGUI ()
void UpdateDomain ()

Protected Attributes

vtkKWLabelValueLabel
vtkKWWidgetValueWidget
vtkKWPushButtonMinButton
vtkKWPushButtonMaxButton

Detailed Description

GUI for a keyframe that animates a property.

This is the GUI for a key frame that animates a property (as against the one for animating a proxy).

See also:
vtkPVProxyKeyFrame

Definition at line 33 of file vtkPVPropertyKeyFrame.h.


Constructor & Destructor Documentation

vtkPVPropertyKeyFrame::vtkPVPropertyKeyFrame  )  [protected]
 

vtkPVPropertyKeyFrame::~vtkPVPropertyKeyFrame  )  [protected]
 


Member Function Documentation

vtkPVPropertyKeyFrame::vtkTypeRevisionMacro vtkPVPropertyKeyFrame  ,
vtkPVKeyFrame 
 

void vtkPVPropertyKeyFrame::PrintSelf ostream &  os,
vtkIndent  indent
 

Reimplemented from vtkPVKeyFrame.

Reimplemented in vtkPVBooleanKeyFrame, vtkPVExponentialKeyFrame, vtkPVRampKeyFrame, and vtkPVSinusoidKeyFrame.

void vtkPVPropertyKeyFrame::SetKeyValue double  value  )  [inline]
 

Methods to get/set key value.

Definition at line 41 of file vtkPVPropertyKeyFrame.h.

void vtkPVPropertyKeyFrame::SetKeyValue int  index,
double  value
 

Methods to get/set key value.

double vtkPVPropertyKeyFrame::GetKeyValue  )  [inline]
 

Methods to get/set key value.

Definition at line 43 of file vtkPVPropertyKeyFrame.h.

double vtkPVPropertyKeyFrame::GetKeyValue int  index  ) 
 

Methods to get/set key value.

void vtkPVPropertyKeyFrame::SetNumberOfKeyValues int  num  ) 
 

Set the number of key values for this key frame.

int vtkPVPropertyKeyFrame::GetNumberOfKeyValues  ) 
 

Set the number of key values for this key frame.

virtual void vtkPVPropertyKeyFrame::InitializeKeyValueUsingCurrentState  )  [virtual]
 

Initialized Key Value using current animated property value.

Implements vtkPVKeyFrame.

virtual void vtkPVPropertyKeyFrame::InitializeKeyValueUsingProperty vtkSMProperty property,
int  index
[virtual]
 

Initilizes the Key Value using the property element at given index.

virtual void vtkPVPropertyKeyFrame::InitializeKeyValueDomainUsingCurrentState  )  [virtual]
 

Initialize the Key Value bounds using current animatied property value and domain state.

Implements vtkPVKeyFrame.

void vtkPVPropertyKeyFrame::ValueChangedCallback  ) 
 

Callbacks for GUI.

void vtkPVPropertyKeyFrame::MinimumCallback  ) 
 

Callbacks for GUI.

void vtkPVPropertyKeyFrame::MaximumCallback  ) 
 

Callbacks for GUI.

virtual void vtkPVPropertyKeyFrame::SetValueToMinimum  )  [virtual]
 

These methods set the current Key value to min or max if they exist. Otherwise the value remains unchanged.

Implements vtkPVKeyFrame.

virtual void vtkPVPropertyKeyFrame::SetValueToMaximum  )  [virtual]
 

These methods set the current Key value to min or max if they exist. Otherwise the value remains unchanged.

Implements vtkPVKeyFrame.

void vtkPVPropertyKeyFrame::SetKeyValueWithTrace int  index,
double  val
 

Methods that add entries to trace. These are called by *Callback methods.

void vtkPVPropertyKeyFrame::SetNumberOfKeyValuesWithTrace int  num  ) 
 

Methods that add entries to trace. These are called by *Callback methods.

virtual void vtkPVPropertyKeyFrame::Copy vtkPVKeyFrame fromKF  )  [virtual]
 

Copies the values from argument. If the two differ in type, only corresponding properies are copied over; Note: this method is safe only if both the keyframes are from the same Animation Cue.

Reimplemented from vtkPVKeyFrame.

virtual void vtkPVPropertyKeyFrame::SaveState ofstream *  file  )  [virtual]
 

Save state of the GUI.

Reimplemented from vtkPVKeyFrame.

Reimplemented in vtkPVExponentialKeyFrame, and vtkPVSinusoidKeyFrame.

virtual void vtkPVPropertyKeyFrame::UpdateEnableState  )  [virtual]
 

Propagate widget enable state.

Reimplemented from vtkPVKeyFrame.

Reimplemented in vtkPVExponentialKeyFrame, and vtkPVSinusoidKeyFrame.

virtual void vtkPVPropertyKeyFrame::ChildCreate vtkKWApplication app  )  [protected, virtual]
 

Subclasses create the GUI elements they need in this method. Don't forget to call the superclass implementation.

Reimplemented from vtkPVKeyFrame.

Reimplemented in vtkPVBooleanKeyFrame, vtkPVExponentialKeyFrame, vtkPVRampKeyFrame, and vtkPVSinusoidKeyFrame.

void vtkPVPropertyKeyFrame::CreateValueWidget  )  [protected]
 

Method to create the value widget according to the animated property. This methods creates the widget to display the keyframe value. It can be of 3 types: vtkPVSelectionList, vtkKWCheckButton, vtkKWThumbWheel. Which to create depends on the domain of the animated property. This merely creates the widget.

virtual void vtkPVPropertyKeyFrame::UpdateValuesFromProxy  )  [protected, virtual]
 

Update the values from the vtkSMKeyFrameProxy.

Reimplemented from vtkPVKeyFrame.

Reimplemented in vtkPVExponentialKeyFrame, and vtkPVSinusoidKeyFrame.

virtual void vtkPVPropertyKeyFrame::UpdateValueFromGUI  )  [protected, virtual]
 

Updates the animated property values using the GUI.

void vtkPVPropertyKeyFrame::UpdateDomain  )  [protected]
 

Updates GUI domain based on vtkSMDomain of the animated property.


Member Data Documentation

vtkKWLabel* vtkPVPropertyKeyFrame::ValueLabel [protected]
 

Definition at line 120 of file vtkPVPropertyKeyFrame.h.

vtkKWWidget* vtkPVPropertyKeyFrame::ValueWidget [protected]
 

Definition at line 121 of file vtkPVPropertyKeyFrame.h.

vtkKWPushButton* vtkPVPropertyKeyFrame::MinButton [protected]
 

Definition at line 122 of file vtkPVPropertyKeyFrame.h.

vtkKWPushButton* vtkPVPropertyKeyFrame::MaxButton [protected]
 

Definition at line 123 of file vtkPVPropertyKeyFrame.h.


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