ParaView
vtkOrderedCompositeDistributor.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOrderedCompositeDistributor.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 /*
17  * Copyright 2005 Sandia Corporation.
18  * Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive
19  * license for use of this work by or on behalf of the
20  * U.S. Government. Redistribution and use in source and binary forms, with
21  * or without modification, are permitted provided that this Notice and any
22  * statement of authorship are reproduced on all copies.
23  */
24 
41 #ifndef vtkOrderedCompositeDistributor_h
42 #define vtkOrderedCompositeDistributor_h
43 
44 #include "vtkPVVTKExtensionsRenderingModule.h" // needed for export macro
45 #include "vtkPointSetAlgorithm.h"
46 
47 class vtkBSPCuts;
48 class vtkDataSet;
49 class vtkDataSetSurfaceFilter;
50 class vtkDistributedDataFilter;
51 class vtkMultiProcessController;
52 class vtkPKdTree;
53 
54 class VTKPVVTKEXTENSIONSRENDERING_EXPORT vtkOrderedCompositeDistributor
55  : public vtkPointSetAlgorithm
56 {
57 public:
58  vtkTypeMacro(vtkOrderedCompositeDistributor, vtkPointSetAlgorithm);
59  static vtkOrderedCompositeDistributor* New();
60  virtual void PrintSelf(ostream& os, vtkIndent indent);
61 
63 
66  virtual void SetPKdTree(vtkPKdTree*);
67  vtkGetObjectMacro(PKdTree, vtkPKdTree);
69 
71 
74  virtual void SetController(vtkMultiProcessController*);
75  vtkGetObjectMacro(Controller, vtkMultiProcessController);
77 
79 
82  vtkSetMacro(PassThrough, bool);
83  vtkGetMacro(PassThrough, bool);
84  vtkBooleanMacro(PassThrough, bool);
86 
88 
91  vtkSetStringMacro(OutputType);
92  vtkGetStringMacro(OutputType);
94 
95 protected:
98 
99  char* OutputType;
101  vtkPKdTree* PKdTree;
102  vtkMultiProcessController* Controller;
103 
104  int FillInputPortInformation(int port, vtkInformation* info);
105  int RequestDataObject(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
106  int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
107 
108 private:
110  void operator=(const vtkOrderedCompositeDistributor&) VTK_DELETE_FUNCTION;
111 };
112 
113 #endif // vtkOrderedCompositeDistributor_h
This class distributes data for use with ordered compositing (i.e.