Remoting
Views
vtkSMMaterialLibraryProxy.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-License-Identifier: BSD-3-Clause
12
#ifndef vtkSMMaterialLibraryProxy_h
13
#define vtkSMMaterialLibraryProxy_h
14
15
#include "
vtkPVSession.h
"
16
#include "
vtkRemotingViewsModule.h
"
//needed for exports
17
#include "
vtkSMProxy.h
"
18
19
class
VTKREMOTINGVIEWS_EXPORT
vtkSMMaterialLibraryProxy
:
public
vtkSMProxy
20
{
21
public
:
22
static
vtkSMMaterialLibraryProxy
*
New
();
23
vtkTypeMacro(
vtkSMMaterialLibraryProxy
,
vtkSMProxy
);
24
29
void
Synchronize(
vtkPVSession::ServerFlags
from =
vtkPVSession::RENDER_SERVER_ROOT
,
30
vtkPVSession::ServerFlags
to =
vtkPVSession::CLIENT
);
31
35
void
LoadDefaultMaterials();
36
40
void
LoadMaterials(
const
char
*);
41
45
void
UpdateVTKObjects
()
override
;
46
47
protected
:
48
vtkSMMaterialLibraryProxy
() =
default
;
49
~
vtkSMMaterialLibraryProxy
()
override
=
default
;
50
51
private
:
52
vtkSMMaterialLibraryProxy
(
const
vtkSMMaterialLibraryProxy
&) =
delete
;
53
void
operator=
(
const
vtkSMMaterialLibraryProxy
&) =
delete
;
54
bool
DefaultMaterialsLoaded =
false
;
55
};
56
57
#endif
vtkPVSession::CLIENT
Definition:
vtkPVSession.h:37
VTKREMOTINGVIEWS_EXPORT
#define VTKREMOTINGVIEWS_EXPORT
Definition:
vtkRemotingViewsModule.h:15
vtkPVSession::ServerFlags
ServerFlags
Definition:
vtkPVSession.h:29
vtkSMProxy::UpdateVTKObjects
virtual void UpdateVTKObjects()
Update the VTK object on the server by pushing the values of all modified properties (un-modified pro...
vtkSMProxy::New
static vtkSMProxy * New()
vtkSMProxy
proxy for a VTK object(s) on a server
Definition:
vtkSMProxy.h:140
vtkRemotingViewsModule.h
vtkSMProxy::operator=
void operator=(const vtkSMProxy &)=delete
vtkPVSession::RENDER_SERVER_ROOT
Definition:
vtkPVSession.h:35
vtkSMProxy.h
vtkSMMaterialLibraryProxy
proxy for a camera.
Definition:
vtkSMMaterialLibraryProxy.h:19
vtkPVSession.h
Generated by
1.8.13 on Tue Oct 1 2024