Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/Graphics/vtkTextureMapToPlane.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkTextureMapToPlane.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00049 #ifndef __vtkTextureMapToPlane_h 00050 #define __vtkTextureMapToPlane_h 00051 00052 #include "vtkDataSetToDataSetFilter.h" 00053 00054 class VTK_GRAPHICS_EXPORT vtkTextureMapToPlane : public vtkDataSetToDataSetFilter 00055 { 00056 public: 00057 vtkTypeRevisionMacro(vtkTextureMapToPlane,vtkDataSetToDataSetFilter); 00058 void PrintSelf(ostream& os, vtkIndent indent); 00059 00062 static vtkTextureMapToPlane *New(); 00063 00065 00067 vtkSetVector3Macro(Origin,float); 00068 vtkGetVectorMacro(Origin,float,3); 00070 00072 00073 vtkSetVector3Macro(Point1,float); 00074 vtkGetVectorMacro(Point1,float,3); 00076 00078 00079 vtkSetVector3Macro(Point2,float); 00080 vtkGetVectorMacro(Point2,float,3); 00082 00084 00087 vtkSetVector3Macro(Normal,float); 00088 vtkGetVectorMacro(Normal,float,3); 00090 00092 00093 vtkSetVector2Macro(SRange,float); 00094 vtkGetVectorMacro(SRange,float,2); 00096 00098 00099 vtkSetVector2Macro(TRange,float); 00100 vtkGetVectorMacro(TRange,float,2); 00102 00104 00105 vtkSetMacro(AutomaticPlaneGeneration,int); 00106 vtkGetMacro(AutomaticPlaneGeneration,int); 00107 vtkBooleanMacro(AutomaticPlaneGeneration,int); 00109 00110 protected: 00111 vtkTextureMapToPlane(); 00112 ~vtkTextureMapToPlane() {}; 00113 00114 void Execute(); 00115 void ComputeNormal(); 00116 00117 float Origin[3]; 00118 float Point1[3]; 00119 float Point2[3]; 00120 float Normal[3]; 00121 float SRange[2]; 00122 float TRange[2]; 00123 int AutomaticPlaneGeneration; 00124 00125 private: 00126 vtkTextureMapToPlane(const vtkTextureMapToPlane&); // Not implemented. 00127 void operator=(const vtkTextureMapToPlane&); // Not implemented. 00128 }; 00129 00130 #endif