The class provides an interface to create reconstruction model from a
volume.
|
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
|
{str: function}
|
|
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
|
clearVolume(self)
Remove source volume. |
|
|
|
clearScene(self)
Remove all actors (main actors as well as context actors) from the
scene. |
|
|
|
__clearCache(self)
Remove all cached result of source volume processing. |
|
|
|
__removeMainActor(self)
Remove the main actor from the scene. |
|
|
|
appendContextActor(self,
name,
filename,
color,
customProps={ } )
Add a context actor (actor with a name) loaded from a file to the
scene. |
|
|
|
|
float or None
|
|
bool
|
|
bool
|
|
|
refreshRenderWindow(self)
Render the scene to the render window. |
|
|
|
updateRenderWindow(self,
resetCamera=True)
Focus the camera on the scene and render the scene to the render
window. |
|
|
|
|
|
|
|
exportToVRML(self,
filename)
Export the rendered scene to a VRML file. |
|
|
|
exportToSTL(self,
filename)
Export the rendered scene to a Wavefront .obj file. |
|
|
|
exportToX3d(self,
filename)
Export the rendered scene to an X3D file. |
|
|
|
exportToPOVRay(self,
filename)
Export the rendered scene to a POV-Ray file. |
|
|
|
exportScreenshot(self,
filename)
Save screenshot of the render window into a PNG file. |
|
|
|
exportThumbnail(self,
filename)
Save scaled screenshot of the render window into a PNG file. |
|
|
|
|
|
exportToVolume(self,
filename)
Export the reconstructed volume to a VTKstructGrid file. |
|
|
|
|
|
exportToNiftii(self,
filename)
Export the reconstructed volume to a Niftii file. |
|
|
|
exportToNumpy(self,
filename)
Export the reconstructed volume as an 3D array to a Numpy file. |
|
|
|
|
|
__setCameraPosition(self,
position,
fp=( 0.0, 0.0, 0.0) )
The cameraPosition property setter. |
|
|
|
__setCameraViewUp(self,
top)
The top property setter. |
|
|
|
__getCameraViewUp(self)
The top property getter. |
|
|
|
|
|
|
|
__getPipeline(self)
The pipeline property getter. |
|
|
|
|
|
__getVtkVolume(self)
The vtkVolume property getter. |
|
|
|
|
|
__getVtkMesh(self)
The vtkMesh property getter. |
|
|
|
|
|
|
(float, float, float)
|
|
|
__mainActorCol
The colour of model to be reconstructed.
|
dataImporterFromNumpy object
|
__sourceVolume
The source volume to perform reconstruction from.
|
{str: function}
|
exportSceneByExt
file extension to scene export method mapping
|
{str: function}
|
exportVolumeByExt
file extension to volume export method mapping
|
vtkRenderWindow
|
renWin
The window used by the object to render.
|
VTK renderer
|
renderer
The renderer used by the object.
|
dict(str: VTK actor)
|
__contextActors
The structure name to displayable model mapping.
|
VTK actor
|
__mainActor
The displayable reconstructed model of structure.
|
|
__vtkMesh
The cached result of execution the mesh processing part of the
pipeline (self.__meshPipeline ) on
self.vtkVolume .
|
|
__vtkVolume
The cached result of execution the volumetric part of the pipeline
(self.__volumePipeline )
on self.__sourceVolume .
|
barPipeline object
|
__finalPipeline
The actor creating part of the pipeline.
|
barPipeline object
|
__meshPipeline
The mesh processing part of the pipeline See pipeline for details.
|
barPipeline object
|
__pipeline
The pipeline used by the object.
|
barPipeline object
|
__volumePipeline
The volume processing part of the pipeline.
|