Public Member Functions | |
virtual char const * | GetClassName () const |
vtkgdcmObserver () | |
virtual void | Execute (vtkObject *, unsigned long event, void *) |
virtual char const * | GetClassName () const |
vtkgdcmObserver () | |
virtual void | Execute (vtkObject *, unsigned long event, void *) |
virtual char const * | GetClassName () const |
vtkgdcmObserver () | |
virtual void | Execute (vtkObject *, unsigned long event, void *) |
virtual char const * | GetClassName () const |
vtkgdcmObserver () | |
virtual void | Execute (vtkObject *, unsigned long event, void *) |
Static Public Member Functions | |
static vtkgdcmObserver * | New () |
static vtkgdcmObserver * | New () |
static vtkgdcmObserver * | New () |
static vtkgdcmObserver * | New () |
Public Attributes | |
vtkImageViewer * | ImageViewer |
vtkImageViewer2 * | ImageViewer |
vtkImageViewer * | ImageViewer |
vtkImageViewer2 * | ImageViewer |
Definition at line 64 of file vtkgdcmSerieViewer.cxx.
|
Definition at line 77 of file vtkgdcmSerieViewer.cxx. References ImageViewer. 00078 { 00079 this->ImageViewer = NULL; 00080 }
|
|
Definition at line 78 of file vtkgdcmSerieViewer2.cxx. References ImageViewer. 00079 { 00080 this->ImageViewer = NULL; 00081 }
|
|
Definition at line 60 of file vtkgdcmViewer.cxx. References ImageViewer. 00061 { 00062 this->ImageViewer = NULL; 00063 }
|
|
Definition at line 61 of file vtkgdcmViewer2.cxx. References ImageViewer. 00062 { 00063 this->ImageViewer = NULL; 00064 }
|
|
Definition at line 65 of file vtkgdcmViewer2.cxx. References ImageViewer. 00066 { 00067 if ( this->ImageViewer ) 00068 { 00069 if ( event == vtkCommand::CharEvent ) 00070 { 00071 #if (VTK_MAJOR_VERSION >= 5) 00072 int max = ImageViewer->GetSliceMax(); 00073 int slice = (ImageViewer->GetSlice() + 1 ) % ++max; 00074 ImageViewer->SetSlice( slice ); 00075 #else 00076 int max = ImageViewer->GetWholeZMax(); 00077 int slice = (ImageViewer->GetZSlice() + 1 ) % ++max; 00078 ImageViewer->SetZSlice( slice ); 00079 #endif 00080 #if !( (VTK_MAJOR_VERSION >= 5) || ( VTK_MAJOR_VERSION == 4 && VTK_MINOR_VERSION >= 5 ) ) 00081 // This used to be a bug in version VTK 4.4 and earlier 00082 ImageViewer->GetRenderer()->ResetCameraClippingRange(); 00083 #endif 00084 ImageViewer->Render(); 00085 } 00086 } 00087 }
|
|
Definition at line 64 of file vtkgdcmViewer.cxx. References ImageViewer. 00065 { 00066 if ( this->ImageViewer ) 00067 { 00068 if ( event == vtkCommand::CharEvent ) 00069 { 00070 int max = ImageViewer->GetWholeZMax(); 00071 int slice = (ImageViewer->GetZSlice() + 1 ) % ++max; 00072 ImageViewer->SetZSlice( slice ); 00073 ImageViewer->GetRenderer()->ResetCameraClippingRange(); 00074 ImageViewer->Render(); 00075 } 00076 } 00077 }
|
|
Definition at line 83 of file vtkgdcmSerieViewer2.cxx. References ImageViewer. 00084 { 00085 if ( this->ImageViewer ) 00086 { 00087 if ( event == vtkCommand::CharEvent ) 00088 { 00089 #if (VTK_MAJOR_VERSION >= 5) 00090 int max = ImageViewer->GetSliceMax(); 00091 int slice = (ImageViewer->GetSlice() + 1 ) % ++max; 00092 ImageViewer->SetSlice( slice ); 00093 #else 00094 int max = ImageViewer->GetWholeZMax(); 00095 int slice = (ImageViewer->GetZSlice() + 1 ) % ++max; 00096 ImageViewer->SetZSlice( slice ); 00097 #endif 00098 #if !( (VTK_MAJOR_VERSION >= 5) || ( VTK_MAJOR_VERSION == 4 && VTK_MINOR_VERSION >= 5 ) ) 00099 // This used to be a bug in version VTK 4.4 and earlier 00100 ImageViewer->GetRenderer()->ResetCameraClippingRange(); 00101 #endif 00102 ImageViewer->Render(); 00103 } 00104 } 00105 }
|
|
Definition at line 82 of file vtkgdcmSerieViewer.cxx. References ImageViewer. 00083 { 00084 if ( this->ImageViewer ) 00085 { 00086 if ( event == vtkCommand::CharEvent ) 00087 { 00088 int max = ImageViewer->GetWholeZMax(); 00089 int slice = (ImageViewer->GetZSlice() + 1 ) % ++max; 00090 ImageViewer->SetZSlice( slice ); 00091 ImageViewer->GetRenderer()->ResetCameraClippingRange(); 00092 ImageViewer->Render(); 00093 } 00094 } 00095 }
|
|
Definition at line 53 of file vtkgdcmViewer2.cxx.
|
|
Definition at line 52 of file vtkgdcmViewer.cxx.
|
|
Definition at line 68 of file vtkgdcmSerieViewer2.cxx.
|
|
Definition at line 67 of file vtkgdcmSerieViewer.cxx.
|
|
Definition at line 57 of file vtkgdcmViewer2.cxx. 00058 { 00059 return new vtkgdcmObserver; 00060 }
|
|
Definition at line 56 of file vtkgdcmViewer.cxx. 00057 { 00058 return new vtkgdcmObserver; 00059 }
|
|
Definition at line 73 of file vtkgdcmSerieViewer2.cxx. 00074 { 00075 return new vtkgdcmObserver; 00076 }
|
|
Definition at line 72 of file vtkgdcmSerieViewer.cxx. 00073 { 00074 return new vtkgdcmObserver; 00075 }
|
|
Definition at line 88 of file vtkgdcmViewer2.cxx. |
|
Definition at line 78 of file vtkgdcmViewer.cxx. |
|
Definition at line 106 of file vtkgdcmSerieViewer2.cxx. |
|
Definition at line 96 of file vtkgdcmSerieViewer.cxx. Referenced by Execute(), and vtkgdcmObserver(). |