MeVisLab Toolbox Reference
SoOrthoView2D.h
Go to the documentation of this file.
1/*************************************************************************************
2**
3** Copyright 2007, MeVis Medical Solutions AG
4**
5** The user may use this file in accordance with the license agreement provided with
6** the Software or, alternatively, in accordance with the terms contained in a
7** written agreement between the user and MeVis Medical Solutions AG.
8**
9** For further information use the contact form at https://www.mevislab.de/contact
10**
11**************************************************************************************/
12
13
15
16#pragma once
17
18#include "SoView2DSystem.h"
19#include "SoOrthoView2DBase.h"
20
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>
37
38#include "SoSFMLConnector.h"
39
40class SoView2D;
41class SoSFMLImage;
42
43//=============================================================
46
50//=============================================================
#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.
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
mlField * getMLImageField(int viewerIndex) override
return ML image field for viewer with given viewerIndex (0,1, or 2)
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...
Definition SoSFMLImage.h:70
SoView2D is a 2D viewer for image data.
Definition SoView2D.h:62
#define mlField
A macro name for a void pointer to a field in the ML to make pointer more readable.
Definition mlAPI.h:54
Target mlrange_cast(Source arg)
Generic version of checked ML casts.