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 =========================================================================*/
45 #ifndef vtkTextureMapToPlane_h
46 #define vtkTextureMapToPlane_h
47 
48 #include "vtkFiltersTextureModule.h" // For export macro
49 #include "vtkDataSetAlgorithm.h"
50 
52 {
53 public:
55  void PrintSelf(ostream& os, vtkIndent indent);
56 
60 
62 
64  vtkSetVector3Macro(Origin,double);
65  vtkGetVectorMacro(Origin,double,3);
67 
69 
70  vtkSetVector3Macro(Point1,double);
71  vtkGetVectorMacro(Point1,double,3);
73 
75 
76  vtkSetVector3Macro(Point2,double);
77  vtkGetVectorMacro(Point2,double,3);
79 
81 
87 
89 
90  vtkSetVector2Macro(SRange,double);
91  vtkGetVectorMacro(SRange,double,2);
93 
95 
96  vtkSetVector2Macro(TRange,double);
97  vtkGetVectorMacro(TRange,double,2);
99 
101 
102  vtkSetMacro(AutomaticPlaneGeneration,int);
103  vtkGetMacro(AutomaticPlaneGeneration,int);
104  vtkBooleanMacro(AutomaticPlaneGeneration,int);
106 
107 protected:
110 
112  void ComputeNormal(vtkDataSet *output);
113 
114  double Origin[3];
115  double Point1[3];
116  double Point2[3];
117  double Normal[3];
118  double SRange[2];
119  double TRange[2];
121 
122 private:
123  vtkTextureMapToPlane(const vtkTextureMapToPlane&); // Not implemented.
124  void operator=(const vtkTextureMapToPlane&); // Not implemented.
125 };
126 
127 #endif
vtkTextureMapToPlane::ComputeNormal
void ComputeNormal(vtkDataSet *output)
vtkSetVector2Macro
#define vtkSetVector2Macro(name, type)
Definition: vtkSetGet.h:254
vtkSetVector3Macro
#define vtkSetVector3Macro(name, type)
Definition: vtkSetGet.h:287
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkX3D::Normal
@ Normal
Definition: vtkX3D.h:45
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkTextureMapToPlane::New
static vtkTextureMapToPlane * New()
vtkGetVectorMacro
#define vtkGetVectorMacro(name, type, count)
Definition: vtkSetGet.h:424
vtkDataSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkDataSetAlgorithm.h:51
vtkTextureMapToPlane
generate texture coordinates by mapping points to plane
Definition: vtkTextureMapToPlane.h:52
vtkTextureMapToPlane::AutomaticPlaneGeneration
int AutomaticPlaneGeneration
Definition: vtkTextureMapToPlane.h:120
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkFiltersTextureModule.h
VTKFILTERSTEXTURE_EXPORT
#define VTKFILTERSTEXTURE_EXPORT
Definition: vtkFiltersTextureModule.h:15
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkTextureMapToPlane::vtkTextureMapToPlane
vtkTextureMapToPlane()
vtkDataSetAlgorithm.h
vtkTextureMapToPlane::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkTextureMapToPlane::~vtkTextureMapToPlane
~vtkTextureMapToPlane()
Definition: vtkTextureMapToPlane.h:109
vtkTextureMapToPlane::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)