GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • FAST | Documentation
  • Get started
  • Install FAST
  • C++ Introduction Tutorial
  • Python Introduction Tutorial
  • Text Pipelines
  • Learn FAST
  • C++ Tutorials
  • C++ Examples
  • Python Tutorials
  • Python Examples
  • API Reference
  • API Index
  • Building FAST

This view

  • Original page
  • New address

GeezerVison is showing fast-imaging.github.io — fast::View class | FAST | Documentation

fast::View class
#include <FAST/Visualization/View.hpp>

Contents

  • Reference
    • Base classes
    • Public static functions
    • Constructors, destructors, conversion operators
    • Public functions
    • Signals
    • Protected functions
    • Protected variables
    • Private functions

Base classes

class ProcessObject
Abstract base class for all process objects.

Public static functions

static auto getGLFormat() -> QGLFormat

Constructors, destructors, conversion operators

~View()
View()

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 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.
void scheduleRedraw(bool now = true)
void setMinSize(float size)
Set min size, i.e. max zoom.
void setMaxSize(float size)
Set max size, i.e. min zoom.

Signals

void redraw()

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.

void fast::View::setScalebar(float enable)

Enable or disable scalebar.

Parameters
enable

void fast::View::setMinSize(float size)

Set min size, i.e. max zoom.

Parameters
size In millimeters

void fast::View::setMaxSize(float size)

Set max size, i.e. min zoom.

Parameters
size In millimeters
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.