open_iA  2020.01
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
iAArbitraryProfileOnSlicer Class Reference

Adds handles for start and end of a profile line to the given renderer. More...

#include <iAArbitraryProfileOnSlicer.h>

Collaboration diagram for iAArbitraryProfileOnSlicer:

Public Member Functions

void addToRenderer (vtkRenderer *ren)
 
void findSelectedPointIdx (double x, double y)
 
 iAArbitraryProfileOnSlicer ()
 
int pointIdx () const
 
const double * 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

int m_arbProfPntInd
 currently selected point of arbitrary profile More...
 
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...
 
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

Adds handles for start and end of a profile line to the given renderer.

Constructor & Destructor Documentation

◆ iAArbitraryProfileOnSlicer()

iAArbitraryProfileOnSlicer::iAArbitraryProfileOnSlicer ( )

Member Function Documentation

◆ addToRenderer()

void iAArbitraryProfileOnSlicer::addToRenderer ( vtkRenderer *  ren)

◆ findSelectedPointIdx()

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

◆ pointIdx()

int iAArbitraryProfileOnSlicer::pointIdx ( ) const

◆ position()

const double * iAArbitraryProfileOnSlicer::position ( int  pointIdx)

◆ setPointScaling()

void iAArbitraryProfileOnSlicer::setPointScaling ( double  scaling)

◆ setup()

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

◆ setVisibility()

void iAArbitraryProfileOnSlicer::setVisibility ( bool  isVisible)

Member Data Documentation

◆ m_arbProfPntInd

int iAArbitraryProfileOnSlicer::m_arbProfPntInd
protected

currently selected point of arbitrary profile

◆ m_hLine

iALineSegment iAArbitraryProfileOnSlicer::m_hLine[2]
protected

◆ m_points

iADiskData iAArbitraryProfileOnSlicer::m_points[2]
protected

data for the disk visualizations of start and end point

◆ m_positions

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

◆ m_profLine

iALineSegment iAArbitraryProfileOnSlicer::m_profLine
protected

profile line

◆ m_radius

double iAArbitraryProfileOnSlicer::m_radius
protected

radius, taking into account image spacing

◆ m_vLine

iALineSegment iAArbitraryProfileOnSlicer::m_vLine[2]
protected

horizontal and vertical lines

◆ m_zeroLine

iALinePointers iAArbitraryProfileOnSlicer::m_zeroLine
protected

zero line

◆ PointRadius

const int iAArbitraryProfileOnSlicer::PointRadius = 5
static

◆ ZCoord

const int iAArbitraryProfileOnSlicer::ZCoord = 0
static

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