00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00045
#ifndef __vtkTextureMapToPlane_h
00046
#define __vtkTextureMapToPlane_h
00047
00048
#include "vtkDataSetToDataSetFilter.h"
00049
00050 class VTK_GRAPHICS_EXPORT vtkTextureMapToPlane :
public vtkDataSetToDataSetFilter
00051 {
00052
public:
00053 vtkTypeRevisionMacro(vtkTextureMapToPlane,
vtkDataSetToDataSetFilter);
00054
void PrintSelf(ostream& os,
vtkIndent indent);
00055
00058
static vtkTextureMapToPlane *
New();
00059
00061
00063 vtkSetVector3Macro(Origin,
double);
00064 vtkGetVectorMacro(Origin,
double,3);
00066
00068
00069 vtkSetVector3Macro(Point1,
double);
00070 vtkGetVectorMacro(Point1,
double,3);
00072
00074
00075 vtkSetVector3Macro(Point2,
double);
00076 vtkGetVectorMacro(Point2,
double,3);
00078
00080
00083 vtkSetVector3Macro(Normal,
double);
00084 vtkGetVectorMacro(Normal,
double,3);
00086
00088
00089 vtkSetVector2Macro(SRange,
double);
00090 vtkGetVectorMacro(SRange,
double,2);
00092
00094
00095 vtkSetVector2Macro(TRange,
double);
00096 vtkGetVectorMacro(TRange,
double,2);
00098
00100
00101 vtkSetMacro(AutomaticPlaneGeneration,
int);
00102 vtkGetMacro(AutomaticPlaneGeneration,
int);
00103 vtkBooleanMacro(AutomaticPlaneGeneration,
int);
00105
00106
protected:
00107 vtkTextureMapToPlane();
00108 ~vtkTextureMapToPlane() {};
00109
00110
void Execute();
00111
void ComputeNormal();
00112
00113 double Origin[3];
00114 double Point1[3];
00115 double Point2[3];
00116 double Normal[3];
00117 double SRange[2];
00118 double TRange[2];
00119 int AutomaticPlaneGeneration;
00120
00121
private:
00122 vtkTextureMapToPlane(
const vtkTextureMapToPlane&);
00123
void operator=(
const vtkTextureMapToPlane&);
00124 };
00125
00126
#endif