vtkFeatureEdgesRepresentation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkFeatureEdgesRepresentation.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 vtkFeatureEdgesRepresentation_h
24 #define vtkFeatureEdgesRepresentation_h
25 
27 #include "vtkRemotingViewsModule.h" //needed for exports
28 
31 {
32 public:
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
37  void SetRepresentation(const char*) override { this->Superclass::SetRepresentation("Wireframe"); }
38  void SetUseOutline(int) override { this->Superclass::SetUseOutline(0); }
39  void SetSuppressLOD(bool) override { this->Superclass::SetSuppressLOD(true); }
40  void SetPickable(int) override { this->Superclass::SetPickable(0); }
41  void SetGenerateFeatureEdges(bool) override { this->Superclass::SetGenerateFeatureEdges(true); }
42 
43 protected:
46 
47  void SetRepresentation(int) override { this->Superclass::SetRepresentation(WIREFRAME); }
48 
49 private:
51  void operator=(const vtkFeatureEdgesRepresentation&) = delete;
52 };
53 
54 #endif
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 PrintSelf(ostream &os, vtkIndent indent) override
virtual void SetGenerateFeatureEdges(bool)
void SetRepresentation(int) override
Set the representation type.
virtual void SetUseOutline(int)
void SetSuppressLOD(bool) override
Enable/Disable LOD;.
void SetRepresentation(const char *) override
Overload to set representation type using string.
virtual void SetSuppressLOD(bool suppress)
Enable/Disable LOD;.
representation for feature edges.