vtkPVImageChartRepresentation.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
14 #ifndef vtkPVImageChartRepresentation_h
15 #define vtkPVImageChartRepresentation_h
16 
17 #include "vtkChartRepresentation.h"
18 #include "vtkSmartPointer.h"
19 
21 class vtkScalarsToColors;
22 class vtkView;
23 
25 {
26 public:
29  void PrintSelf(ostream& os, vtkIndent indent) override;
30 
34  void SetVisibility(bool visible) override;
35 
39  vtkChartHistogram2D* GetChart();
40 
44  void SetLookupTable(vtkScalarsToColors* lut);
45 
46 protected:
49 
50  void PrepareForRendering() override;
51  bool RemoveFromView(vtkView* view) override;
52 
58 
59 private:
61  void operator=(const vtkPVImageChartRepresentation&) = delete;
62 
64 };
65 
66 #endif
Representation for the "Image Chart View".
static vtkChartRepresentation * New()
virtual void PrepareForRendering()
This method is called before actual render if this->MTime was modified since the last time this metho...
#define VTKREMOTINGVIEWS_EXPORT
void SetVisibility(bool visible) override
Set visibility of the representation.
vtkChartRepresentation is the base representation for charting representations.
void PrintSelf(ostream &os, vtkIndent indent) override
virtual vtkSmartPointer< vtkDataObject > ReduceDataToRoot(vtkDataObject *data)
Chart representation/views expect that the data is reduced to root node and then passed on the render...
bool RemoveFromView(vtkView *view) override
Removes the representation to the view.