#include <vtkDefOrgViewerWithKW.h>
Public Member Functions | |
int | Run (int argc, char *argv[]) |
void | InitializeState (vtkKWWindow *win) |
virtual void | SetSliceFromScaleCallback (double value) |
virtual void | SetSliceCallback (int slice) |
virtual int | GetSliceCallback () |
virtual int | GetSliceMinCallback () |
virtual int | GetSliceMaxCallback () |
virtual void | SetSliceOrientationToXYCallback () |
virtual void | SetSliceOrientationToXZCallback () |
virtual void | SetSliceOrientationToYZCallback () |
virtual void | WindowLevelPresetApplyCallback (int id) |
virtual void | WindowLevelPresetAddCallback () |
virtual void | WindowLevelPresetUpdateCallback (int id) |
virtual void | WindowLevelPresetHasChangedCallback (int id) |
virtual void | LoadImageDialogCallback () |
virtual void | LoadScheduleDialogCallback () |
virtual void | LoadMeshDialogCallback () |
virtual void | LoadDefOrgDialogCallback () |
virtual void | InitOrganismButtonCallback () |
virtual void | SimulateOrganismButtonCallback () |
virtual void | StepOrganismButtonCallback () |
virtual void | StepOrganism () |
virtual void | SendOrganismMessageCallback () |
virtual void | UpdateOrganismTextOutputCallback () |
virtual void | GenerateDefOrgDialogCallback () |
virtual void | StopSimulation () |
virtual void | SetVolumeRenderingCallback (int id) |
virtual void | SetVolumeRenderingControlBoxCallback (char *val) |
virtual void | SetSOColorCallback (double h, double s, double v) |
virtual void | LayerComboCallback (int id, const char *choice) |
virtual void | ForcePrimaryRender () |
virtual int | NoOp () |
virtual void | NoOp2 (int i) |
DefOrgViewerAdapterBase * | GetCurrDefOrg () |
Public Attributes | |
bool | m_updateOrganismResults |
Protected Member Functions | |
vtkDefOrgViewerWithKW () | |
void | SetupImageViewerPipeline () |
void | UpdateImageViewers (bool flushAll=false) |
void | CreateImageDataFrame (int imagePageCookie, vtkKWWindow *win) |
void | CreateVolumeRenderingFrame (int volumeRenderingPageCookie, vtkKWWindow *win) |
void | CreateOrganismDataFrame (int organismPageCookie, vtkKWWindow *win) |
void | CreateSpatialObjectFrame (int polyPageCookie, vtkKWWindow *win) |
void | AddActorsFromSOViewers (bool flushAll=false) |
void | RemoveActorsFromSOViewers (bool flushAll=false) |
void | SetScenesToSOViewers (bool flushAll=false) |
void | RenderSOViewers (bool flushAll=false) |
virtual void | UpdateSliceScale () |
~vtkDefOrgViewerWithKW () | |
Protected Attributes | |
vtkKWScale * | SliceScale |
vtkKWWindowLevelPresetSelector * | WindowLevelPresetSelector |
vtkKWRenderWidget * | RenderWidget |
vtkKWLoadSaveButton * | LoadImageButton |
vtkKWLoadSaveButton * | LoadScheduleButton |
vtkKWLoadSaveButton * | LoadMeshButton |
vtkKWLoadSaveButton * | LoadDefOrgButton |
vtkKWPushButton * | InitOrganismButton |
vtkKWPushButton * | SimulateOrganismButton |
vtkKWPushButton * | StepOrganismButton |
vtkKWPushButton * | SendOrganismMessageButton |
vtkKWTextWithScrollbars * | OrganismOutputTextbox |
vtkKWTextWithScrollbars * | OrganismInputTextbox |
vtkKWVolumePropertyWidget * | VRVolumePropertyWidget |
vtkVolume ** | RenderVolume |
vtkKWSurfaceMaterialPropertyWidget * | SOMatieralPropertyWidget |
vtkKWHSVColorSelector * | SOColorWidget |
vtkKWWindow * | MainWindow |
vtkKWTopLevel ** | viewerWindows |
vtkKWFrameWithLabel * | OrganismTextIOFrame |
vtkBoxWidget * | MeshBoxWidget |
vtkKWCheckButton * | VolumeRenderingCheckButton |
int * | VolumeRenderToggles |
vtkMultiThreader * | m_threader |
int | m_currThreadID |
bool | m_organismRunning |
Definition at line 44 of file vtkDefOrgViewerWithKW.h.
void vtkDefOrgViewerWithKW::ForcePrimaryRender | ( | ) | [virtual] |
Internal callback. It is public for TCL wrapping. Do not use
Definition at line 295 of file vtkDefOrgViewerWithKW.cxx.
References RenderWidget.
void vtkDefOrgViewerWithKW::GenerateDefOrgDialogCallback | ( | ) | [virtual] |
Internal callback. It is public for TCL wrapping. Do not use
Definition at line 1103 of file vtkDefOrgViewerWithKW.cxx.
References vtkGenerateDefOrgDialog::Create(), vtkGenerateDefOrgDialog::Invoke(), and MainWindow.
int vtkDefOrgViewerWithKW::GetSliceCallback | ( | ) | [virtual] |
Internal callback. It is public for TCL wrapping. Do not use
Definition at line 320 of file vtkDefOrgViewerWithKW.cxx.
int vtkDefOrgViewerWithKW::GetSliceMaxCallback | ( | ) | [virtual] |
Internal callback. It is public for TCL wrapping. Do not use
Definition at line 338 of file vtkDefOrgViewerWithKW.cxx.
int vtkDefOrgViewerWithKW::GetSliceMinCallback | ( | ) | [virtual] |
Internal callback. It is public for TCL wrapping. Do not use
Definition at line 329 of file vtkDefOrgViewerWithKW.cxx.
void vtkDefOrgViewerWithKW::InitOrganismButtonCallback | ( | ) | [virtual] |
Internal callback. It is public for TCL wrapping. Do not use
Definition at line 978 of file vtkDefOrgViewerWithKW.cxx.
References GetCurrDefOrg(), InitOrganismButton, mial::DefOrgViewerAdapterBase::m_PropertyBag, mial::DefOrgViewerAdapterBase::SetupOrganism(), SimulateOrganismButton, StepOrganismButton, and UpdateOrganismTextOutputCallback().
void vtkDefOrgViewerWithKW::LoadDefOrgDialogCallback | ( | ) | [virtual] |
Internal callback. It is public for TCL wrapping. Do not use
Definition at line 1123 of file vtkDefOrgViewerWithKW.cxx.
References CreateOrganismDataFrame(), CreateSpatialObjectFrame(), CreateVolumeRenderingFrame(), InitializeState(), mial::vtkDefOrgViewerWithKWState::isDefOrgSet(), MainWindow, and RenderWidget.
void vtkDefOrgViewerWithKW::LoadImageDialogCallback | ( | ) | [virtual] |
Internal callback. It is public for TCL wrapping. Do not use
Definition at line 1059 of file vtkDefOrgViewerWithKW.cxx.
References CreateImageDataFrame(), GetCurrDefOrg(), LoadImageButton, mial::DefOrgViewerAdapterBase::m_OutputImages, MainWindow, mial::DefOrgViewerAdapterBase::PopulateVtkImage(), RenderWidget, SetupImageViewerPipeline(), SimulateOrganismButton, StepOrganismButton, StopSimulation(), and UpdateImageViewers().
void vtkDefOrgViewerWithKW::LoadMeshDialogCallback | ( | ) | [virtual] |
Internal callback. It is public for TCL wrapping. Do not use
Definition at line 1152 of file vtkDefOrgViewerWithKW.cxx.
References AddActorsFromSOViewers(), GetCurrDefOrg(), LoadMeshButton, mial::DefOrgViewerAdapterBase::MaxNumberOfOutputItkSpatialObjects(), mial::DefOrgViewerAdapterBase::PopulateItkScene(), RemoveActorsFromSOViewers(), RenderSOViewers(), SetScenesToSOViewers(), mial::vtkDefOrgViewerWithKWState::SetSOViewer(), SimulateOrganismButton, StepOrganismButton, and StopSimulation().
void vtkDefOrgViewerWithKW::LoadScheduleDialogCallback | ( | ) | [virtual] |
Internal callback. It is public for TCL wrapping. Do not use
Definition at line 1088 of file vtkDefOrgViewerWithKW.cxx.
References GetCurrDefOrg(), LoadScheduleButton, SimulateOrganismButton, StepOrganismButton, and StopSimulation().
int vtkDefOrgViewerWithKW::NoOp | ( | ) | [virtual] |
Internal callback. It is public for TCL wrapping. Do not use. Hack for animation widget to record deformation instead
Definition at line 829 of file vtkDefOrgViewerWithKW.cxx.
void vtkDefOrgViewerWithKW::NoOp2 | ( | int | i | ) | [virtual] |
Internal callback. It is public for TCL wrapping. Do not use Hack for animation widget to record deformation instead
Definition at line 833 of file vtkDefOrgViewerWithKW.cxx.
References StepOrganismButtonCallback().
void vtkDefOrgViewerWithKW::SendOrganismMessageCallback | ( | ) | [virtual] |
Internal callback. It is public for TCL wrapping. Do not use
Definition at line 918 of file vtkDefOrgViewerWithKW.cxx.
References GetCurrDefOrg(), OrganismInputTextbox, and mial::DefOrgViewerAdapterBase::theDefOrgTextInput.
void vtkDefOrgViewerWithKW::SetSliceCallback | ( | int | slice | ) | [virtual] |
Internal callback. It is public for TCL wrapping. Do not use
Definition at line 311 of file vtkDefOrgViewerWithKW.cxx.
References RenderWidget.
void vtkDefOrgViewerWithKW::SetSliceFromScaleCallback | ( | double | value | ) | [virtual] |
Internal callback. It is public for TCL wrapping. Do not use
Definition at line 301 of file vtkDefOrgViewerWithKW.cxx.
References RenderWidget.
void vtkDefOrgViewerWithKW::SetSliceOrientationToXYCallback | ( | ) | [virtual] |
Internal callback. It is public for TCL wrapping. Do not use
Definition at line 357 of file vtkDefOrgViewerWithKW.cxx.
References UpdateSliceScale().
void vtkDefOrgViewerWithKW::SetSliceOrientationToXZCallback | ( | ) | [virtual] |
Internal callback. It is public for TCL wrapping. Do not use
Definition at line 366 of file vtkDefOrgViewerWithKW.cxx.
References UpdateSliceScale().
void vtkDefOrgViewerWithKW::SetSliceOrientationToYZCallback | ( | ) | [virtual] |
Internal callback. It is public for TCL wrapping. Do not use
Definition at line 375 of file vtkDefOrgViewerWithKW.cxx.
References UpdateSliceScale().
void vtkDefOrgViewerWithKW::SetSOColorCallback | ( | double | h, | |
double | s, | |||
double | v | |||
) | [virtual] |
Internal callback. It is public for TCL wrapping. Do not use
Definition at line 434 of file vtkDefOrgViewerWithKW.cxx.
References mial::vtkDefOrgViewerWithKWState::GetCurrentSOViewer(), mial::vtkDefOrgViewerWithKWState::GetCurrentSOViewerRenderWidget(), and SOMatieralPropertyWidget.
void vtkDefOrgViewerWithKW::SetVolumeRenderingCallback | ( | int | id | ) | [virtual] |
Internal callback. It is public for TCL wrapping. Do not use
Definition at line 1301 of file vtkDefOrgViewerWithKW.cxx.
References GetCurrDefOrg(), mial::vtkDefOrgViewerWithKWState::GetImageViewerRenderWidget(), RenderVolume, and VolumeRenderToggles.
void vtkDefOrgViewerWithKW::SetVolumeRenderingControlBoxCallback | ( | char * | val | ) | [virtual] |
Internal callback. It is public for TCL wrapping. Do not use
Definition at line 1279 of file vtkDefOrgViewerWithKW.cxx.
References GetCurrDefOrg(), mial::DefOrgViewerAdapterBase::MaxNumberOfOutputImages(), viewerWindows, VolumeRenderingCheckButton, and VolumeRenderToggles.
void vtkDefOrgViewerWithKW::SimulateOrganismButtonCallback | ( | ) | [virtual] |
Internal callback. It is public for TCL wrapping. Do not use
Definition at line 1016 of file vtkDefOrgViewerWithKW.cxx.
References m_organismRunning, SimulateOrganismButton, StepOrganism(), StepOrganismButton, and StopSimulation().
void vtkDefOrgViewerWithKW::StepOrganism | ( | ) | [virtual] |
Internal callback. It is public for TCL wrapping. Do not use. Call run on the organism asynchronously
Definition at line 945 of file vtkDefOrgViewerWithKW.cxx.
References AddActorsFromSOViewers(), m_currThreadID, m_threader, m_updateOrganismResults, RemoveActorsFromSOViewers(), RenderSOViewers(), SetScenesToSOViewers(), UpdateImageViewers(), and UpdateOrganismTextOutputCallback().
Referenced by SimulateOrganismButtonCallback().
void vtkDefOrgViewerWithKW::StepOrganismButtonCallback | ( | ) | [virtual] |
Internal callback. It is public for TCL wrapping. Do not use. Call run on the organism synchronously.
Definition at line 966 of file vtkDefOrgViewerWithKW.cxx.
References AddActorsFromSOViewers(), GetCurrDefOrg(), RemoveActorsFromSOViewers(), RenderSOViewers(), SetScenesToSOViewers(), UpdateImageViewers(), mial::DefOrgViewerAdapterBase::UpdateOrganism(), and UpdateOrganismTextOutputCallback().
Referenced by NoOp2().
void vtkDefOrgViewerWithKW::StopSimulation | ( | ) | [virtual] |
Internal callback. It is public for TCL wrapping. Do not use. Helper method. Also see SimulateOrganismButtonCallback
Definition at line 1005 of file vtkDefOrgViewerWithKW.cxx.
References m_currThreadID, m_organismRunning, m_threader, m_updateOrganismResults, and SimulateOrganismButton.
Referenced by InitializeState(), LoadImageDialogCallback(), LoadMeshDialogCallback(), LoadScheduleDialogCallback(), and SimulateOrganismButtonCallback().
void vtkDefOrgViewerWithKW::UpdateOrganismTextOutputCallback | ( | ) | [virtual] |
Internal callback. It is public for TCL wrapping. Do not use
Definition at line 924 of file vtkDefOrgViewerWithKW.cxx.
References GetCurrDefOrg(), OrganismOutputTextbox, OrganismTextIOFrame, and mial::DefOrgViewerAdapterBase::theDefOrgTextOutput.
Referenced by InitOrganismButtonCallback(), StepOrganism(), and StepOrganismButtonCallback().
void vtkDefOrgViewerWithKW::WindowLevelPresetAddCallback | ( | ) | [virtual] |
Internal callback. It is public for TCL wrapping. Do not use
Definition at line 399 of file vtkDefOrgViewerWithKW.cxx.
void vtkDefOrgViewerWithKW::WindowLevelPresetApplyCallback | ( | int | id | ) | [virtual] |
Internal callback. It is public for TCL wrapping. Do not use
Definition at line 384 of file vtkDefOrgViewerWithKW.cxx.
References mial::vtkDefOrgViewerWithKWState::GetCurrentImageViewer().
void vtkDefOrgViewerWithKW::WindowLevelPresetHasChangedCallback | ( | int | id | ) | [virtual] |
Internal callback. It is public for TCL wrapping. Do not use
Definition at line 422 of file vtkDefOrgViewerWithKW.cxx.
Referenced by WindowLevelPresetUpdateCallback().
void vtkDefOrgViewerWithKW::WindowLevelPresetUpdateCallback | ( | int | id | ) | [virtual] |
Internal callback. It is public for TCL wrapping. Do not use
Definition at line 408 of file vtkDefOrgViewerWithKW.cxx.
References WindowLevelPresetHasChangedCallback(), and WindowLevelPresetSelector.