vtkLogoSourceRepresentation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkLogoSourceRepresentation.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 =========================================================================*/
22 #ifndef vtkLogoSourceRepresentation_h
23 #define vtkLogoSourceRepresentation_h
24 
25 #include "vtkNew.h" // for vtkNew
27 #include "vtkRemotingViewsModule.h" //needed for exports
28 
30 class vtkImageData;
32 {
33 public:
36  void PrintSelf(ostream& os, vtkIndent indent) override;
37 
39 
42  void SetLogoWidgetRepresentation(vtk3DWidgetRepresentation* widget);
43  vtkGetObjectMacro(LogoWidgetRepresentation, vtk3DWidgetRepresentation);
45 
49  void SetVisibility(bool) override;
50 
54  void SetInteractivity(bool);
55 
57 
60  vtkSetMacro(Opacity, double);
61  vtkGetMacro(Opacity, double);
63 
71  vtkInformation* outInfo) override;
72 
73 protected:
75  ~vtkLogoSourceRepresentation() override;
76 
80  int FillInputPortInformation(int port, vtkInformation* info) override;
81 
86 
92  bool AddToView(vtkView* view) override;
93 
99  bool RemoveFromView(vtkView* view) override;
100 
102  vtk3DWidgetRepresentation* LogoWidgetRepresentation = nullptr;
103  double Opacity = 1.0;
104 
105 private:
107  void operator=(const vtkLogoSourceRepresentation&) = delete;
108 };
109 
110 #endif
#define VTKREMOTINGVIEWS_EXPORT
vtkPVDataRepresentation adds some ParaView specific API to data representations.
vtkLogoSourceRepresentation is a representation to show a Logo.
bool AddToView(vtkView *view) override
Making these methods public.
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.
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