#include <QCameraKeyPathEditorImpl.h>
Inheritance diagram for QCameraKeyPathEditorImpl:
QCameraKeyPathEditorImpl::QCameraKeyPathEditorImpl | ( | QGLViewer * | viewer, | |
QWidget * | parent = 0 , |
|||
const char * | name = 0 , |
|||
WFlags | fl = 0 | |||
) |
Constructor using given QGLExaminerViewer.
QCameraKeyPathEditorImpl::~QCameraKeyPathEditorImpl | ( | ) |
Default destructor.
void QCameraKeyPathEditorImpl::dragEnterEvent | ( | QDragEnterEvent * | ) | [protected] |
Method to handle drag 'n drop.
void QCameraKeyPathEditorImpl::dragLeaveEvent | ( | QDragLeaveEvent * | ) | [protected] |
Method to handle drag 'n drop.
void QCameraKeyPathEditorImpl::draw | ( | ) | [virtual] |
Draws a path.
Implements GLDrawable.
void QCameraKeyPathEditorImpl::dropEvent | ( | QDropEvent * | ) | [protected] |
Method to handle drag 'n drop.
bool QCameraKeyPathEditorImpl::eventFilter | ( | QObject * | o, | |
QEvent * | e | |||
) | [private] |
Filters events.
void QCameraKeyPathEditorImpl::formatCamBox | ( | ) | [private] |
Writes the names into the camera box.
CList<CCameraKeyPathPoint>* QCameraKeyPathEditorImpl::getCamerapathPtr | ( | ) | [inline, private] |
Returns pointer to the cameralist.
float QCameraKeyPathEditorImpl::getCurrentBias | ( | ) | [private] |
Returns current bias.
float QCameraKeyPathEditorImpl::getCurrentContinuity | ( | ) | [private] |
Returns current continuity.
CP3D QCameraKeyPathEditorImpl::getCurrentEyePos | ( | ) | [private] |
Returns current EyePos.
int QCameraKeyPathEditorImpl::getCurrentFovy | ( | ) | [private] |
Returns current fovy.
int QCameraKeyPathEditorImpl::getCurrentFrames | ( | ) | [private] |
Returns current frames.
CP3D QCameraKeyPathEditorImpl::getCurrentRefPoint | ( | ) | [private] |
Returns current RefPoint.
float QCameraKeyPathEditorImpl::getCurrentTension | ( | ) | [private] |
Returns current tension.
CV3D QCameraKeyPathEditorImpl::getCurrentViewUp | ( | ) | [private] |
Returns current ViewUp.
void QCameraKeyPathEditorImpl::makeArrowDispList | ( | ) | [private] |
Builds the OpenGl-List to draw an arrow.
void QCameraKeyPathEditorImpl::makePathDispList | ( | ) | [private] |
Builds the OpenGl-List to draw the camera-key-path.
void QCameraKeyPathEditorImpl::redraw | ( | ) | [private] |
Redraws the scene.
void QCameraKeyPathEditorImpl::saveInList | ( | QString | qname | ) | [private] |
Add current camera (m_myCamera) to path with given name.
void QCameraKeyPathEditorImpl::setCamera | ( | const CCamera & | ) | [private] |
Adds given camera to path. This function is called when a camera is dropped on the tool.
void QCameraKeyPathEditorImpl::setMenuBar | ( | QLayout * | ) | [private] |
Provides a menu bar, which is added to given layout.
void QCameraKeyPathEditorImpl::setSlider | ( | int | ) | [private] |
Sets slider to given value. Also updates range of slider.
void QCameraKeyPathEditorImpl::showError | ( | QString | qError | ) | [private] |
Shows a Dialog with the given error.
void QCameraKeyPathEditorImpl::sigCameraKeyPath | ( | const CList< CCameraKeyPathPoint > & | ) | [signal] |
Is emitted to submit the camerapath.
void QCameraKeyPathEditorImpl::sigRedrawGL | ( | ) | [signal] |
This signal is emitted when the scene should be redrawed.
void QCameraKeyPathEditorImpl::sltAbout | ( | ) | [private, slot] |
Shows "About" box.
void QCameraKeyPathEditorImpl::sltAddNewCamera | ( | ) | [private, slot] |
Adds a new camera to the path.
void QCameraKeyPathEditorImpl::sltApply | ( | ) | [inline, private, virtual, slot] |
Emits the current path by sending a 'sigCameraPath(...)'- signal but stays the window open.
Reimplemented from QCameraKeyPathEditor.
void QCameraKeyPathEditorImpl::sltAttachCamera | ( | ) | [private, virtual, slot] |
Handles the attach/detach/ feature.
Reimplemented from QCameraKeyPathEditor.
void QCameraKeyPathEditorImpl::sltChangeCamValue | ( | ) | [private, virtual, slot] |
Changes values of current camera.
Reimplemented from QCameraKeyPathEditor.
void QCameraKeyPathEditorImpl::sltCheckValues | ( | ) | [private, virtual, slot] |
Checks all input fields for correct input.
Reimplemented from QCameraKeyPathEditor.
void QCameraKeyPathEditorImpl::sltClearHighlights | ( | int | nIndex | ) | [private, virtual, slot] |
Clears old selection, selects item nIndex and redraws scene.
Reimplemented from QCameraKeyPathEditor.
void QCameraKeyPathEditorImpl::sltDeleteCamera | ( | ) | [private, virtual, slot] |
Is called when the delete button is clicked.
Reimplemented from QCameraKeyPathEditor.
void QCameraKeyPathEditorImpl::sltLoadFile | ( | ) | [private, slot] |
Loads XML-file.
void QCameraKeyPathEditorImpl::sltMoveDown | ( | ) | [private, virtual, slot] |
Moves selected items downwards.
Reimplemented from QCameraKeyPathEditor.
void QCameraKeyPathEditorImpl::sltMoveUp | ( | ) | [private, virtual, slot] |
Moves selected items upwards.
Reimplemented from QCameraKeyPathEditor.
void QCameraKeyPathEditorImpl::sltOk | ( | ) | [inline, private, virtual, slot] |
Emits the current path by sending a 'sigCameraPath(...)'- signal and closes the window.
Reimplemented from QCameraKeyPathEditor.
void QCameraKeyPathEditorImpl::sltReplaceCamera | ( | ) | [private, virtual, slot] |
Is called when the replace button is clicked.
Reimplemented from QCameraKeyPathEditor.
void QCameraKeyPathEditorImpl::sltSaveInXML | ( | ) | [private, slot] |
Save path in XML-file.
void QCameraKeyPathEditorImpl::sltSetCameraPath | ( | const CList< CCameraKeyPathPoint > & | ) | [slot] |
Sets Cameralist to given List. This slot is calles for when a camerapath is dropped on the tool or on the CameraKeyPathDropSite.
void QCameraKeyPathEditorImpl::sltSetFrustumSize | ( | double | ) | [private, slot] |
Saves the current frustumsize in m_rfFrustumsize.
void QCameraKeyPathEditorImpl::sltSetIconSize | ( | double | ) | [private, slot] |
Saves the current iconsize in m_rfIconsize.
void QCameraKeyPathEditorImpl::sltSetSaveName | ( | const QString & | ) | [private, slot] |
Holds the current filename for saving.
void QCameraKeyPathEditorImpl::sltShowOptions | ( | ) | [private, slot] |
Shows options.
void QCameraKeyPathEditorImpl::sltUpdateHighlights | ( | int | ) | [private, virtual, slot] |
Marks highlighted cameras and redraws scene.
Reimplemented from QCameraKeyPathEditor.
void QCameraKeyPathEditorImpl::sltUpdateName | ( | int | ) | [private, virtual, slot] |
Updates name in given index.
Reimplemented from QCameraKeyPathEditor.
void QCameraKeyPathEditorImpl::sltUpdateTool | ( | int | nIndex | ) | [private, virtual, slot] |
Updates tool with given nIndex.
Reimplemented from QCameraKeyPathEditor.
void QCameraKeyPathEditorImpl::updateBoundingBox | ( | ) |
Update bounding box.
void QCameraKeyPathEditorImpl::updateHighlights | ( | ) | [private] |
Updates current highlights.
void QCameraKeyPathEditorImpl::writeAttributes | ( | CCameraKeyPathAttributes | ) | [private] |
Write given ttributes in proper fields.
void QCameraKeyPathEditorImpl::writeCameraText | ( | CCamera * | ) | [private] |
Write given camera values in proper fields.
Current attributes.
Current camera path point.
Holds camera to detach view.
bool QCameraKeyPathEditorImpl::m_fAttachCamera [private] |
Attach cameras?.
bool QCameraKeyPathEditorImpl::m_fClearSelectedCams [private] |
Clears selection if necessary.
bool QCameraKeyPathEditorImpl::m_fClearSelection [private] |
Clear selection?.
bool QCameraKeyPathEditorImpl::m_fCorrectValues [private] |
Values correct?.
bool QCameraKeyPathEditorImpl::m_fDeleteWithSelection [private] |
Update slider while deleting?.
GLuint QCameraKeyPathEditorImpl::m_glArrowDispList [private] |
Open-GL display list.
GLuint QCameraKeyPathEditorImpl::m_glPathDispList [private] |
Open-GL display list.
CList<bool> QCameraKeyPathEditorImpl::m_highlightedCams [private] |
Saves current highlighted cameras.
CCamera QCameraKeyPathEditorImpl::m_myCamera [private] |
Current camera.
int QCameraKeyPathEditorImpl::m_nSliderIndex [private] |
The slider's current index.
Current path.
QDoubleValidator* QCameraKeyPathEditorImpl::m_pDValBias [private] |
Validator for the bias.
QDoubleValidator* QCameraKeyPathEditorImpl::m_pDValCon [private] |
Validator for the continuity.
QDoubleValidator* QCameraKeyPathEditorImpl::m_pDValEye [private] |
Validator for the EyePos.
QDoubleValidator* QCameraKeyPathEditorImpl::m_pDValFrustum [private] |
Validator for the frustumsize.
QDoubleValidator* QCameraKeyPathEditorImpl::m_pDValIcon [private] |
Validator for the iconsize.
QDoubleValidator* QCameraKeyPathEditorImpl::m_pDValRef [private] |
Validator for the RefPoint.
QDoubleValidator* QCameraKeyPathEditorImpl::m_pDValTension [private] |
Validator for the tension.
QDoubleValidator* QCameraKeyPathEditorImpl::m_pDValUp [private] |
Validator for the ViewUp.
QDoubleValidator* QCameraKeyPathEditorImpl::m_pDValVAngle [private] |
Validator for the fovy.
QIntValidator* QCameraKeyPathEditorImpl::m_pIValFrame [private] |
Validator for the framerate.
QGLViewer* QCameraKeyPathEditorImpl::m_pMyViewer [private] |
Holds current given viewer.
QMenuBar* QCameraKeyPathEditorImpl::m_pqMenuBar [private] |
The menu bar.
Menu for options.
QString QCameraKeyPathEditorImpl::m_qSaveName [private] |
Current name for saving .
float QCameraKeyPathEditorImpl::m_rfFrustumSize [private] |
Current frustumsize.
float QCameraKeyPathEditorImpl::m_rfIconSize [private] |
Current iconsize.