/usr/include/paraview/vtkSMContextViewProxy.h is in paraview-dev 4.0.1-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 | /*=========================================================================
Program: ParaView
Module: vtkSMContextViewProxy.h
Copyright (c) Kitware, Inc.
All rights reserved.
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
// .NAME vtkSMContextViewProxy - abstract base class for all Chart Views.
// .SECTION Description
// vtkSMContextViewProxy is an abstract base class for all vtkContextView
// subclasses.
#ifndef __vtkSMContextViewProxy_h
#define __vtkSMContextViewProxy_h
#include "vtkPVServerManagerRenderingModule.h" //needed for exports
#include "vtkSMViewProxy.h"
class vtkAbstractContextItem;
class vtkContextView;
class vtkImageData;
class vtkRenderWindow;
class VTKPVSERVERMANAGERRENDERING_EXPORT vtkSMContextViewProxy : public vtkSMViewProxy
{
public:
static vtkSMContextViewProxy* New();
vtkTypeMacro(vtkSMContextViewProxy, vtkSMViewProxy);
void PrintSelf(ostream& os, vtkIndent indent);
//BTX
// Description:
// Provides access to the vtk chart view.
vtkContextView* GetContextView();
// Description:
// Provides access to the vtk chart.
virtual vtkAbstractContextItem* GetContextItem();
//ETX
// Description:
// Resets the zoom level to 100%
virtual void ResetDisplay();
// Description:
// Return the render window from which offscreen rendering and interactor can
// be accessed
virtual vtkRenderWindow* GetRenderWindow();
//BTX
protected:
vtkSMContextViewProxy();
~vtkSMContextViewProxy();
// Description:
// Subclasses should override this method to do the actual image capture.
virtual vtkImageData* CaptureWindowInternal(int magnification);
// Description:
virtual void CreateVTKObjects();
// Description:
// Used to update the axis range properties on each interaction event.
// This also fires the vtkCommand::InteractionEvent.
void OnInteractionEvent();
// Description:
// The context view that is used for all context derived charts.
vtkContextView* ChartView;
private:
vtkSMContextViewProxy(const vtkSMContextViewProxy&); // Not implemented
void operator=(const vtkSMContextViewProxy&); // Not implemented
// Description:
// Copies axis ranges from each of the vtkAxis on the vtkChartXY to the
// SMproperties.
void CopyAxisRangesFromChart();
//ETX
};
#endif
|