32 #ifndef vtkProjectedTexture_h 33 #define vtkProjectedTexture_h 35 #include "vtkFiltersModelingModule.h" 38 #define VTK_PROJECTED_TEXTURE_USE_PINHOLE 0 39 #define VTK_PROJECTED_TEXTURE_USE_TWO_MIRRORS 1 52 vtkSetVector3Macro(Position,
double);
53 vtkGetVectorMacro(Position,
double,3);
61 void SetFocalPoint(
double focalPoint[3]);
62 void SetFocalPoint(
double x,
double y,
double z);
63 vtkGetVectorMacro(FocalPoint,
double,3);
71 vtkSetMacro(CameraMode,
int);
72 vtkGetMacro(CameraMode,
int);
81 vtkSetMacro(MirrorSeparation,
double);
82 vtkGetMacro(MirrorSeparation,
double);
89 vtkGetVectorMacro(Orientation,
double,3);
96 vtkSetVector3Macro(Up,
double);
97 vtkGetVectorMacro(Up,
double,3);
111 vtkSetVector3Macro(AspectRatio,
double);
112 vtkGetVectorMacro(AspectRatio,
double,3);
119 vtkSetVector2Macro(SRange,
double);
120 vtkGetVectorMacro(SRange,
double,2);
127 vtkSetVector2Macro(TRange,
double);
128 vtkGetVectorMacro(TRange,
double,2);
136 void ComputeNormal();
141 double Orientation[3];
142 double FocalPoint[3];
145 double AspectRatio[3];
assign texture coordinates for a projected texture
~vtkProjectedTexture() override
void SetCameraModeToTwoMirror()
Set/Get the camera mode of the projection – pinhole projection or two mirror projection.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
void SetCameraModeToPinhole()
Set/Get the camera mode of the projection – pinhole projection or two mirror projection.
#define VTK_PROJECTED_TEXTURE_USE_TWO_MIRRORS
Superclass for algorithms that produce output of the same type as input.
#define VTK_PROJECTED_TEXTURE_USE_PINHOLE
static vtkDataSetAlgorithm * New()