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 
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
representation for outline.
virtual void SetRepresentation(int)
Set the representation type.
static vtkGeometryRepresentationWithFaces * New()
virtual void SetPickable(int val)
vtkGeometryRepresentationWithFaces extends vtkGeometryRepresentation to add support for rendering bac...
#define VTKREMOTINGVIEWS_EXPORT
void SetSuppressLOD(bool) override
Enable/Disable LOD;.
void SetRepresentation(int) override
Set the representation type.
void PrintSelf(ostream &os, vtkIndent indent) override
void SetRepresentation(const char *) override
Overload to set representation type using string.
virtual void SetUseOutline(int)
virtual void SetSuppressLOD(bool suppress)
Enable/Disable LOD;.