VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkBlockIdScalars.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkBlockIdScalars.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 =========================================================================*/
23 #ifndef __vtkBlockIdScalars_h
24 #define __vtkBlockIdScalars_h
25 
26 #include "vtkFiltersGeneralModule.h" // For export macro
28 
29 class VTKFILTERSGENERAL_EXPORT vtkBlockIdScalars : public vtkMultiBlockDataSetAlgorithm
30 {
31 public:
32  static vtkBlockIdScalars* New();
34  void PrintSelf(ostream& os, vtkIndent indent);
35 
36 //BTX
37 protected:
40 
41  int RequestData(vtkInformation *,
42  vtkInformationVector **,
43  vtkInformationVector *);
44 
45  vtkDataObject* ColorBlock(vtkDataObject* input, int group);
46 
47 private:
48  vtkBlockIdScalars(const vtkBlockIdScalars&); // Not implemented.
49  void operator=(const vtkBlockIdScalars&); // Not implemented.
50 //ETX
51 };
52 
53 #endif
54 
55 
generates scalars from blocks.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkMultiBlockDataSetAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
general representation of visualization data
Definition: vtkDataObject.h:64