30 #ifndef RIOENGINE_EDITOR_QGLGAMEEDITORVIEWPORT_QGLGAMEEDITORVIEWPORT_H_
31 #define RIOENGINE_EDITOR_QGLGAMEEDITORVIEWPORT_QGLGAMEEDITORVIEWPORT_H_
144 bool m_autoRecalcAABBOnResize;
146 btVector3 x_axis, y_axis, z_axis;
156 #endif // RIOENGINE_EDITOR_QGLGAMEEDITORVIEWPORT_QGLGAMEEDITORVIEWPORT_H_
std::string m_previousActiveCameraId
void newGameObjectSelected(uint)
btVector3 calcScaleVec(AxisTypes, float, bool)
Calculates the differential scale vector based upon the given axis direction and differential size...
AxisTypes selectAxis(int x, int y)
Returns the picked axis by the user.
void mouseMoveEvent(QMouseEvent *event)
void drawRotationManipulatorsForNode(CLNode *node, Transform::TransformMode transform_mode, btVector3 &scale)
CGameObject * m_selectedGameObject
float getMotionThroughAxis(btVector3 &, Vector2)
Determines how parallel is the mouse movement to a manipulator axis.
uint selectObject(int x, int y)
Returns the selected game object (if any) at the given coordinates.
virtual void drawSkybox()
btVector3 calcTranslationVec(btVector3 &, Vector2, btMatrix3x3 &, float, Transform::TransformMode, AxisTypes)
Calculates the differential translation vector based upon the object's position, rotation, and the motion vector.
void wheelEvent(QWheelEvent *event)
void drawSolidCone(GLdouble, GLdouble, GLint, GLint)
void drawCommonManipulatorsForNode(CLNode *node, ManipulatorTypes manipulator_type, Transform::TransformMode transform_mode, btVector3 &scale)
uint selectedGameObjectUID() const
void setSelectedGameObjectUID(uint)
QGLGameEditorViewport(CLScene *collada_scene, CGameScene *game_scene)
void manipulatorMoved(ManipulatorTypes manipulator_type, int dx, int dy)
virtual void drawCrosshair()
virtual void drawGameObject(CGameObject *game_object)
void mousePressEvent(QMouseEvent *event)
Transform::TransformMode selectedTransformMode() const
void mouseReleaseEvent(QMouseEvent *event)
void drawManipulatorsForGameObject(uint uid)
Draws the Translation, Rotation or Scale manipulators for the given game object's unique id...
ManipulatorTypes selectedManipulatorType() const
QMap< uint, QColor > m_nodesColor
void setSelectedTransformMode(const Transform::TransformMode &value)
QColorProvider m_colorProvider
virtual void customDraw()
void selectedGameObjectTransformChanged(QGLGameEditorViewport::ManipulatorTypes)
void setSelectedManipulatorType(const ManipulatorTypes &value)
bool autoRecalcAABBOnResize() const
void setAutoRecalcAABBOnResize(bool)