VTK
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-------------------------------------------------------------------------*/
36#ifndef vtkPBGLVertexColoring_h
37#define vtkPBGLVertexColoring_h
38
39#include "vtkInfovisParallelModule.h" // For export macro
40#include "vtkStdString.h" // For string type
41#include "vtkVariant.h" // For variant type
42
43#include "vtkGraphAlgorithm.h"
44
45class vtkSelection;
46
47#if !defined(VTK_LEGACY_REMOVE)
48class VTKINFOVISPARALLEL_EXPORT vtkPBGLVertexColoring : public vtkGraphAlgorithm
49{
50public:
53 void PrintSelf(ostream& os, vtkIndent indent);
54
56
63
65
68 vtkGetMacro(BlockSize,vtkIdType);
70
72
77 vtkSetStringMacro(ColorArrayName);
79
80protected:
83
84 virtual int RequestData(
88
91
94
95private:
96
97 vtkIdType BlockSize;
98 char* ColorArrayName;
99
100 vtkPBGLVertexColoring(const vtkPBGLVertexColoring&) VTK_DELETE_FUNCTION;
101 void operator=(const vtkPBGLVertexColoring&) VTK_DELETE_FUNCTION;
102};
103
104#endif //VTK_LEGACY_REMOVE
105#endif
Superclass for algorithms that produce only graph as output.
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Compute a vertex coloring for a distributed, undirected vtkGraph, where each vertex has a color disti...
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Fill the output port information objects for this algorithm.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkPBGLVertexColoring * New()
A node in a selection tree.
Definition: vtkSelection.h:44
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
int vtkIdType
Definition: vtkType.h:287