#include <Blank_DefOrgViewerAdapter.h>
Inheritance diagram for mial::Blank_DefOrgViewerAdapter:
Public Member Functions | |
Blank_DefOrgViewerAdapter () | |
virtual void | SetupOrganism () |
virtual void | UpdateOrganism () |
virtual void | PopulateVtkImage () |
virtual void | PopulateVtkUnstructuredGrid (vtkUnstructuredGrid *vtkGrid) |
virtual void | PopulateItkScene () |
virtual void | HandleUserMouseInteraction (vtkTransform *userTransformation) |
virtual int | MaxNumberOfOutputItkSpatialObjects () |
virtual int | MaxNumberOfOutputImages () |
Definition at line 31 of file Blank_DefOrgViewerAdapter.h.
mial::Blank_DefOrgViewerAdapter::Blank_DefOrgViewerAdapter | ( | ) |
Constructor should define the property the organism exposes at run-time using AddOrganismProperty helper method
Definition at line 15 of file Blank_DefOrgViewerAdapter.cxx.
void mial::Blank_DefOrgViewerAdapter::HandleUserMouseInteraction | ( | vtkTransform * | userTransformation | ) | [virtual] |
This method is called when the user changes the DefOrg. It is the responsibility of the adapter to update the internal data structure of the DefOrg. The user transformation argument supplies the transformation that is specified visually by the user
Implements mial::DefOrgViewerAdapterBase.
Definition at line 40 of file Blank_DefOrgViewerAdapter.cxx.
int mial::Blank_DefOrgViewerAdapter::MaxNumberOfOutputImages | ( | ) | [virtual] |
Should return n, the number of Image volumes this organism exports. The viewer would create n-1 secondary windows for images. The output of the image volumes are usually assigned to during PopulateVtkImage() and UpdateOrganism() The primary output will be displayed in the primary window
Implements mial::DefOrgViewerAdapterBase.
Definition at line 33 of file Blank_DefOrgViewerAdapter.cxx.
int mial::Blank_DefOrgViewerAdapter::MaxNumberOfOutputItkSpatialObjects | ( | ) | [virtual] |
Should return n, the number of ItkSpatialObjects this organism exports. The viewer would create n-1 secondary windows for Spatial objects. The output of the spatialoutputs are usually assigned to during PopulateItkScene() and UpdateOrganism() The primary output will be displayed in the primary window
Implements mial::DefOrgViewerAdapterBase.
Definition at line 25 of file Blank_DefOrgViewerAdapter.cxx.
void mial::Blank_DefOrgViewerAdapter::PopulateItkScene | ( | ) | [virtual] |
This method is called when the user presses Load Mesh
Implements mial::DefOrgViewerAdapterBaseTemplated< ITKPIXELTYPE, MESHDATATYPE >.
Definition at line 47 of file Blank_DefOrgViewerAdapter.cxx.
References mial::DefOrgViewerAdapterBase::m_OutputItkSpatialObjects.
void mial::Blank_DefOrgViewerAdapter::PopulateVtkImage | ( | ) | [virtual] |
This method is called when the user presses Load Image
Implements mial::DefOrgViewerAdapterBaseTemplated< ITKPIXELTYPE, MESHDATATYPE >.
Definition at line 67 of file Blank_DefOrgViewerAdapter.cxx.
References mial::DefOrgViewerAdapterBase::m_OutputImages, and mial::DefOrgViewerAdapterBaseTemplated< ITKPIXELTYPE, MESHDATATYPE >::PopulateVtkImageHelper().
void mial::Blank_DefOrgViewerAdapter::PopulateVtkUnstructuredGrid | ( | vtkUnstructuredGrid * | vtkGrid | ) | [virtual] |
This method is currently not used. This method is originally for displaying meshes when SOViewer was not used
Implements mial::DefOrgViewerAdapterBaseTemplated< ITKPIXELTYPE, MESHDATATYPE >.
Definition at line 111 of file Blank_DefOrgViewerAdapter.cxx.
void mial::Blank_DefOrgViewerAdapter::SetupOrganism | ( | ) | [virtual] |
This method is called when the user presses "Initialize/Setup organism from the GUI. The adapter should initialize the organism appropriately.
Implements mial::DefOrgViewerAdapterBaseTemplated< ITKPIXELTYPE, MESHDATATYPE >.
Definition at line 105 of file Blank_DefOrgViewerAdapter.cxx.
void mial::Blank_DefOrgViewerAdapter::UpdateOrganism | ( | ) | [virtual] |
This method is called during each organism step. In this method, the adapter should indicate which outputs are modified, and call run on the organism.
Implements mial::DefOrgViewerAdapterBaseTemplated< ITKPIXELTYPE, MESHDATATYPE >.
Definition at line 94 of file Blank_DefOrgViewerAdapter.cxx.
References mial::DefOrgViewerAdapterBase::m_OutputItkSpatialObjects.