1 Star 1 Fork 0

Greedysky / vtk-demo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
global.h 2.47 KB
一键复制 编辑 原始数据 按行查看 历史
Greedysky 提交于 2015-10-05 23:19 . Add resource[954321]
#define vtkRenderingCore_AUTOINIT 4(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingFreeTypeOpenGL,vtkRenderingOpenGL)
#define vtkRenderingVolume_AUTOINIT 1(vtkRenderingVolumeOpenGL)
#ifndef DICOMREADER
#define DICOMREADER
#endif
#include "vtkSmartPointer.h"
#define vtkCreate(name,obj) vtkSmartPointer<obj> name = vtkSmartPointer<obj>::New();
#define WINDOW_WIDTH 600
#define WINDOW_HEIGHT 360
//volume
#include "vtkRenderer.h"
#include "vtkRenderWindow.h"
#include "vtkImageShiftScale.h"
#include "vtkPiecewiseFunction.h"
#include "vtkColorTransferFunction.h"
#include "vtkVolumeProperty.h"
#include "vtkVolumeRayCastCompositeFunction.h"
#include "vtkVolumeRayCastMapper.h"
#include "vtkVolume.h"
#include "vtkDICOMImageReader.h"
#include "vtkBMPReader.h"
#include "QVTKWidget.h"
//surface
#include "vtkMarchingCubes.h"
#include "vtkStripper.h"
#include "vtkPolyDataNormals.h"
#include "vtkPolyDataMapper.h"
#include "vtkProperty.h"
#include "vtkActor.h"
#include "vtkCamera.h"
#include "vtkInteractorStyleTrackballCamera.h"
//planeWidget
#include "vtkOutlineFilter.h"
#include "vtkImagePlaneWidget.h"
#include "vtkCellPicker.h"
#include "vtkCubeAxesActor2D.h"
#include "vtkTextProperty.h"
#include "vtkImageData.h"
//mpr
#include "vtkImageViewer2.h"
//reslice
#include "vtkImageReslice.h"
#include "vtkMatrix4x4.h"
//texture
#include "vtkCylinderSource.h"
#include "vtkLight.h"
//volumeclip
#include "vtkBoxWidget.h"
#include "vtkImageCast.h"
#include "vtkFiniteDifferenceGradientEstimator.h"
#include "vtkPlanes.h"
#include "vtkAnnotatedCubeActor.h"
#include "vtkOrientationMarkerWidget.h"
#include "vtkPlane.h"
#include "vtkPlaneWidget.h"
#include "vtkImplicitPlaneWidget.h"
#include "vtkImplicitPlaneWidget2.h"
#include "vtkBoxWidget.h"
#include "vtkBoxWidget2.h"
#include "vtkCutter.h"
#include "vtkFixedPointVolumeRayCastMapper.h"
#include "vtkImplicitPlaneRepresentation.h"
#include "vtkClipPolyData.h"
#include "vtkContourFilter.h"
#include "vtkImageFlip.h"
#include "vtkSmoothPolyDataFilter.h"
#include "vtkTriangle.h"
#include "vtkConeSource.h"
#include <QDebug>
#include <QPointer>
#include <QApplication>
#define vtkWidgetCreate(name,obj) QPointer<obj> name(new obj);
#ifdef DICOMREADER
const QString path = "D:\\Qt\\Workspace\\build-dcmViewer-Desktop_Qt_5_5_0_MSVC2013_64bit-Release\\1.3.51.5145.15142.20010109.1105627\\1";
#else
const QString bmpPath = "D:\\Qt\\Workspace\\build-dcmViewer-Desktop_Qt_5_5_0_MSVC2013_64bit-Release\\1.3.51.5145.15142.20010109.1105627\\2";
#endif
C++
1
https://gitee.com/greedysky/vtk-demo.git
git@gitee.com:greedysky/vtk-demo.git
greedysky
vtk-demo
vtk-demo
master

搜索帮助