iRoCS Toolbox  1.1.0
Public Slots | Public Member Functions
OrthoViewPlane Class Reference

#include <OrthoViewPlane.hh>

Inheritance diagram for OrthoViewPlane:
Collaboration diagram for OrthoViewPlane:

Public Slots

void adjustSize ()
 
void updateData ()
 Repaint the RGB Array containing the fused information of all Data, Visualization and RGBChannels. More...
 

Public Member Functions

 OrthoViewPlane (OrthoViewWidget *orthoView, int orthogonalDimension, QWidget *parent=NULL)
 
 ~OrthoViewPlane ()
 
void addOverlay (OrthoViewOverlay *overlay)
 
blitz::TinyVector< int, 2 > const & dimensions () const
 
blitz::Array< blitz::TinyVector< unsigned char, 4 >, 2 > const & image () const
 
blitz::TinyVector< double, 3 > mousePositionPx (int x, int y) const
 
blitz::TinyVector< double, 3 > mousePositionUm (int x, int y) const
 Get the absolute micrometer position in the volume for the given screen coordinates. More...
 
int orthogonalDimension () const
 
OrthoViewWidgetorthoView ()
 
void paint (QPainter &painter)
 
void paint (QXmlStreamWriter &svgStream, blitz::TinyVector< double, 3 > const &shapePx, blitz::TinyVector< double, 3 > const &lowerBoundUm, blitz::TinyVector< double, 3 > const &upperBoundUm, std::string const &font, double fontSizePt, iRoCS::ProgressReporter *pr=NULL)
 
void removeOverlay (OrthoViewOverlay *overlay)
 
std::string viewId () const
 

Detailed Description

Definition at line 50 of file OrthoViewPlane.hh.

Constructor & Destructor Documentation

◆ OrthoViewPlane()

OrthoViewPlane::OrthoViewPlane ( OrthoViewWidget orthoView,
int  orthogonalDimension,
QWidget *  parent = NULL 
)

◆ ~OrthoViewPlane()

OrthoViewPlane::~OrthoViewPlane ( )

Member Function Documentation

◆ addOverlay()

void OrthoViewPlane::addOverlay ( OrthoViewOverlay overlay)

◆ removeOverlay()

void OrthoViewPlane::removeOverlay ( OrthoViewOverlay overlay)

◆ mousePositionUm()

blitz::TinyVector<double,3> OrthoViewPlane::mousePositionUm ( int  x,
int  y 
) const

Get the absolute micrometer position in the volume for the given screen coordinates.

Parameters
xx-coordinate on screen
yy-coordinate on screen
Returns
The 3-D coordinates of the selected pixel in this OrthoviewPlane in micrometers

◆ mousePositionPx()

blitz::TinyVector<double,3> OrthoViewPlane::mousePositionPx ( int  x,
int  y 
) const

◆ orthoView()

OrthoViewWidget* OrthoViewPlane::orthoView ( )

◆ dimensions()

blitz::TinyVector<int,2> const& OrthoViewPlane::dimensions ( ) const

◆ orthogonalDimension()

int OrthoViewPlane::orthogonalDimension ( ) const

◆ viewId()

std::string OrthoViewPlane::viewId ( ) const

◆ paint() [1/2]

void OrthoViewPlane::paint ( QPainter &  painter)

◆ paint() [2/2]

void OrthoViewPlane::paint ( QXmlStreamWriter &  svgStream,
blitz::TinyVector< double, 3 > const &  shapePx,
blitz::TinyVector< double, 3 > const &  lowerBoundUm,
blitz::TinyVector< double, 3 > const &  upperBoundUm,
std::string const &  font,
double  fontSizePt,
iRoCS::ProgressReporter pr = NULL 
)

◆ image()

blitz::Array<blitz::TinyVector<unsigned char,4>,2> const& OrthoViewPlane::image ( ) const

◆ adjustSize

void OrthoViewPlane::adjustSize ( )
slot

◆ updateData

void OrthoViewPlane::updateData ( )
slot

Repaint the RGB Array containing the fused information of all Data, Visualization and RGBChannels.

This must be called before a view update, if the cache of one of those channels changed.


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