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

vtkTextureMapToPlane.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkTextureMapToPlane.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00045 #ifndef __vtkTextureMapToPlane_h
00046 #define __vtkTextureMapToPlane_h
00047 
00048 #include "vtkDataSetAlgorithm.h"
00049 
00050 class VTK_GRAPHICS_EXPORT vtkTextureMapToPlane : public vtkDataSetAlgorithm 
00051 {
00052 public:
00053   vtkTypeRevisionMacro(vtkTextureMapToPlane,vtkDataSetAlgorithm);
00054   void PrintSelf(ostream& os, vtkIndent indent);
00055 
00058   static vtkTextureMapToPlane *New();
00059 
00061 
00063   vtkSetVector3Macro(Origin,double);
00064   vtkGetVectorMacro(Origin,double,3);
00066 
00068 
00069   vtkSetVector3Macro(Point1,double);
00070   vtkGetVectorMacro(Point1,double,3);
00072 
00074 
00075   vtkSetVector3Macro(Point2,double);
00076   vtkGetVectorMacro(Point2,double,3);
00078 
00080 
00083   vtkSetVector3Macro(Normal,double);
00084   vtkGetVectorMacro(Normal,double,3);
00086 
00088 
00089   vtkSetVector2Macro(SRange,double);
00090   vtkGetVectorMacro(SRange,double,2);
00092 
00094 
00095   vtkSetVector2Macro(TRange,double);
00096   vtkGetVectorMacro(TRange,double,2);
00098 
00100 
00101   vtkSetMacro(AutomaticPlaneGeneration,int);
00102   vtkGetMacro(AutomaticPlaneGeneration,int);
00103   vtkBooleanMacro(AutomaticPlaneGeneration,int);
00105 
00106 protected:
00107   vtkTextureMapToPlane();
00108   ~vtkTextureMapToPlane() {};
00109 
00110   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00111   void ComputeNormal(vtkDataSet *output);
00112 
00113   double Origin[3];
00114   double Point1[3];
00115   double Point2[3];
00116   double Normal[3];
00117   double SRange[2];
00118   double TRange[2];
00119   int AutomaticPlaneGeneration;
00120 
00121 private:
00122   vtkTextureMapToPlane(const vtkTextureMapToPlane&);  // Not implemented.
00123   void operator=(const vtkTextureMapToPlane&);  // Not implemented.
00124 };
00125 
00126 #endif

Generated on Mon Jan 21 23:07:26 2008 for VTK by  doxygen 1.4.3-20050530