open_iA 2021.08
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
iASlicerProfileHandles Class Reference

Shows handles for start and end of a profile line on the given (slicer) renderer. More...

#include <iASlicerProfileHandles.h>

Collaboration diagram for iASlicerProfileHandles:
[legend]

Public Member Functions

 iASlicerProfileHandles ()
 
void addToRenderer (vtkRenderer *ren)
 
void findSelectedPointIdx (double x, double y)
 
int pointIdx () const
 
double const * position (int pointIdx)
 
void setPointScaling (double scaling)
 
int setup (int pointInd, double const *pos3d, double const *pos2d, vtkImageData *imgData)
 
void setVisibility (bool isVisible)
 

Static Public Attributes

static const int PointRadius = 5
 
static const int ZCoord = 0
 

Protected Attributes

iALineSegment m_hLine [2]
 
iADiskData m_points [2]
 data for the disk visualizations of start and end point More...
 
double m_positions [2][3]
 
iALineSegment m_profLine
 profile line More...
 
int m_profPntInd
 currently selected point of profile More...
 
double m_radius
 radius, taking into account image spacing More...
 
iALineSegment m_vLine [2]
 horizontal and vertical lines More...
 
iALinePointers m_zeroLine
 zero line More...
 

Detailed Description

Shows handles for start and end of a profile line on the given (slicer) renderer.

Constructor & Destructor Documentation

◆ iASlicerProfileHandles()

iASlicerProfileHandles::iASlicerProfileHandles ( )

Member Function Documentation

◆ addToRenderer()

void iASlicerProfileHandles::addToRenderer ( vtkRenderer *  ren)

◆ findSelectedPointIdx()

void iASlicerProfileHandles::findSelectedPointIdx ( double  x,
double  y 
)

◆ pointIdx()

int iASlicerProfileHandles::pointIdx ( ) const

◆ position()

double const * iASlicerProfileHandles::position ( int  pointIdx)

◆ setPointScaling()

void iASlicerProfileHandles::setPointScaling ( double  scaling)

◆ setup()

int iASlicerProfileHandles::setup ( int  pointInd,
double const *  pos3d,
double const *  pos2d,
vtkImageData *  imgData 
)

◆ setVisibility()

void iASlicerProfileHandles::setVisibility ( bool  isVisible)

Member Data Documentation

◆ m_hLine

iALineSegment iASlicerProfileHandles::m_hLine[2]
protected

◆ m_points

iADiskData iASlicerProfileHandles::m_points[2]
protected

data for the disk visualizations of start and end point

◆ m_positions

double iASlicerProfileHandles::m_positions[2][3]
protected

◆ m_profLine

iALineSegment iASlicerProfileHandles::m_profLine
protected

profile line

◆ m_profPntInd

int iASlicerProfileHandles::m_profPntInd
protected

currently selected point of profile

◆ m_radius

double iASlicerProfileHandles::m_radius
protected

radius, taking into account image spacing

◆ m_vLine

iALineSegment iASlicerProfileHandles::m_vLine[2]
protected

horizontal and vertical lines

◆ m_zeroLine

iALinePointers iASlicerProfileHandles::m_zeroLine
protected

zero line

◆ PointRadius

const int iASlicerProfileHandles::PointRadius = 5
static

◆ ZCoord

const int iASlicerProfileHandles::ZCoord = 0
static

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