opentps.gui.viewer.dataViewerComponents.imageViewerComponents package

Submodules

opentps.gui.viewer.dataViewerComponents.imageViewerComponents.contourLayer module

class ContourLayer(renderer, renderWindow)

Bases: object

close()
property contours: Sequence[ROIContourForViewer | ROIMaskForViewer]
property referenceImage: Image3D | None
property resliceAxes
resliceDataFromPhysicalPoint(point)
setNewContour(contour: ROIContour | ROIMask)
class vtkContour(contour, renderWindow)

Bases: object

close()
reloadColor()
property resliceAxes
resliceDataFromPhysicalPoint(point)
setVisible(visible: bool)

opentps.gui.viewer.dataViewerComponents.imageViewerComponents.crossHairLayer module

class CrossHairLayer(renderer, renderWindow)

Bases: object

close()
property position: Sequence
property visible: bool

opentps.gui.viewer.dataViewerComponents.imageViewerComponents.lookupTables module

ct3DLT() Tuple[vtkColorTransferFunction, vtkPiecewiseFunction, vtkPiecewiseFunction]
fusionLT(range: Sequence[float], opacity: float, colormap: str) vtkLookupTable
fusionLTTo3DLT(lt: vtkLookupTable) Tuple[vtkColorTransferFunction, vtkPiecewiseFunction, vtkPiecewiseFunction]
grayLT(range) vtkLookupTable
uniqueColorLT(threshold: float, opacity: float, color: Sequence[float]) vtkLookupTable
uniqueColorLTTo3DLT(lt: vtkLookupTable) Tuple[vtkColorTransferFunction, vtkPiecewiseFunction, vtkPiecewiseFunction]

opentps.gui.viewer.dataViewerComponents.imageViewerComponents.polyData3DLayer_3D module

class PolyData3DLayer_3D(renderer, renderWindow)

Bases: object

close()
property image: Image3DForViewer | None

Image displayed :type:Optional[Image3DForViewer]

update()

opentps.gui.viewer.dataViewerComponents.imageViewerComponents.primaryImage2DLayer module

class PrimaryImage2DLayer(renderer, renderWindow, iStyle)

Bases: object

close()
property image: Image3DForViewer | None

Image displayed :type:Optional[Image3DForViewer]

property resliceAxes

Reslice axes

resliceDataFromPhysicalPoint(point)

opentps.gui.viewer.dataViewerComponents.imageViewerComponents.primaryImage3DLayer module

class PrimaryImage3DLayer(renderer, renderWindow, iStyle)

Bases: object

close()
property image: Image3DForViewer | None

Image displayed :type:Optional[Image3DForViewer]

property resliceAxes

Reslice axes

resliceDataFromPhysicalPoint(point)

opentps.gui.viewer.dataViewerComponents.imageViewerComponents.primaryImage3DLayer_3D module

class PrimaryImage3DLayer_3D(renderer, renderWindow, iStyle)

Bases: object

close()
property image: Image3DForViewer | None
update()

opentps.gui.viewer.dataViewerComponents.imageViewerComponents.rtPlanLayer module

class BeamLayer(renderer, renderWindow)

Bases: object

close()
property resliceAxes
setBeam(beam: PlanIonBeam, referenceImage: Image3D)
class RTPlanLayer(renderer, renderWindow)

Bases: object

close()
property plan: RTPlan | None
property resliceAxes
setPlan(plan: RTPlan, referenceImage: Image3D)

opentps.gui.viewer.dataViewerComponents.imageViewerComponents.rtplanLayer_3D module

class BeamLayer_3D(renderer, renderWindow)

Bases: object

close()
setBeam(beam: PlanIonBeam)
update()
class RTPlanLayer_3D(renderer, renderWindow)

Bases: object

close()
property plan: RTPlan | None
setPlan(plan: RTPlan)
update()

opentps.gui.viewer.dataViewerComponents.imageViewerComponents.secondaryImage2DLayer module

class SecondaryImage2DLayer(renderer, renderWindow, iStyle)

Bases: PrimaryImage2DLayer

close()
property colorbarOn: bool

Colorbar visibility :type: bool

opentps.gui.viewer.dataViewerComponents.imageViewerComponents.secondaryImage3DLayer module

class SecondaryImage3DLayer(renderer, renderWindow, iStyle)

Bases: PrimaryImage3DLayer

close()
property colorbarOn: bool

Colorbar visibility :type: bool

opentps.gui.viewer.dataViewerComponents.imageViewerComponents.secondaryImage3DLayer_3D module

class SecondaryImage3DLayer_3D(renderer, renderWindow, iStyle)

Bases: PrimaryImage3DLayer_3D

opentps.gui.viewer.dataViewerComponents.imageViewerComponents.textLayer module

class TextLayer(renderer, renderWindow)

Bases: object

close()
property primaryText
property secondaryText
setPrimaryTextLine(line, text)
setSecondaryTextLine(line, text)
property visible

Module contents