VTK
vtkTriangularTexture.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTriangularTexture.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 =========================================================================*/
33 #ifndef __vtkTriangularTexture_h
34 #define __vtkTriangularTexture_h
35 
36 #include "vtkImageAlgorithm.h"
37 
39 {
40 public:
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
46  static vtkTriangularTexture *New();
47 
49 
50  vtkSetMacro(ScaleFactor,double);
51  vtkGetMacro(ScaleFactor,double);
53 
55 
56  vtkSetMacro(XSize,int);
57  vtkGetMacro(XSize,int);
59 
61 
62  vtkSetMacro(YSize,int);
63  vtkGetMacro(YSize,int);
65 
67 
69  vtkSetClampMacro(TexturePattern,int,1,3);
70  vtkGetMacro(TexturePattern,int);
72 
73 protected:
76 
78  virtual void ExecuteData(vtkDataObject *data);
79 
80  int XSize;
81  int YSize;
82  double ScaleFactor;
83 
85 private:
86  vtkTriangularTexture(const vtkTriangularTexture&); // Not implemented.
87  void operator=(const vtkTriangularTexture&); // Not implemented.
88 };
89 
90 #endif
91 
92 
virtual void ExecuteData(vtkDataObject *output)
Store vtkAlgorithm input/output information.
generate 2D triangular texture map
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_IMAGING_EXPORT
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Generic algorithm superclass for image algs.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkAlgorithm * New()
general representation of visualization data
Definition: vtkDataObject.h:70