vtkProgressBarSourceRepresentation.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
12 #ifndef vtkProgressBarSourceRepresentation_h
13 #define vtkProgressBarSourceRepresentation_h
14 
16 #include "vtkRemotingViewsModule.h" //needed for exports
17 #include "vtkSmartPointer.h" // for DummyPolyData
18 
20 class vtkPolyData;
21 
23 {
24 public:
27  void PrintSelf(ostream& os, vtkIndent indent) override;
28 
30 
33  void SetProgressBarWidgetRepresentation(vtk3DWidgetRepresentation* widget);
34  vtkGetObjectMacro(ProgressBarWidgetRepresentation, vtk3DWidgetRepresentation);
36 
40  void SetVisibility(bool) override;
41 
45  void SetInteractivity(bool);
46 
54  vtkInformation* outInfo) override;
55 
56 protected:
59 
63  int FillInputPortInformation(int port, vtkInformation* info) override;
64 
69 
75  bool AddToView(vtkView* view) override;
76 
82  bool RemoveFromView(vtkView* view) override;
83 
86 
87 private:
89  void operator=(const vtkProgressBarSourceRepresentation&) = delete;
90 };
91 
92 #endif
#define VTKREMOTINGVIEWS_EXPORT
vtkPVDataRepresentation adds some ParaView specific API to data representations.
bool AddToView(vtkView *view) override
Making these methods public.
vtk3DWidgetRepresentation * ProgressBarWidgetRepresentation
virtual void SetVisibility(bool val)
Get/Set the visibility for this representation.
virtual int ProcessViewRequest(vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo)
vtkAlgorithm::ProcessRequest() equivalent for rendering passes.
virtual int FillInputPortInformation(int port, vtkInformation *info)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Overridden to invoke vtkCommand::UpdateDataEvent.
vtkProgressBarSourceRepresentation is a representation to show ProgressBar.
vtk3DWidgetRepresentation is a vtkDataRepresentation subclass for 3D widgets and their representation...
bool RemoveFromView(vtkView *view) override
Making these methods public.
static vtkDataRepresentation * New()
void PrintSelf(ostream &os, vtkIndent indent) override