vve.h

00001 #ifndef VVALL_H
00002 #define VVALL_H
00003 
00004 #include <config.h>
00005 #include <model.h>
00006 #include <viewer.h>
00007 // No need to include these twice ...
00008 //#include <graph/vertex.h>
00009 //#include <graph/edge.h>
00010 //#include <graph/vvgraph.h>
00011 //#include <graph/vvbigraph.h>
00012 #include <util/forall.h>
00013 #include <algorithms/tissue.h>
00014 #include <geometry/geometry.h>
00015 
00016 #ifdef __GNUC__
00017 # define DLLEXPORT
00018 #else
00019 # define DLLEXPORT __declspec( dllexport )
00020 #endif
00021 
00022 #define DEFINE_MODEL( classname ) \
00023   extern "C" { \
00024     DLLEXPORT Model* create_model( QObject* parent ) \
00025       { \
00026       return new classname(parent); \
00027       } \
00028   }
00029 
00030 #define DEFINE_VIEWER( classname ) \
00031   extern "C" { \
00032     DLLEXPORT Viewer* create_viewer( QWidget* parent, const QGLWidget* shareWidget, int idx = -1 ) \
00033       { \
00034       return new classname(parent, shareWidget, idx); \
00035       } \
00036   }
00037 
00038 
00039 using qglviewer::Vec;
00040 using qglviewer::Camera;
00041 using namespace graph;
00042 
00043 using geometry::Point2d;
00044 using geometry::Point3d;
00045 using geometry::Point4d;
00046 using geometry::Matrix2d;
00047 using geometry::Matrix3d;
00048 using geometry::Matrix4d;
00049 
00050 #endif // VVALL_H
00051 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Fri May 31 15:37:53 2013 for VVE by  doxygen 1.6.3