VTK
vtkTextureMapToPlane.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkTextureMapToPlane.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
46#ifndef vtkTextureMapToPlane_h
47#define vtkTextureMapToPlane_h
48
49#include "vtkFiltersTextureModule.h" // For export macro
50#include "vtkDataSetAlgorithm.h"
51
52class VTKFILTERSTEXTURE_EXPORT vtkTextureMapToPlane : public vtkDataSetAlgorithm
53{
54public:
56 void PrintSelf(ostream& os, vtkIndent indent);
57
62
64
68 vtkSetVector3Macro(Origin,double);
69 vtkGetVectorMacro(Origin,double,3);
71
73
76 vtkSetVector3Macro(Point1,double);
77 vtkGetVectorMacro(Point1,double,3);
79
81
84 vtkSetVector3Macro(Point2,double);
85 vtkGetVectorMacro(Point2,double,3);
87
89
94 vtkSetVector3Macro(Normal,double);
95 vtkGetVectorMacro(Normal,double,3);
97
99
102 vtkSetVector2Macro(SRange,double);
103 vtkGetVectorMacro(SRange,double,2);
105
107
110 vtkSetVector2Macro(TRange,double);
111 vtkGetVectorMacro(TRange,double,2);
113
115
118 vtkSetMacro(AutomaticPlaneGeneration,int);
119 vtkGetMacro(AutomaticPlaneGeneration,int);
120 vtkBooleanMacro(AutomaticPlaneGeneration,int);
122
123protected:
126
129
130 double Origin[3];
131 double Point1[3];
132 double Point2[3];
133 double Normal[3];
134 double SRange[2];
135 double TRange[2];
137
138private:
139 vtkTextureMapToPlane(const vtkTextureMapToPlane&) VTK_DELETE_FUNCTION;
140 void operator=(const vtkTextureMapToPlane&) VTK_DELETE_FUNCTION;
141};
142
143#endif
Superclass for algorithms that produce output of the same type as input.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:63
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
generate texture coordinates by mapping points to plane
static vtkTextureMapToPlane * New()
Construct with s,t range=(0,1) and automatic plane generation turned on.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void ComputeNormal(vtkDataSet *output)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
@ Normal
Definition: vtkX3D.h:45
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.