• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

dox/Graphics/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 =========================================================================*/
00042 #ifndef __vtkTextureMapToPlane_h
00043 #define __vtkTextureMapToPlane_h
00044 
00045 #include "vtkDataSetAlgorithm.h"
00046 
00047 class VTK_GRAPHICS_EXPORT vtkTextureMapToPlane : public vtkDataSetAlgorithm 
00048 {
00049 public:
00050   vtkTypeRevisionMacro(vtkTextureMapToPlane,vtkDataSetAlgorithm);
00051   void PrintSelf(ostream& os, vtkIndent indent);
00052 
00055   static vtkTextureMapToPlane *New();
00056 
00058 
00060   vtkSetVector3Macro(Origin,double);
00061   vtkGetVectorMacro(Origin,double,3);
00063 
00065 
00066   vtkSetVector3Macro(Point1,double);
00067   vtkGetVectorMacro(Point1,double,3);
00069 
00071 
00072   vtkSetVector3Macro(Point2,double);
00073   vtkGetVectorMacro(Point2,double,3);
00075 
00077 
00080   vtkSetVector3Macro(Normal,double);
00081   vtkGetVectorMacro(Normal,double,3);
00083 
00085 
00086   vtkSetVector2Macro(SRange,double);
00087   vtkGetVectorMacro(SRange,double,2);
00089 
00091 
00092   vtkSetVector2Macro(TRange,double);
00093   vtkGetVectorMacro(TRange,double,2);
00095 
00097 
00098   vtkSetMacro(AutomaticPlaneGeneration,int);
00099   vtkGetMacro(AutomaticPlaneGeneration,int);
00100   vtkBooleanMacro(AutomaticPlaneGeneration,int);
00102 
00103 protected:
00104   vtkTextureMapToPlane();
00105   ~vtkTextureMapToPlane() {};
00106 
00107   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00108   void ComputeNormal(vtkDataSet *output);
00109 
00110   double Origin[3];
00111   double Point1[3];
00112   double Point2[3];
00113   double Normal[3];
00114   double SRange[2];
00115   double TRange[2];
00116   int AutomaticPlaneGeneration;
00117 
00118 private:
00119   vtkTextureMapToPlane(const vtkTextureMapToPlane&);  // Not implemented.
00120   void operator=(const vtkTextureMapToPlane&);  // Not implemented.
00121 };
00122 
00123 #endif

Generated by  doxygen 1.7.1