ParaView
Public Slots | Signals | Public Member Functions | Protected Member Functions | List of all members
pqCameraKeyFrameWidget Class Reference

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

#include <pqCameraKeyFrameWidget.h>

Inherits QWidget.

Public Slots

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

Signals

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

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 46 of file pqCameraKeyFrameWidget.h.

Constructor & Destructor Documentation

§ pqCameraKeyFrameWidget()

pqCameraKeyFrameWidget::pqCameraKeyFrameWidget ( QWidget *  parent = 0)

§ ~pqCameraKeyFrameWidget()

virtual pqCameraKeyFrameWidget::~pqCameraKeyFrameWidget ( )
virtual

Member Function Documentation

§ usePathBasedMode()

bool pqCameraKeyFrameWidget::usePathBasedMode ( ) const

§ useCurrentCamera

void pqCameraKeyFrameWidget::useCurrentCamera ( )
signal

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

§ initializeUsingKeyFrame

void pqCameraKeyFrameWidget::initializeUsingKeyFrame ( vtkSMProxy keyframeProxy)
slot

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

§ initializeUsingCamera

void pqCameraKeyFrameWidget::initializeUsingCamera ( vtkCamera *  camera)
slot

Initialize the widget using the camera.

§ setUsePathBasedMode

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.

§ saveToKeyFrame

void pqCameraKeyFrameWidget::saveToKeyFrame ( vtkSMProxy keyframeProxy)
slot

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

§ showEvent()

virtual void pqCameraKeyFrameWidget::showEvent ( QShowEvent *  )
protectedvirtual

§ hideEvent()

virtual void pqCameraKeyFrameWidget::hideEvent ( QHideEvent *  )
protectedvirtual

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