VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Imaging
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
38
class
VTK_IMAGING_EXPORT
vtkTriangularTexture
:
public
vtkImageAlgorithm
39
{
40
public
:
41
vtkTypeMacro(
vtkTriangularTexture
,
vtkImageAlgorithm
);
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
:
74
vtkTriangularTexture
();
75
~vtkTriangularTexture
() {};
76
77
virtual
int
RequestInformation
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
78
virtual
void
ExecuteData
(
vtkDataObject
*
data
);
79
80
int
XSize
;
81
int
YSize
;
82
double
ScaleFactor
;
83
84
int
TexturePattern
;
85
private
:
86
vtkTriangularTexture
(
const
vtkTriangularTexture
&);
// Not implemented.
87
void
operator=(
const
vtkTriangularTexture
&);
// Not implemented.
88
};
89
90
#endif
91
92
Generated on Wed May 30 2012 13:22:14 for VTK by
1.8.1