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=========================================================================*/
34#ifndef vtkTriangularTexture_h
35#define vtkTriangularTexture_h
36
37#include "vtkImagingHybridModule.h" // For export macro
38#include "vtkImageAlgorithm.h"
39
40class VTKIMAGINGHYBRID_EXPORT vtkTriangularTexture : public vtkImageAlgorithm
41{
42public:
44 void PrintSelf(ostream& os, vtkIndent indent);
45
51
53
56 vtkSetMacro(ScaleFactor,double);
57 vtkGetMacro(ScaleFactor,double);
59
61
64 vtkSetMacro(XSize,int);
65 vtkGetMacro(XSize,int);
67
69
72 vtkSetMacro(YSize,int);
73 vtkGetMacro(YSize,int);
75
77
83 vtkSetClampMacro(TexturePattern,int,1,3);
84 vtkGetMacro(TexturePattern,int);
86
87protected:
90
93
94 int XSize;
95 int YSize;
97
99private:
100 vtkTriangularTexture(const vtkTriangularTexture&) VTK_DELETE_FUNCTION;
101 void operator=(const vtkTriangularTexture&) VTK_DELETE_FUNCTION;
102};
103
104#endif
105
106
general representation of visualization data
Definition: vtkDataObject.h:65
Generic algorithm superclass for image algs.
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
generate 2D triangular texture map
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to collect information from their inputs and set information f...
virtual void ExecuteDataWithInformation(vtkDataObject *data, vtkInformation *outInfo)
This is a convenience method that is implemented in many subclasses instead of RequestData.
static vtkTriangularTexture * New()
Instantiate object with XSize and YSize = 64; the texture pattern =1 (opaque at centroid); and the sc...
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
@ data
Definition: vtkX3D.h:315
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.