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

dox/Graphics/vtkTransformTextureCoords.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkTransformTextureCoords.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 =========================================================================*/
00037 #ifndef __vtkTransformTextureCoords_h
00038 #define __vtkTransformTextureCoords_h
00039 
00040 #include "vtkDataSetAlgorithm.h"
00041 
00042 class VTK_GRAPHICS_EXPORT vtkTransformTextureCoords : public vtkDataSetAlgorithm 
00043 {
00044 public:
00045   vtkTypeRevisionMacro(vtkTransformTextureCoords,vtkDataSetAlgorithm);
00046   void PrintSelf(ostream& os, vtkIndent indent);
00047 
00051   static vtkTransformTextureCoords *New();
00052 
00054 
00056   vtkSetVector3Macro(Position,double);
00057   vtkGetVectorMacro(Position,double,3);
00059 
00061 
00063   void AddPosition(double deltaR, double deltaS, double deltaT);
00064   void AddPosition(double deltaPosition[3]);
00066   
00068 
00070   vtkSetVector3Macro(Scale,double);
00071   vtkGetVectorMacro(Scale,double,3);
00073 
00075 
00079   vtkSetVector3Macro(Origin,double);
00080   vtkGetVectorMacro(Origin,double,3);
00082 
00084 
00086   vtkSetMacro(FlipR,int);
00087   vtkGetMacro(FlipR,int);
00088   vtkBooleanMacro(FlipR,int);
00090 
00092 
00094   vtkSetMacro(FlipS,int);
00095   vtkGetMacro(FlipS,int);
00096   vtkBooleanMacro(FlipS,int);
00098 
00100 
00102   vtkSetMacro(FlipT,int);
00103   vtkGetMacro(FlipT,int);
00104   vtkBooleanMacro(FlipT,int);
00106 
00107 protected:
00108   vtkTransformTextureCoords();
00109   ~vtkTransformTextureCoords() {};
00110 
00111   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00112 
00113   double Origin[3]; //point around which map rotates
00114   double Position[3]; //controls translation of map
00115   double Scale[3]; //scales the texture map
00116   int FlipR; //boolean indicates whether to flip texture around r-axis
00117   int FlipS; //boolean indicates whether to flip texture around s-axis
00118   int FlipT; //boolean indicates whether to flip texture around t-axis
00119 private:
00120   vtkTransformTextureCoords(const vtkTransformTextureCoords&);  // Not implemented.
00121   void operator=(const vtkTransformTextureCoords&);  // Not implemented.
00122 };
00123 
00124 #endif

Generated by  doxygen 1.7.1