vtkSMRepresentedArrayListDomain.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
18 #ifndef vtkSMRepresentedArrayListDomain_h
19 #define vtkSMRepresentedArrayListDomain_h
20 
21 #include "vtkRemotingViewsModule.h" //needed for exports
22 #include "vtkSMArrayListDomain.h"
23 #include "vtkWeakPointer.h" // needed for vtkWeakPointer.
24 
27 {
28 public:
31  void PrintSelf(ostream& os, vtkIndent indent) override;
32 
36  void Update(vtkSMProperty*) override;
37 
39 
50  vtkGetMacro(UseTrueParentForRepresentatedDataInformation, bool);
52 
53 protected:
56 
60  int ReadXMLAttributes(vtkSMProperty* prop, vtkPVXMLElement* elem) override;
61 
68  bool IsFilteredArray(vtkPVDataInformation* info, int association, const char* arrayName) override;
69 
76 
77  void SetRepresentationProxy(vtkSMRepresentationProxy*);
78  void OnRepresentationDataUpdated();
79 
81  unsigned long ObserverId;
82 
83  vtkSetMacro(UseTrueParentForRepresentatedDataInformation, bool);
85 
86 private:
88  void operator=(const vtkSMRepresentedArrayListDomain&) = delete;
89 };
90 
91 #endif
Proxy for a representations.
void Update(vtkSMProperty *prop) override
Updates the string list based on the available arrays.
virtual vtkPVDataInformation * GetExtraDataInformation()
HACK: Provides a temporary mechanism for subclasses to provide an "additional" vtkPVDataInformation i...
int ReadXMLAttributes(vtkSMProperty *prop, vtkPVXMLElement *element) override
Set the appropriate ivars from the xml element.
provides meta data about a vtkDataObject subclass.
#define VTKREMOTINGVIEWS_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) override
superclass for all SM properties
extends vtkSMArrayListDomain to add support for arrays from represented data information.
vtkWeakPointer< vtkSMRepresentationProxy > RepresentationProxy
static vtkSMArrayListDomain * New()
virtual bool IsFilteredArray(vtkPVDataInformation *info, int association, const char *arrayName)
Returns true if an array should be filtered out.
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
list of arrays obtained from input