VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Parallel
vtkPBGLVertexColoring.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkPBGLVertexColoring.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
=========================================================================*/
15
/*-------------------------------------------------------------------------
16
Copyright 2008 Sandia Corporation.
17
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18
the U.S. Government retains certain rights in this software.
19
-------------------------------------------------------------------------*/
33
#ifndef __vtkPBGLVertexColoring_h
34
#define __vtkPBGLVertexColoring_h
35
36
#include "
vtkStdString.h
"
// For string type
37
#include "
vtkVariant.h
"
// For variant type
38
39
#include "
vtkGraphAlgorithm.h
"
40
41
class
vtkSelection
;
42
43
class
VTK_PARALLEL_EXPORT
vtkPBGLVertexColoring
:
public
vtkGraphAlgorithm
44
{
45
public
:
46
static
vtkPBGLVertexColoring
*
New
();
47
vtkTypeMacro(
vtkPBGLVertexColoring
,
vtkGraphAlgorithm
);
48
void
PrintSelf
(ostream& os,
vtkIndent
indent);
49
51
53
vtkSetMacro(BlockSize,
vtkIdType
);
55
57
58
vtkGetMacro(BlockSize,
vtkIdType
);
60
62
65
vtkSetStringMacro(ColorArrayName);
67
68
protected
:
69
vtkPBGLVertexColoring
();
70
~
vtkPBGLVertexColoring
();
71
72
virtual
int
RequestData
(
73
vtkInformation
*,
74
vtkInformationVector
**,
75
vtkInformationVector
*);
76
77
virtual
int
FillInputPortInformation
(
78
int
port
,
vtkInformation
*
info
);
79
80
virtual
int
FillOutputPortInformation
(
81
int
port
,
vtkInformation
*
info
);
82
83
private
:
84
85
vtkIdType
BlockSize;
86
char
* ColorArrayName;
87
88
vtkPBGLVertexColoring
(
const
vtkPBGLVertexColoring
&);
// Not implemented.
89
void
operator=(
const
vtkPBGLVertexColoring
&);
// Not implemented.
90
};
91
92
#endif
Generated on Thu Mar 13 2014 08:10:27 for VTK by
1.8.1.2