20 #ifndef vtkProjectedTexture_h
21 #define vtkProjectedTexture_h
24 #include "vtkFiltersModelingModule.h"
26 #define VTK_PROJECTED_TEXTURE_USE_PINHOLE 0
27 #define VTK_PROJECTED_TEXTURE_USE_TWO_MIRRORS 1
29 VTK_ABI_NAMESPACE_BEGIN
41 vtkSetVector3Macro(
Position,
double);
42 vtkGetVectorMacro(
Position,
double, 3);
50 void SetFocalPoint(
double focalPoint[3]);
51 void SetFocalPoint(
double x,
double y,
double z);
52 vtkGetVectorMacro(FocalPoint,
double, 3);
60 vtkSetMacro(CameraMode,
int);
61 vtkGetMacro(CameraMode,
int);
70 vtkSetMacro(MirrorSeparation,
double);
71 vtkGetMacro(MirrorSeparation,
double);
78 vtkGetVectorMacro(Orientation,
double, 3);
85 vtkSetVector3Macro(Up,
double);
86 vtkGetVectorMacro(Up,
double, 3);
100 vtkSetVector3Macro(AspectRatio,
double);
101 vtkGetVectorMacro(AspectRatio,
double, 3);
108 vtkSetVector2Macro(SRange,
double);
109 vtkGetVectorMacro(SRange,
double, 2);
116 vtkSetVector2Macro(TRange,
double);
117 vtkGetVectorMacro(TRange,
double, 2);
125 void ComputeNormal();
130 double Orientation[3];
131 double FocalPoint[3];
134 double AspectRatio[3];
143 VTK_ABI_NAMESPACE_END
assign texture coordinates for a projected texture
struct Position_t Position
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()