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 
22 class VTKREMOTINGVIEWS_EXPORT vtkProgressBarSourceRepresentation : public vtkPVDataRepresentation
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
vtkDataRepresentation::New
static vtkDataRepresentation * New()
vtkProgressBarSourceRepresentation
Definition: vtkProgressBarSourceRepresentation.h:22
vtkPVDataRepresentation.h
vtkInformationVector
vtkPVDataRepresentation::AddToView
bool AddToView(vtkView *view) override
Making these methods public.
vtkSmartPointer< vtkPolyData >
vtkPVDataRepresentation::SetVisibility
virtual void SetVisibility(bool val)
Get/Set the visibility for this representation.
Definition: vtkPVDataRepresentation.h:89
vtkPVDataRepresentation::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Overridden to invoke vtkCommand::UpdateDataEvent.
vtkPVDataRepresentation::RemoveFromView
bool RemoveFromView(vtkView *view) override
Making these methods public.
vtkPassInputTypeAlgorithm::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkView
vtkIndent
vtkPVDataRepresentation::ProcessViewRequest
virtual int ProcessViewRequest(vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo)
vtkAlgorithm::ProcessRequest() equivalent for rendering passes.
vtkSmartPointer.h
vtkInformationRequestKey
vtk3DWidgetRepresentation
Definition: vtk3DWidgetRepresentation.h:22
vtkInformation
vtkPVDataRepresentation::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkProgressBarSourceRepresentation::DummyPolyData
vtkSmartPointer< vtkPolyData > DummyPolyData
Definition: vtkProgressBarSourceRepresentation.h:84
vtkPolyData
vtkPVDataRepresentation
Definition: vtkPVDataRepresentation.h:23
vtkProgressBarSourceRepresentation::ProgressBarWidgetRepresentation
vtk3DWidgetRepresentation * ProgressBarWidgetRepresentation
Definition: vtkProgressBarSourceRepresentation.h:85