CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::ProbeSector Class Reference

Utility functions for drawing an US Probe sector. More...

#include <cxProbeSector.h>

Public Member Functions

 ProbeSector ()
 
void setData (ProbeDefinition data)
 
vtkImageDataPtr getMask ()
 
vtkPolyDataPtr getSector ()
 get a polydata representation of the us sector More...
 
vtkPolyDataPtr getSectorLinesOnly ()
 get a polydata representation of the us sector More...
 
vtkPolyDataPtr getSectorSectorOnlyLinesOnly ()
 get a polydata representation of the us sector More...
 
vtkPolyDataPtr getClipRectLinesOnly ()
 get a polydata representation of the us clip rect More...
 
vtkPolyDataPtr getOriginPolyData ()
 get a polydata representation of the origin More...
 
Transform3D get_tMu () const
 get transform from image space u to probe tool space t. More...
 
Transform3D get_uMv () const
 get transform from inverted image space v (origin in ul corner) to image space u. More...
 
void updateSector ()
 
void test ()
 

Public Attributes

ProbeDefinition mData
 

Detailed Description

Utility functions for drawing an US Probe sector.

Definition at line 38 of file cxProbeSector.h.

Constructor & Destructor Documentation

cx::ProbeSector::ProbeSector ( )

Definition at line 42 of file cxProbeSector.cpp.

Member Function Documentation

Transform3D cx::ProbeSector::get_tMu ( ) const

get transform from image space u to probe tool space t.

Definition at line 175 of file cxProbeSector.cpp.

Transform3D cx::ProbeSector::get_uMv ( ) const

get transform from inverted image space v (origin in ul corner) to image space u.

Definition at line 186 of file cxProbeSector.cpp.

vtkPolyDataPtr cx::ProbeSector::getClipRectLinesOnly ( )

get a polydata representation of the us clip rect

Definition at line 251 of file cxProbeSector.cpp.

vtkImageDataPtr cx::ProbeSector::getMask ( )

Return a 2D mask image identifying the US beam inside the image data stream.

Definition at line 131 of file cxProbeSector.cpp.

vtkPolyDataPtr cx::ProbeSector::getOriginPolyData ( )

get a polydata representation of the origin

generate a polydata showing the origin as a small line.

Definition at line 281 of file cxProbeSector.cpp.

vtkPolyDataPtr cx::ProbeSector::getSector ( )

get a polydata representation of the us sector

Definition at line 193 of file cxProbeSector.cpp.

vtkPolyDataPtr cx::ProbeSector::getSectorLinesOnly ( )

get a polydata representation of the us sector

Definition at line 216 of file cxProbeSector.cpp.

vtkPolyDataPtr cx::ProbeSector::getSectorSectorOnlyLinesOnly ( )

get a polydata representation of the us sector

Definition at line 237 of file cxProbeSector.cpp.

void cx::ProbeSector::setData ( ProbeDefinition  data)

Definition at line 48 of file cxProbeSector.cpp.

void cx::ProbeSector::test ( )

Definition at line 151 of file cxProbeSector.cpp.

void cx::ProbeSector::updateSector ( )

Definition at line 309 of file cxProbeSector.cpp.

Member Data Documentation

ProbeDefinition cx::ProbeSector::mData

Definition at line 54 of file cxProbeSector.h.


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