vtkCellGridRepresentation.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
16 #ifndef vtkCellGridRepresentation_h
17 #define vtkCellGridRepresentation_h
18 
20 
22 {
23 
24 public:
27  void PrintSelf(ostream& os, vtkIndent indent) override;
28 
36  vtkInformation* outInfo) override;
37 
42  void SetVisibility(bool val) override;
43 
47  void SetSuppressLOD(bool vtkNotUsed(suppress)) override {} // We do not support LOD yet.
48 
49 protected:
51  ~vtkCellGridRepresentation() override;
52 
59  void SetupDefaults() override;
60 
65 
77 
83  bool AddToView(vtkView* view) override;
84 
90  bool RemoveFromView(vtkView* view) override;
91 
95  void UpdateColoringParameters() override;
96 
103  bool NeedsOrderedCompositing() override;
104 
105 #if 0
106 
109  virtual void SetPointArrayToProcess(int p, const char* val);
110 #endif
111 
112 private:
114  void operator=(const vtkCellGridRepresentation&) = delete;
115 };
116 
117 #endif
int ProcessViewRequest(vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo) override
vtkAlgorithm::ProcessRequest() equivalent for rendering passes.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill input port information.
virtual void SetupDefaults()
This method is called in the constructor.
#define VTKREMOTINGVIEWS_EXPORT
info
representation for rendering surfaces of cell-grid datasets.
void SetSuppressLOD(bool vtkNotUsed(suppress)) override
Enable/Disable LOD;.
representation for showing any datasets as external shell of polygons.
static vtkGeometryRepresentation * New()
void SetVisibility(bool val) override
Get/Set the visibility for this representation.
virtual void UpdateColoringParameters()
Passes on parameters to vtkProperty and vtkMapper.
virtual void SetPointArrayToProcess(int p, const char *val)
Used by SetNormalArray, SetTCoordArray and SetTangentArray.
bool AddToView(vtkView *view) override
Adds the representation to the view.
bool RemoveFromView(vtkView *view) override
Removes the representation to the view.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses should override this to connect inputs to the internal pipeline as necessary.
void PrintSelf(ostream &os, vtkIndent indent) override
port
virtual bool NeedsOrderedCompositing()
Returns true if this representation has translucent geometry.