ParaView
vtkSMNumberOfComponentsDomain.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMNumberOfComponentsDomain.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 =========================================================================*/
28 #ifndef vtkSMNumberOfComponentsDomain_h
29 #define vtkSMNumberOfComponentsDomain_h
30 
31 #include "vtkPVServerManagerCoreModule.h" //needed for exports
32 #include "vtkSMEnumerationDomain.h"
33 
34 class vtkSMSourceProxy;
36 
37 class VTKPVSERVERMANAGERCORE_EXPORT vtkSMNumberOfComponentsDomain : public vtkSMEnumerationDomain
38 {
39 public:
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
50  virtual void Update(vtkSMProperty* prop);
51 
52 protected:
55 
59  void Update(
60  const char* arrayname, vtkSMSourceProxy* sp, vtkSMInputArrayDomain* iad, int outputport);
61 
62 private:
64  void operator=(const vtkSMNumberOfComponentsDomain&) VTK_DELETE_FUNCTION;
65 };
66 
67 #endif
void PrintSelf(ostream &os, vtkIndent indent)
superclass for all SM properties
domain to ensure that input has required types of arrays.
virtual void Update(vtkSMProperty *property)
Update self based on the "unchecked" values of all required properties.
proxy for a VTK source on a server
list of integers with associated strings
static vtkSMEnumerationDomain * New()
int range domain based on the number of components available in a particular data array...