ParaView
vtkUpdateSuppressorPipeline.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkUpdateSuppressorPipeline.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 vtkUpdateSuppressorPipeline_h
24 #define vtkUpdateSuppressorPipeline_h
25 
26 #include "vtkCompositeDataPipeline.h"
27 #include "vtkPVVTKExtensionsRenderingModule.h" // needed for export macro
28 
29 class VTKPVVTKEXTENSIONSRENDERING_EXPORT vtkUpdateSuppressorPipeline
30  : public vtkCompositeDataPipeline
31 {
32 public:
33  static vtkUpdateSuppressorPipeline* New();
34  vtkTypeMacro(vtkUpdateSuppressorPipeline, vtkCompositeDataPipeline);
35  void PrintSelf(ostream& os, vtkIndent indent);
36 
41  virtual int ProcessRequest(
42  vtkInformation* request, vtkInformationVector** inInfo, vtkInformationVector* outInfo);
43 
45 
49  void SetEnabled(bool e) { this->Enabled = e; }
50  vtkGetMacro(Enabled, bool);
51 
52 protected:
56 
57  bool Enabled;
58 
59 private:
60  vtkUpdateSuppressorPipeline(const vtkUpdateSuppressorPipeline&) VTK_DELETE_FUNCTION;
61  void operator=(const vtkUpdateSuppressorPipeline&) VTK_DELETE_FUNCTION;
62 };
63 
64 #endif
void SetEnabled(bool e)
Get/Set if the update suppressions are enabled.
pipeline for vtkPVUpdateSuppressor