vtkOutlineRepresentation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkOutlineRepresentation.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
23 #ifndef vtkOutlineRepresentation_h
24 #define vtkOutlineRepresentation_h
25 
27 #include "vtkRemotingViewsModule.h" //needed for exports
28 
30 {
31 public:
32  static vtkOutlineRepresentation* New();
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
36  void SetRepresentation(const char*) override { this->Superclass::SetRepresentation("Wireframe"); }
37  void SetUseOutline(int) override { this->Superclass::SetUseOutline(1); }
38  void SetSuppressLOD(bool) override { this->Superclass::SetSuppressLOD(true); }
39  void SetPickable(int) override { this->Superclass::SetPickable(0); }
40 
41 protected:
43  ~vtkOutlineRepresentation() override;
44 
45  void SetRepresentation(int) override { this->Superclass::SetRepresentation(WIREFRAME); }
46 
47 private:
49  void operator=(const vtkOutlineRepresentation&) = delete;
50 };
51 
52 #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;.