Clients
Catalyst
vtkCPCxxHelper.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: ParaView
4
Module: vtkCPCxxHelper.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
=========================================================================*/
15
#ifndef vtkCPCxxHelper_h
16
#define vtkCPCxxHelper_h
17
18
#include "
vtkObject.h
"
19
#include "
vtkPVCatalystModule.h
"
// For windows import/export of shared libraries
20
#include "
vtkSmartPointer.h
"
// needed for vtkSmartPointer.
21
#include "
vtkWeakPointer.h
"
// needed for vtkWeakPointer.
22
23
class
vtkPVOptions
;
24
33
class
VTKPVCATALYST_EXPORT
vtkCPCxxHelper
:
public
vtkObject
34
{
35
public
:
36
static
vtkCPCxxHelper
*
New
();
37
vtkTypeMacro(
vtkCPCxxHelper
,
vtkObject
);
38
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
39
40
protected
:
41
vtkCPCxxHelper
();
42
virtual
~
vtkCPCxxHelper
();
43
44
private
:
45
vtkCPCxxHelper
(
const
vtkCPCxxHelper
&) =
delete
;
46
void
operator=
(
const
vtkCPCxxHelper
&) =
delete
;
47
48
vtkSmartPointer<vtkPVOptions>
Options;
49
51
static
vtkWeakPointer<vtkCPCxxHelper>
Instance;
52
static
bool
ParaViewExternallyInitialized;
53
};
54
55
#endif
vtkObject
vtkPVCatalystModule.h
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
vtkSmartPointer< vtkPVOptions >
vtkIndent
vtkWeakPointer< vtkCPCxxHelper >
vtkCPCxxHelper
Singleton class for initializing without python.
Definition:
vtkCPCxxHelper.h:33
VTKPVCATALYST_EXPORT
#define VTKPVCATALYST_EXPORT
Definition:
vtkPVCatalystModule.h:15
vtkSmartPointer.h
vtkWeakPointer.h
vtkPVOptions
ParaView options storage.
Definition:
vtkPVOptions.h:37
vtkObject::New
static vtkObject * New()
vtkObject.h
vtkObjectBase::operator=
void operator=(const vtkObjectBase &)
Generated by
1.8.13 on Tue May 18 2021