MeVisLab Resolution Independence API
SoViewers.h File Reference
#include "mlInitSystemML.h"
#include "mlOpenGL.h"
#include <qobject.h>
#include <Inventor/Qt/SoQtRenderArea.h>
#include <Inventor/Qt/viewers/SoQtFullViewer.h>
#include <Inventor/Qt/viewers/SoQtExaminerViewer.h>
#include <cstdio>
#include <iostream>
#include "SoSFMLConnector.h"
#include <mlModuleIncludes.h>
#include <Inventor/fields/SoFields.h>
#include <Inventor/nodes/SoSeparator.h>
#include <Inventor/fields/SoSubField.h>
#include <Inventor/nodes/SoSubNode.h>
#include <Inventor/nodes/SoOrthographicCamera.h>
#include <Inventor/nodes/SoPerspectiveCamera.h>
#include <Inventor/sensors/SoNodeSensor.h>
#include <Inventor/sensors/SoOneShotSensor.h>
#include <Inventor/sensors/SoTimerSensor.h>
#include <Inventor/sensors/SoFieldSensor.h>

Go to the source code of this file.

Macros

#define SOVIEWERS_NEW(variable, name, parent)
 Contains the class SoViewers and all system dependend parts of the SoViewers. More...
 
#define SO_VIEWERS_CLASS_SPEC   ML_LIBRARY_IMPORT_ATTRIBUTE
 

Macro Definition Documentation

◆ SO_VIEWERS_CLASS_SPEC

#define SO_VIEWERS_CLASS_SPEC   ML_LIBRARY_IMPORT_ATTRIBUTE

Definition at line 43 of file SoViewers.h.

◆ SOVIEWERS_NEW

#define SOVIEWERS_NEW (   variable,
  name,
  parent 
)
Value:
{ \
QWidget* parentWidget = reinterpret_cast<QWidget*>(parent); \
QWidget* viewer = new name(parentWidget); \
QLayout* layout = parentWidget->layout(); \
if (layout != NULL) { \
layout->addWidget(viewer); \
} \
variable = viewer; \
}

Contains the class SoViewers and all system dependend parts of the SoViewers.

Definition at line 22 of file SoViewers.h.