Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
SegmentEditorEffects.SegmentEditorDrawEffect.DrawPipeline Class Reference

Public Member Functions

 __init__ (self, scriptedEffect, sliceWidget)
 
 addPoint (self, ras)
 
 apply (self)
 
 createPolyData (self)
 
 createStippleTexture (self, lineStipplePattern, lineStippleRepeat)
 
 deleteLastPoint (self)
 
 positionActors (self)
 
 resetPolyData (self)
 
 setLineMode (self, mode="solid")
 

Public Attributes

 actionState = None
 
 activeSliceOffset = None
 
 actor = vtk.vtkTexturedActor2D()
 
 lastInsertSliceNodeMTime = None
 
 mapper = vtk.vtkPolyDataMapper2D()
 
 polyData = self.createPolyData()
 
 rasPoints = vtk.vtkPoints()
 
 scriptedEffect = scriptedEffect
 
 sliceWidget = sliceWidget
 
 tcoords = vtk.vtkDoubleArray()
 
 texture = vtk.vtkTexture()
 
 xyPoints = vtk.vtkPoints()
 

Detailed Description

Visualization objects and pipeline for each slice view for drawing

Definition at line 169 of file SegmentEditorDrawEffect.py.

Constructor & Destructor Documentation

◆ __init__()

SegmentEditorEffects.SegmentEditorDrawEffect.DrawPipeline.__init__ ( self,
scriptedEffect,
sliceWidget )

Definition at line 172 of file SegmentEditorDrawEffect.py.

Member Function Documentation

◆ addPoint()

SegmentEditorEffects.SegmentEditorDrawEffect.DrawPipeline.addPoint ( self,
ras )

Definition at line 238 of file SegmentEditorDrawEffect.py.

◆ apply()

SegmentEditorEffects.SegmentEditorDrawEffect.DrawPipeline.apply ( self)

Definition at line 291 of file SegmentEditorDrawEffect.py.

◆ createPolyData()

SegmentEditorEffects.SegmentEditorDrawEffect.DrawPipeline.createPolyData ( self)

Definition at line 230 of file SegmentEditorDrawEffect.py.

◆ createStippleTexture()

SegmentEditorEffects.SegmentEditorDrawEffect.DrawPipeline.createStippleTexture ( self,
lineStipplePattern,
lineStippleRepeat )

Definition at line 193 of file SegmentEditorDrawEffect.py.

◆ deleteLastPoint()

SegmentEditorEffects.SegmentEditorDrawEffect.DrawPipeline.deleteLastPoint ( self)

Definition at line 321 of file SegmentEditorDrawEffect.py.

◆ positionActors()

SegmentEditorEffects.SegmentEditorDrawEffect.DrawPipeline.positionActors ( self)

Definition at line 279 of file SegmentEditorDrawEffect.py.

◆ resetPolyData()

SegmentEditorEffects.SegmentEditorDrawEffect.DrawPipeline.resetPolyData ( self)

Definition at line 313 of file SegmentEditorDrawEffect.py.

◆ setLineMode()

SegmentEditorEffects.SegmentEditorDrawEffect.DrawPipeline.setLineMode ( self,
mode = "solid" )

Definition at line 264 of file SegmentEditorDrawEffect.py.

Member Data Documentation

◆ actionState

SegmentEditorEffects.SegmentEditorDrawEffect.DrawPipeline.actionState = None

Definition at line 177 of file SegmentEditorDrawEffect.py.

◆ activeSliceOffset

SegmentEditorEffects.SegmentEditorDrawEffect.DrawPipeline.activeSliceOffset = None

Definition at line 175 of file SegmentEditorDrawEffect.py.

◆ actor

SegmentEditorEffects.SegmentEditorDrawEffect.DrawPipeline.actor = vtk.vtkTexturedActor2D()

Definition at line 184 of file SegmentEditorDrawEffect.py.

◆ lastInsertSliceNodeMTime

SegmentEditorEffects.SegmentEditorDrawEffect.DrawPipeline.lastInsertSliceNodeMTime = None

Definition at line 176 of file SegmentEditorDrawEffect.py.

◆ mapper

SegmentEditorEffects.SegmentEditorDrawEffect.DrawPipeline.mapper = vtk.vtkPolyDataMapper2D()

Definition at line 183 of file SegmentEditorDrawEffect.py.

◆ polyData

SegmentEditorEffects.SegmentEditorDrawEffect.DrawPipeline.polyData = self.createPolyData()

Definition at line 181 of file SegmentEditorDrawEffect.py.

◆ rasPoints

SegmentEditorEffects.SegmentEditorDrawEffect.DrawPipeline.rasPoints = vtk.vtkPoints()

Definition at line 180 of file SegmentEditorDrawEffect.py.

◆ scriptedEffect

SegmentEditorEffects.SegmentEditorDrawEffect.DrawPipeline.scriptedEffect = scriptedEffect

Definition at line 173 of file SegmentEditorDrawEffect.py.

◆ sliceWidget

SegmentEditorEffects.SegmentEditorDrawEffect.DrawPipeline.sliceWidget = sliceWidget

Definition at line 174 of file SegmentEditorDrawEffect.py.

◆ tcoords

SegmentEditorEffects.SegmentEditorDrawEffect.DrawPipeline.tcoords = vtk.vtkDoubleArray()

Definition at line 194 of file SegmentEditorDrawEffect.py.

◆ texture

SegmentEditorEffects.SegmentEditorDrawEffect.DrawPipeline.texture = vtk.vtkTexture()

Definition at line 195 of file SegmentEditorDrawEffect.py.

◆ xyPoints

SegmentEditorEffects.SegmentEditorDrawEffect.DrawPipeline.xyPoints = vtk.vtkPoints()

Definition at line 179 of file SegmentEditorDrawEffect.py.


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