21 #include <Inventor/fields/SoSFBool.h>
22 #include <Inventor/fields/SoSFInt32.h>
23 #include <Inventor/fields/SoSFEnum.h>
24 #include <Inventor/fields/SoSFTrigger.h>
25 #include <Inventor/fields/SoSFFloat.h>
26 #include <Inventor/fields/SoSFVec3f.h>
27 #include <Inventor/fields/SoSFVec2f.h>
28 #include <Inventor/fields/SoSFMatrixd.h>
29 #include <Inventor/fields/SoSFColor.h>
30 #include <Inventor/fields/SoSFString.h>
31 #include <Inventor/fields/SoSFNode.h>
32 #include <Inventor/nodes/SoSeparator.h>
33 #include <Inventor/nodes/SoSwitch.h>
34 #include <Inventor/nodes/SoSubNode.h>
35 #include <Inventor/SbViewportRegion.h>
36 #include <Inventor/sensors/SoFieldSensor.h>
#define SOVIEW2D_API
File to resolve system dependencies in View2D library.
SoOrthoView2DBase uses three SoView2D nodes to create a 3D ortho viewer with three 2D views.
SoOrthoView2D uses three SoView2D nodes to create a 3D ortho viewer with three 2D views.
mlField * getMLImageField(int viewerIndex) override
return ML image field for viewer with given viewerIndex (0,1, or 2)
virtual void useGlobalInputImageChanged()
handle changed slice in one of the SoView2Ds
SoSFNode outputViewCoronal
SoOrthoView2D()
constructor
SoSFNode outputViewSagittal
void modifyPatientOrientationMatrixCB(SoField *)
~SoOrthoView2D() override
SoSFBool applyModifyPatientOrientationMatrix
SoSFMLConnector inputImage
Fields.
void useGlobalInputImageChangedCB(SoField *)
callback which forwards to sliceChanged()
void applyModifyPatientOrientationMatrixCB(SoField *)
void * _reformat
pointer to the ML OrthoReformat3 module
SoSFBool useGlobalInputImage
use cache
static void initClass()
inventor runtime type system
SoSFNode outputViewAxial
hidden outputs containing the component views
SoSFMatrixd modifyPatientOrientationMatrix
SoSFMLConnector field is the interface used by Inventor Nodes to output input/output ML Connector Fie...
The SoSFMLImage field is the interface used by Inventor Nodes to access image data (in the current im...
SoView2D is a 2D viewer for image data.
#define mlField
A macro name for a void pointer to a field in the ML to make pointer more readable.