src
paraview-5.12
Remoting
Views
vtkPVMaterialLibrary.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-License-Identifier: BSD-3-Clause
14
#ifndef vtkPVMaterialLibrary_h
15
#define vtkPVMaterialLibrary_h
16
17
#include "vtkRemotingViewsModule.h"
//needed for exports
18
19
#include "
vtkObject.h
"
20
#include <string>
//for std::string
21
22
class
VTKREMOTINGVIEWS_EXPORT
vtkPVMaterialLibrary
:
public
vtkObject
23
{
24
public
:
25
static
vtkPVMaterialLibrary
*
New
();
26
vtkTypeMacro(
vtkPVMaterialLibrary
,
vtkObject
);
27
28
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
34
void
ReadRelativeFile(
const
char
* FileName);
35
41
vtkGetStringMacro(SearchPaths);
42
47
vtkObject
* GetMaterialLibrary();
48
52
bool
ReadFile(
const
char
* FileName);
56
const
char
* WriteBuffer();
57
void
WriteFile(
const
std::string& filename);
61
bool
ReadBuffer(
const
char
*);
62
63
protected
:
64
vtkPVMaterialLibrary
();
65
~
vtkPVMaterialLibrary
()
override
;
66
67
vtkSetStringMacro(SearchPaths);
68
69
char
*
SearchPaths
;
70
71
vtkObject
*
MaterialLibrary
;
72
73
private
:
74
vtkPVMaterialLibrary
(
const
vtkPVMaterialLibrary
&) =
delete
;
75
void
operator=
(
const
vtkPVMaterialLibrary
&) =
delete
;
76
};
77
78
#endif
vtkObjectBase::operator=
void operator=(const vtkObjectBase &)
vtkPVMaterialLibrary::SearchPaths
char * SearchPaths
Definition:
vtkPVMaterialLibrary.h:67
vtkPVMaterialLibrary::MaterialLibrary
vtkObject * MaterialLibrary
Definition:
vtkPVMaterialLibrary.h:71
vtkObject::New
static vtkObject * New()
vtkObject
vtkPVMaterialLibrary
manages visual material definitions
Definition:
vtkPVMaterialLibrary.h:22
vtkIndent
vtkObject.h
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Generated by
1.8.17 on Wed Mar 27 2024