VTK
vtkHiddenLineRemovalPass.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkHiddenLineRemovalPass.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm 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 =========================================================================*/
15 
25 #ifndef vtkHiddenLineRemovalPass_h
26 #define vtkHiddenLineRemovalPass_h
27 
28 #include "vtkRenderingOpenGLModule.h" // For export macro
29 #include "vtkRenderPass.h"
30 
31 #include <vector> // For std::vector!
32 
33 class vtkProp;
34 class vtkViewport;
35 
36 class VTKRENDERINGOPENGL_EXPORT vtkHiddenLineRemovalPass : public vtkRenderPass
37 {
38 public:
39  static vtkHiddenLineRemovalPass* New();
41  virtual void PrintSelf(ostream &os, vtkIndent indent);
42 
43  virtual void Render(const vtkRenderState *s);
44 
48  static bool WireframePropsExist(vtkProp **propArray, int nProps);
49 
50 protected:
52  ~vtkHiddenLineRemovalPass();
53 
54  void SetRepresentation(std::vector<vtkProp*> &props, int repr);
55  int RenderProps(std::vector<vtkProp*> &props, vtkViewport *vp);
56 
57 private:
58  vtkHiddenLineRemovalPass(const vtkHiddenLineRemovalPass&) VTK_DELETE_FUNCTION;
59  void operator=(const vtkHiddenLineRemovalPass&) VTK_DELETE_FUNCTION;
60 };
61 
62 #endif // vtkHiddenLineRemovalPass_h
abstract superclass for all actors, volumes and annotations
Definition: vtkProp.h:50
abstract specification for Viewports
Definition: vtkViewport.h:47
Context in which a vtkRenderPass will render.
a simple class to control print indentation
Definition: vtkIndent.h:39
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:58