#include<vtkSmartPointer.h>
#include<vtkRenderWindow.h>
#include<vtkRenderer.h>
#include<vtkRenderWindowInteractor.h>
#include<vtkInteractorStyleTrackballCamera.h>
#include<vtkCylinderSource.h>
#include <vtkPolyDataMapper.h>
#include<vtkPolyData.h>
#include<vtkActor.h>
#include<vtkBMPReader.h>
#include<vtkTexture.h>
#include<vtkLight.h>
#include<vtkCamera.h>
#include<vtkStructuredPointsReader.h>
#include<vtkImageDataGeometryFilter.h>
#include<vtkImageReader.h>
#include<vtkCellArray.h>
#include<vtkIdTypeArray.h>
#include<fstream>
#include<vtkProperty.h>
#include<vtkSphereSource.h>
#include<vtkPolyDataNormals.h>
#include<vtkTextureMapToPlane.h>
#include<vtkTextureMapToCylinder.h>
#include<vtkTransformTextureCoords.h>
#include<vtkPlaneSource.h>
#include<vtkTextureMapToPlane.h>
#include<vtkObject.h>
#include<vtkImageFlip.h>
#include<vtkTransform.h>
#include<vtkTransformPolyDataFilter.h>
#include<vtkTransform2D.h>
#include<vtkTransformFilter.h>
#include <vtkAutoInit.h>
VTK_MODULE_INIT(vtkRenderingOpenGL2);
VTK_MODULE_INIT(vtkInteractionStyle);
#define RAW_FILE "E:\\1.raw"
#define BMP_File "E:\\PatMatch.bmp"
#define TEX_FILE "E:\\1000wMono8_3840_2748.raw"
#define TEX_WIDE 3840
#define TEX_HIGH 2748
//R,S,T轴是否翻转
#define R_FLIP 1
#define S_FLIP 1
#define T_FLIP 1
#define MAX_Point 1000000
typedef struct 3D_POINT__
{
float fX;
float fY;
float fZ;
} 3D_POIN