vtkDistributedTrivialProducer.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkDistributedTrivialProducer.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 =========================================================================*/
22 #ifndef vtkDistributedTrivialProducer_h
23 #define vtkDistributedTrivialProducer_h
24 
25 #include "vtkPVTrivialProducer.h"
26 #include "vtkPVVTKExtensionsCoreModule.h" // needed for export macro"
27 
28 struct vtkPVTrivialProducerStaticInternal;
29 
31 {
32 public:
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
41  static void SetGlobalOutput(const char* key, vtkDataObject* output);
42 
47  static void ReleaseGlobalOutput(const char* key);
48 
53  virtual void UpdateFromGlobal(const char* key);
54 
55 protected:
58 
59 private:
61  void operator=(const vtkDistributedTrivialProducer&) = delete;
62 
63  static vtkPVTrivialProducerStaticInternal* InternalStatic;
64 };
65 
66 #endif
static vtkPVTrivialProducer * New()
#define VTKPVVTKEXTENSIONSCORE_EXPORT
specialized subclass of vtkTrivialProducer that preserves the information about the whole extent of t...
void PrintSelf(ostream &os, vtkIndent indent) override
Extend vtkPVTrivialProducer to allow distributed code to easily populate a trivial producer with loca...