pqCameraKeyFrameWidget is the widget that is shown to edit the value of a single camera key frame.
More...
#include <pqCameraKeyFrameWidget.h>
Inherits QWidget.
|
void | useCurrentCamera () |
| Fired when user requests the use of the current camera as the value for the key frame. More...
|
|
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.
§ pqCameraKeyFrameWidget()
pqCameraKeyFrameWidget::pqCameraKeyFrameWidget |
( |
QWidget * |
parent = 0 | ) |
|
§ ~pqCameraKeyFrameWidget()
virtual pqCameraKeyFrameWidget::~pqCameraKeyFrameWidget |
( |
| ) |
|
|
virtual |
§ 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: