src
paraview-5.12
Remoting
Export
vtkSMExporterProxy.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-License-Identifier: BSD-3-Clause
11
#ifndef vtkSMExporterProxy_h
12
#define vtkSMExporterProxy_h
13
14
#include "vtkRemotingExportModule.h"
//needed for exports
15
#include "
vtkSMProxy.h
"
16
17
#include <string>
// For storing file extensions
18
#include <vector>
// For storing file extensions
19
20
class
vtkSMViewProxy
;
21
22
class
VTKREMOTINGEXPORT_EXPORT
vtkSMExporterProxy
:
public
vtkSMProxy
23
{
24
public
:
25
vtkTypeMacro(
vtkSMExporterProxy
,
vtkSMProxy
);
26
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
27
29
32
void
SetView(
vtkSMViewProxy
* view);
33
vtkGetObjectMacro(View,
vtkSMViewProxy
);
35
39
virtual
void
Write() = 0;
40
45
virtual
bool
CanExport(
vtkSMProxy
*) = 0;
46
48
51
const
std::vector<std::string>&
GetFileExtensions
()
const
{
return
this->FileExtensions; };
53
54
protected
:
55
vtkSMExporterProxy
();
56
~
vtkSMExporterProxy
()
override
;
60
int
ReadXMLAttributes
(
vtkSMSessionProxyManager
* pm,
vtkPVXMLElement
* element)
override
;
61
62
vtkSMViewProxy
*
View
;
63
std::vector<std::string>
FileExtensions
;
64
65
private
:
66
vtkSMExporterProxy
(
const
vtkSMExporterProxy
&) =
delete
;
67
void
operator=
(
const
vtkSMExporterProxy
&) =
delete
;
68
};
69
70
#endif
vtkSMSessionProxyManager
Definition:
vtkSMSessionProxyManager.h:135
vtkSMExporterProxy
proxy for view exporters.
Definition:
vtkSMExporterProxy.h:22
vtkSMExporterProxy::FileExtensions
std::vector< std::string > FileExtensions
Definition:
vtkSMExporterProxy.h:63
vtkSMProxy
proxy for a VTK object(s) on a server
Definition:
vtkSMProxy.h:140
vtkSMProxy::ReadXMLAttributes
virtual int ReadXMLAttributes(vtkSMSessionProxyManager *pm, vtkPVXMLElement *element)
Read attributes from an XML element.
vtkSMExporterProxy::GetFileExtensions
const std::vector< std::string > & GetFileExtensions() const
Returns the suggested file extensions for this exporter.
Definition:
vtkSMExporterProxy.h:51
vtkSMProxy::operator=
void operator=(const vtkSMProxy &)=delete
vtkIndent
vtkSMViewProxy
Superclass for all view proxies.
Definition:
vtkSMViewProxy.h:42
vtkPVXMLElement
Definition:
vtkPVXMLElement.h:23
vtkSMProxy.h
vtkSMProxy::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkSMExporterProxy::View
vtkSMViewProxy * View
Definition:
vtkSMExporterProxy.h:62
Generated by
1.8.17 on Wed Mar 27 2024