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 
52  void SetSidesToShow(int flags);
53 
57  void SetPreserveRenderableInputs(bool shouldPreserve);
58 
62  void SetOmitSidesForRenderableInputs(bool shouldOmit);
63 
71  void SetSidesStrategy(int strategy);
72 
73 protected:
75  ~vtkCellGridRepresentation() override;
76 
83  void SetupDefaults() override;
84 
89 
101 
107  bool AddToView(vtkView* view) override;
108 
114  bool RemoveFromView(vtkView* view) override;
115 
119  void UpdateColoringParameters() override;
120 
127  bool NeedsOrderedCompositing() override;
128 
129 #if 0
130 
133  virtual void SetPointArrayToProcess(int p, const char* val);
134 #endif
135 
136 private:
138  void operator=(const vtkCellGridRepresentation&) = delete;
139 };
140 
141 #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.