vtkPVRenderViewSettings.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVRenderViewSettings.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 =========================================================================*/
26 #ifndef vtkPVRenderViewSettings_h
27 #define vtkPVRenderViewSettings_h
28 
29 #include "vtkObject.h"
30 #include "vtkRemotingViewsModule.h" //needed for exports
31 #include "vtkSmartPointer.h" // needed for vtkSmartPointer
32 
34 {
35 public:
36  static vtkPVRenderViewSettings* New();
38  void PrintSelf(ostream& os, vtkIndent indent) override;
39 
43  static vtkPVRenderViewSettings* GetInstance();
44 
45  enum
46  {
47  DO_NOTHING = 0,
48  OFFSET_FACES = 1,
49  OFFSET_LINES_AND_VERTS = 2,
50  ZSHIFT = 3
51  };
52 
54 
57  void SetResolveCoincidentTopology(int mode);
58  void SetPolygonOffsetParameters(double factor, double units);
59  void SetLineOffsetParameters(double factor, double units);
60  void SetPointOffsetParameter(double units);
61  void SetZShift(double a);
63 
65 
69  vtkSetMacro(OutlineThreshold, vtkIdType);
70  vtkGetMacro(OutlineThreshold, vtkIdType);
72 
73  enum
74  {
75  AUTOMATIC = 0,
76  ALWAYS_2D = 1,
77  ALWAYS_3D = 2
78  };
80 
83  vtkSetMacro(DefaultInteractionMode, int);
84  vtkGetMacro(DefaultInteractionMode, int);
86 
88 
93  vtkSetMacro(PointPickingRadius, int);
94  vtkGetMacro(PointPickingRadius, int);
96 
98 
101  vtkSetMacro(DisableIceT, bool);
102  vtkGetMacro(DisableIceT, bool);
104 
106 
112  vtkSetMacro(EnableFastPreselection, bool);
113  vtkGetMacro(EnableFastPreselection, bool);
115 
116 protected:
118  ~vtkPVRenderViewSettings() override;
119 
125 
126 private:
128  void operator=(const vtkPVRenderViewSettings&) = delete;
129 
131 };
132 
133 #endif
#define VTKREMOTINGVIEWS_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
int vtkIdType
singleton used to keep track of options for vtkPVRenderView.
static vtkObject * New()
void operator=(const vtkObjectBase &)