vtkSMCinemaDatabaseImporter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMCinemaDatabaseImporter.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 =========================================================================*/
24 #ifndef vtkSMCinemaDatabaseImporter_h
25 #define vtkSMCinemaDatabaseImporter_h
26 
27 #include "vtkSMObject.h"
28 
29 #include "vtkRemotingCinemaModule.h" // for export macros
30 #include <string> // needed for std::string
31 
34 class vtkSMSession;
35 class vtkSMViewProxy;
36 
37 class VTKREMOTINGCINEMA_EXPORT vtkSMCinemaDatabaseImporter : public vtkSMObject
38 {
39 public:
42  void PrintSelf(ostream& os, vtkIndent indent) override;
43 
50  virtual bool SupportsCinema(vtkSMSession* session);
51 
60  virtual bool ImportCinema(
61  const std::string& dbase, vtkSMSession* session, vtkSMViewProxy* view = NULL);
62 
63 protected:
65  ~vtkSMCinemaDatabaseImporter() override;
66 
67  void AddPropertiesForControls(vtkSMSelfGeneratingSourceProxy* reader,
68  const std::string& parametername, const vtkPVCinemaDatabaseInformation* cinfo);
69 
70 private:
72  void operator=(const vtkSMCinemaDatabaseImporter&) = delete;
73 };
74 
75 #endif
source proxy that generates its own proxy definition at run time.
Superclass for all view proxies.
vtkSMSession is the default ParaView session.
Definition: vtkSMSession.h:35
helper to import a Cinema database in ParaView
superclass for most server manager classes
Definition: vtkSMObject.h:29
provides information about a CinemaDatabase.
static vtkSMObject * New()
void PrintSelf(ostream &os, vtkIndent indent) override