VTK
vtkImplicitTextureCoords.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImplicitTextureCoords.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 =========================================================================*/
52 #ifndef vtkImplicitTextureCoords_h
53 #define vtkImplicitTextureCoords_h
54 
55 #include "vtkFiltersTextureModule.h" // For export macro
56 #include "vtkDataSetAlgorithm.h"
57 
59 
60 class VTKFILTERSTEXTURE_EXPORT vtkImplicitTextureCoords : public vtkDataSetAlgorithm
61 {
62 public:
64  void PrintSelf(ostream& os, vtkIndent indent);
65 
71 
73 
77  vtkGetObjectMacro(RFunction,vtkImplicitFunction);
79 
81 
85  vtkGetObjectMacro(SFunction,vtkImplicitFunction);
87 
89 
93  vtkGetObjectMacro(TFunction,vtkImplicitFunction);
95 
97 
101  vtkSetMacro(FlipTexture,int);
102  vtkGetMacro(FlipTexture,int);
103  vtkBooleanMacro(FlipTexture,int);
105 
106 protected:
109 
111 
116 private:
117  vtkImplicitTextureCoords(const vtkImplicitTextureCoords&) VTK_DELETE_FUNCTION;
118  void operator=(const vtkImplicitTextureCoords&) VTK_DELETE_FUNCTION;
119 };
120 
121 #endif
122 
123 
Superclass for algorithms that produce output of the same type as input.
abstract interface for implicit functions
generate 1D, 2D, or 3D texture coordinates based on implicit function(s)
static vtkImplicitTextureCoords * New()
Create object with texture dimension=2 and no r-s-t implicit functions defined and FlipTexture turned...
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void SetRFunction(vtkImplicitFunction *)
Specify an implicit function to compute the r texture coordinate.
virtual void SetTFunction(vtkImplicitFunction *)
Specify an implicit function to compute the t texture coordinate.
virtual void SetSFunction(vtkImplicitFunction *)
Specify an implicit function to compute the s texture coordinate.
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.