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 
21 class VTKREMOTINGVIEWS_EXPORT vtkCellGridRepresentation : public vtkGeometryRepresentation
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 
64  int FillInputPortInformation(int port, vtkInformation* info) override;
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
vtkGeometryRepresentation
representation for showing any datasets as external shell of polygons.
Definition: vtkGeometryRepresentation.h:43
vtkGeometryRepresentation::AddToView
bool AddToView(vtkView *view) override
Adds the representation to the view.
vtkGeometryRepresentation::ProcessViewRequest
int ProcessViewRequest(vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo) override
vtkAlgorithm::ProcessRequest() equivalent for rendering passes.
vtkInformationVector
vtkGeometryRepresentation::SetPointArrayToProcess
virtual void SetPointArrayToProcess(int p, const char *val)
Used by SetNormalArray, SetTCoordArray and SetTangentArray.
vtkCellGridRepresentation
representation for rendering surfaces of cell-grid datasets.
Definition: vtkCellGridRepresentation.h:21
vtkCellGridRepresentation::SetSuppressLOD
void SetSuppressLOD(bool vtkNotUsed(suppress)) override
Enable/Disable LOD;.
Definition: vtkCellGridRepresentation.h:47
vtkGeometryRepresentation::SetVisibility
void SetVisibility(bool val) override
Get/Set the visibility for this representation.
vtkGeometryRepresentation::UpdateColoringParameters
virtual void UpdateColoringParameters()
Passes on parameters to vtkProperty and vtkMapper.
vtkGeometryRepresentation::SetupDefaults
virtual void SetupDefaults()
This method is called in the constructor.
vtkView
vtkIndent
vtkGeometryRepresentation::RemoveFromView
bool RemoveFromView(vtkView *view) override
Removes the representation to the view.
vtkInformationRequestKey
vtkGeometryRepresentation::NeedsOrderedCompositing
virtual bool NeedsOrderedCompositing()
Returns true if this representation has translucent geometry.
vtkGeometryRepresentation::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses should override this to connect inputs to the internal pipeline as necessary.
vtkGeometryRepresentation::New
static vtkGeometryRepresentation * New()
vtkInformation
vtkGeometryRepresentation.h
vtkGeometryRepresentation::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkGeometryRepresentation::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill input port information.