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 
64 protected:
66  ~vtkCellGridRepresentation() override;
67 
74  void SetupDefaults() override;
75 
80 
92 
98  bool AddToView(vtkView* view) override;
99 
105  bool RemoveFromView(vtkView* view) override;
106 
110  void UpdateColoringParameters() override;
111 
118  bool NeedsOrderedCompositing() override;
119 
120 #if 0
121 
124  virtual void SetPointArrayToProcess(int p, const char* val);
125 #endif
126 
127 private:
129  void operator=(const vtkCellGridRepresentation&) = delete;
130 };
131 
132 #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.