class
#include <FAST/Visualization/View.hpp>
View
Contents
Base classes
- class ProcessObject
- Abstract base class for all process objects.
Public static functions
- static auto getGLFormat() -> QGLFormat
Constructors, destructors, conversion operators
Public functions
-
void addRenderer(Renderer::
pointer renderer) -
void removeRenderer(Renderer::
pointer renderer) - void removeAllRenderers()
- void keyPressEvent(QKeyEvent* event)
- void mouseMoveEvent(QMouseEvent* event)
- void mousePressEvent(QMouseEvent* event)
- void mouseReleaseEvent(QMouseEvent* event)
- void wheelEvent(QWheelEvent* event)
- void changeEvent(QEvent* event)
- auto eventFilter(QObject* object, QEvent* event) -> bool
- void setMaximumFramerate(unsigned int framerate)
-
void setCameraInputConnection(DataChannel::
pointer port) - void set2DMode()
- void set3DMode()
- void setLookAt(Vector3f cameraPosition, Vector3f targetPosition, Vector3f cameraUpVector, float zNear = 0.1, float zFar = 1000)
- void quit()
- void reinitialize()
- auto hasQuit() const -> bool
- void recalculateCamera()
- void setBackgroundColor(Color color)
- void setAutoUpdateCamera(bool autoUpdate)
- auto getOrthoProjectionParameters() -> Vector4f
- auto getNameOfClass() const -> std::string virtual
-
auto getRenderers() -> std::vector<Renderer::
pointer> - auto getViewMatrix() const -> Matrix4f
- auto getPerspectiveMatrix() const -> Matrix4f
- void loadAttributes() override
- void setZoom(float zoom)
- auto asQGLWidget() -> QGLWidget*
- void setScalebar(float enable)
- Enable or disable scalebar.
Protected functions
- void getMinMaxFromBoundingBoxes(bool transform, Vector3f& min, Vector3f& max)
- void initializeGL()
- void paintGL()
- void resizeGL(int width, int height)
- void updateRenderersInput(int executeToken)
- void updateRenderers(int executeToken)
- void stopRenderers()
- void resetRenderers()
Protected variables
- std::mutex m_mutex
- std::atomic_bool m_initialized
Private functions
- void execute() virtual
Function documentation
void fast:: View:: setZoom(float zoom)
Function for setting the zoom level of the view. Level 1 is no zooming. Level 0.5 makes images in the view half its size. Level 2 makes images in the view double in size.