ParaView
vtkSMTransferFunctionManager.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMTransferFunctionManager.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 =========================================================================*/
32 #ifndef vtkSMTransferFunctionManager_h
33 #define vtkSMTransferFunctionManager_h
34 
35 #include "vtkPVServerManagerRenderingModule.h" // needed for export macro
36 #include "vtkSMObject.h"
37 
38 class vtkSMProxy;
40 
41 class VTKPVSERVERMANAGERRENDERING_EXPORT vtkSMTransferFunctionManager : public vtkSMObject
42 {
43 public:
46  void PrintSelf(ostream& os, vtkIndent indent);
47 
53  virtual vtkSMProxy* GetColorTransferFunction(
54  const char* arrayName, vtkSMSessionProxyManager* pxm);
55 
62  virtual vtkSMProxy* GetOpacityTransferFunction(
63  const char* arrayName, vtkSMSessionProxyManager* pxm);
64 
71  virtual vtkSMProxy* GetScalarBarRepresentation(
72  vtkSMProxy* colorTransferFunctionProxy, vtkSMProxy* view);
73 
80  void ResetAllTransferFunctionRangesUsingCurrentData(
81  vtkSMSessionProxyManager* pxm, bool extend = false);
82 
84  {
85  HIDE_UNUSED_SCALAR_BARS = 0x01,
86  SHOW_USED_SCALAR_BARS = 0x02
87  };
88 
94  virtual bool UpdateScalarBars(vtkSMProxy* viewProxy, unsigned int mode);
95 
100  virtual bool HideScalarBarIfNotNeeded(vtkSMProxy* lutProxy, vtkSMProxy* view);
101 
102 protected:
105 
106 private:
108  void operator=(const vtkSMTransferFunctionManager&) VTK_DELETE_FUNCTION;
109 };
110 
111 #endif
void PrintSelf(ostream &os, vtkIndent indent)
superclass for most server manager classes
Definition: vtkSMObject.h:31
The vtkSMSessionProxyManager is esponsible for creating and managing proxies for a given session...
manages transfer functions i.e.
static vtkSMObject * New()
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:152