ParaView
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 "vtkPVClientServerCoreRenderingModule.h" //needed for exports
28 
29 class VTKPVCLIENTSERVERCORERENDERING_EXPORT vtkOutlineRepresentation
31 {
32 public:
33  static vtkOutlineRepresentation* New();
35  void PrintSelf(ostream& os, vtkIndent indent);
36 
37  virtual void SetRepresentation(const char*) { this->Superclass::SetRepresentation("Wireframe"); }
38  virtual void SetUseOutline(int) { this->Superclass::SetUseOutline(1); }
39  virtual void SetSuppressLOD(bool) { this->Superclass::SetSuppressLOD(true); }
40  virtual void SetPickable(int) { this->Superclass::SetPickable(0); }
41 
42 protected:
45 
46  virtual void SetRepresentation(int) { this->Superclass::SetRepresentation(WIREFRAME); }
47 
48 private:
49  vtkOutlineRepresentation(const vtkOutlineRepresentation&) VTK_DELETE_FUNCTION;
50  void operator=(const vtkOutlineRepresentation&) VTK_DELETE_FUNCTION;
51 };
52 
53 #endif
representation for outline.
virtual void SetRepresentation(int)
Set the representation type.
static vtkGeometryRepresentationWithFaces * New()
virtual void SetPickable(int val)
void PrintSelf(ostream &os, vtkIndent indent)
virtual void SetRepresentation(int)
Set the representation type.
vtkGeometryRepresentationWithFaces extends vtkGeometryRepresentation to add support for rendering bac...
virtual void SetRepresentation(const char *)
Overload to set representation type using string.
virtual void SetSuppressLOD(bool)
Enable/Disable LOD;.
virtual void SetUseOutline(int)
virtual void SetSuppressLOD(bool suppress)
Enable/Disable LOD;.