vtkProgressBarSourceRepresentation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkProgressBarSourceRepresentation.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 =========================================================================*/
24 #ifndef vtkProgressBarSourceRepresentation_h
25 #define vtkProgressBarSourceRepresentation_h
26 
28 #include "vtkRemotingViewsModule.h" //needed for exports
29 #include "vtkSmartPointer.h" // for DummyPolyData
30 
32 class vtkPolyData;
33 
35 {
36 public:
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
42 
45  void SetProgressBarWidgetRepresentation(vtk3DWidgetRepresentation* widget);
46  vtkGetObjectMacro(ProgressBarWidgetRepresentation, vtk3DWidgetRepresentation);
48 
52  void SetVisibility(bool) override;
53 
57  void SetInteractivity(bool);
58 
66  vtkInformation* outInfo) override;
67 
68 protected:
71 
75  int FillInputPortInformation(int port, vtkInformation* info) override;
76 
81 
87  bool AddToView(vtkView* view) override;
88 
94  bool RemoveFromView(vtkView* view) override;
95 
98 
99 private:
101  void operator=(const vtkProgressBarSourceRepresentation&) = delete;
102 };
103 
104 #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