ParaView
Public Slots | Signals | Public Member Functions | Protected Member Functions
pqCameraKeyFrameWidget Class Reference

pqCameraKeyFrameWidget is the widget that is shown to edit the value of a single camera key frame. More...

#include <pqCameraKeyFrameWidget.h>

List of all members.

Public Slots

void initializeUsingKeyFrame (vtkSMProxy *keyframeProxy)
 Initialize the widget using the values from the key frame proxy.
void initializeUsingCamera (vtkCamera *camera)
 Initialize the widget using the camera.
void setUsePathBasedMode (bool)
 The camera keyframes have 2 modes either interpolate vtkCamera's using the camera interpolator or use path-based.
void saveToKeyFrame (vtkSMProxy *keyframeProxy)
 Write the user chosen values for this key frame to the proxy.

Signals

void useCurrentCamera ()
 Fired when user requests the use of the current camera as the value for the key frame.

Public Member Functions

 pqCameraKeyFrameWidget (QWidget *parent=0)
virtual ~pqCameraKeyFrameWidget ()
bool usePathBasedMode () const

Protected Member Functions

virtual void showEvent (QShowEvent *)
virtual void hideEvent (QHideEvent *)

Detailed Description

pqCameraKeyFrameWidget is the widget that is shown to edit the value of a single camera key frame.

This class is based on pqCameraWidget and hence has sections of code borrowed from there.

Definition at line 44 of file pqCameraKeyFrameWidget.h.


Constructor & Destructor Documentation

pqCameraKeyFrameWidget::pqCameraKeyFrameWidget ( QWidget *  parent = 0)
virtual pqCameraKeyFrameWidget::~pqCameraKeyFrameWidget ( ) [virtual]

Member Function Documentation

bool pqCameraKeyFrameWidget::usePathBasedMode ( ) const
void pqCameraKeyFrameWidget::useCurrentCamera ( ) [signal]

Fired when user requests the use of the current camera as the value for the key frame.

void pqCameraKeyFrameWidget::initializeUsingKeyFrame ( vtkSMProxy keyframeProxy) [slot]

Initialize the widget using the values from the key frame proxy.

void pqCameraKeyFrameWidget::initializeUsingCamera ( vtkCamera camera) [slot]

Initialize the widget using the camera.

void pqCameraKeyFrameWidget::setUsePathBasedMode ( bool  ) [slot]

The camera keyframes have 2 modes either interpolate vtkCamera's using the camera interpolator or use path-based.

This mode is not defined on per-keyframe basis, but on the entire animation track. Hence, we provide this slot to choose which mode should the widget operate in.

void pqCameraKeyFrameWidget::saveToKeyFrame ( vtkSMProxy keyframeProxy) [slot]

Write the user chosen values for this key frame to the proxy.

virtual void pqCameraKeyFrameWidget::showEvent ( QShowEvent *  ) [protected, virtual]
virtual void pqCameraKeyFrameWidget::hideEvent ( QHideEvent *  ) [protected, virtual]

The documentation for this class was generated from the following file: