vtkOutlineRepresentation.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
11 #ifndef vtkOutlineRepresentation_h
12 #define vtkOutlineRepresentation_h
13 
15 #include "vtkRemotingViewsModule.h" //needed for exports
16 
17 class VTKREMOTINGVIEWS_EXPORT vtkOutlineRepresentation : public vtkGeometryRepresentationWithFaces
18 {
19 public:
20  static vtkOutlineRepresentation* New();
22  void PrintSelf(ostream& os, vtkIndent indent) override;
23 
24  void SetRepresentation(const char*) override { this->Superclass::SetRepresentation("Wireframe"); }
25  void SetUseOutline(int) override { this->Superclass::SetUseOutline(1); }
26  void SetSuppressLOD(bool) override { this->Superclass::SetSuppressLOD(true); }
27  void SetPickable(int) override { this->Superclass::SetPickable(0); }
28 
29 protected:
31  ~vtkOutlineRepresentation() override;
32 
33  void SetRepresentation(int) override { this->Superclass::SetRepresentation(WIREFRAME); }
34 
35 private:
37  void operator=(const vtkOutlineRepresentation&) = delete;
38 };
39 
40 #endif
vtkOutlineRepresentation::SetRepresentation
void SetRepresentation(const char *) override
Overload to set representation type using string.
Definition: vtkOutlineRepresentation.h:24
vtkOutlineRepresentation
representation for outline.
Definition: vtkOutlineRepresentation.h:17
vtkGeometryRepresentationWithFaces::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkGeometryRepresentation::SetUseOutline
virtual void SetUseOutline(int)
vtkOutlineRepresentation::SetRepresentation
void SetRepresentation(int) override
Set the representation type.
Definition: vtkOutlineRepresentation.h:33
vtkGeometryRepresentation::SetRepresentation
virtual void SetRepresentation(int)
Set the representation type.
vtkIndent
vtkGeometryRepresentationWithFaces.h
vtkGeometryRepresentation::SetPickable
virtual void SetPickable(int val)
vtkGeometryRepresentation::SetSuppressLOD
virtual void SetSuppressLOD(bool suppress)
Enable/Disable LOD;.
Definition: vtkGeometryRepresentation.h:78
vtkOutlineRepresentation::SetPickable
void SetPickable(int) override
Definition: vtkOutlineRepresentation.h:27
vtkGeometryRepresentationWithFaces
Definition: vtkGeometryRepresentationWithFaces.h:17
vtkGeometryRepresentationWithFaces::New
static vtkGeometryRepresentationWithFaces * New()
vtkOutlineRepresentation::SetUseOutline
void SetUseOutline(int) override
Definition: vtkOutlineRepresentation.h:25
vtkOutlineRepresentation::SetSuppressLOD
void SetSuppressLOD(bool) override
Enable/Disable LOD;.
Definition: vtkOutlineRepresentation.h:26