open_iA 2024.9
Loading...
Searching...
No Matches
iACameraVis Class Reference

Visualizes a representation of a camera; typically used for displaying the viewing position and direction of a collaborator using a different interface for viewing the same dataset. More...

#include <iACameraVis.h>

Inheritance diagram for iACameraVis:
[legend]
Collaboration diagram for iACameraVis:
[legend]

Signals

void updateRequired ()
 Triggered on a call to update; intended to be used to call updateSource in the UI thread.
 

Public Member Functions

 iACameraVis (vtkRenderer *ren, double size, QColor bodyColor, QColor vecColor)
 Create a visualization for the given renderer, with the given size and colors.
 
 ~iACameraVis ()
 
void hide ()
 
void show ()
 
bool update (iAVec3d const &pos, iAVec3d const &dir, iAVec3d const &up)
 Update the parameters of the visualization (can be called from any thread)
 
void updateSource ()
 Updates the source and triggers re-rendering (needs to be called within the UI thread)
 
iAVec3d pos () const
 access to the parameters of the visualization
 
iAVec3d dir () const
 
iAVec3d up () const
 

Detailed Description

Visualizes a representation of a camera; typically used for displaying the viewing position and direction of a collaborator using a different interface for viewing the same dataset.

Constructor & Destructor Documentation

◆ iACameraVis()

iACameraVis::iACameraVis ( vtkRenderer * ren,
double size,
QColor bodyColor,
QColor vecColor )

Create a visualization for the given renderer, with the given size and colors.

◆ ~iACameraVis()

iACameraVis::~iACameraVis ( )

Member Function Documentation

◆ dir()

iAVec3d iACameraVis::dir ( ) const

◆ hide()

void iACameraVis::hide ( )

◆ pos()

iAVec3d iACameraVis::pos ( ) const

access to the parameters of the visualization

◆ show()

void iACameraVis::show ( )

◆ up()

iAVec3d iACameraVis::up ( ) const

◆ update()

bool iACameraVis::update ( iAVec3d const & pos,
iAVec3d const & dir,
iAVec3d const & up )

Update the parameters of the visualization (can be called from any thread)

◆ updateRequired

void iACameraVis::updateRequired ( )
signal

Triggered on a call to update; intended to be used to call updateSource in the UI thread.

◆ updateSource()

void iACameraVis::updateSource ( )

Updates the source and triggers re-rendering (needs to be called within the UI thread)


The documentation for this class was generated from the following files: