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
vtkX3D::data
Definition:
vtkX3D.h:315
vtkImageAlgorithm::ExecuteData
virtual void ExecuteData(vtkDataObject *output)
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:81
vtkTriangularTexture::YSize
int YSize
Definition:
vtkTriangularTexture.h:81
vtkImageAlgorithm.h
vtkTriangularTexture
generate 2D triangular texture map
Definition:
vtkTriangularTexture.h:38
vtkTriangularTexture::XSize
int XSize
Definition:
vtkTriangularTexture.h:80
vtkTriangularTexture::TexturePattern
int TexturePattern
Definition:
vtkTriangularTexture.h:84
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:37
vtkTriangularTexture::~vtkTriangularTexture
~vtkTriangularTexture()
Definition:
vtkTriangularTexture.h:75
VTK_IMAGING_EXPORT
#define VTK_IMAGING_EXPORT
Definition:
vtkWin32Header.h:275
vtkImageAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkTriangularTexture::ScaleFactor
double ScaleFactor
Definition:
vtkTriangularTexture.h:82
vtkImageAlgorithm
Generic algorithm superclass for image algs.
Definition:
vtkImageAlgorithm.h:35
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:39
vtkImageAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkAlgorithm::New
static vtkAlgorithm * New()
vtkDataObject
general representation of visualization data
Definition:
vtkDataObject.h:70
Generated on Tue Oct 28 2014 11:39:57 for VTK by
1.8.8