VTKExtensions
FiltersMaterialInterface
vtkMaterialInterfaceIdList.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
3
// SPDX-License-Identifier: BSD-3-Clause
14
#ifndef vtkMaterialInterfaceIdList_h
15
#define vtkMaterialInterfaceIdList_h
16
17
#include "
vtkMaterialInterfaceIdListItem.h
"
18
#include "
vtkPVVTKExtensionsFiltersMaterialInterfaceModule.h
"
//needed for exports
19
20
#include <vector>
// needed for Initialize method
21
22
class
VTKPVVTKEXTENSIONSFILTERSMATERIALINTERFACE_EXPORT
vtkMaterialInterfaceIdList
23
{
24
public
:
25
vtkMaterialInterfaceIdList
();
26
~
vtkMaterialInterfaceIdList
();
30
void
Clear();
35
void
Initialize(
const
std::vector<int>& ids,
bool
preSorted =
false
);
37
41
int
GetLocalId(
int
globalId);
42
43
private
:
44
bool
IsInitialized;
45
class
IdListContainer;
46
IdListContainer* IdList;
47
};
48
#endif
49
VTKPVVTKEXTENSIONSFILTERSMATERIALINTERFACE_EXPORT
#define VTKPVVTKEXTENSIONSFILTERSMATERIALINTERFACE_EXPORT
Definition:
vtkPVVTKExtensionsFiltersMaterialInterfaceModule.h:15
vtkMaterialInterfaceIdList
Class that facilitates efficient operation on lists fragment ids.
Definition:
vtkMaterialInterfaceIdList.h:22
vtkMaterialInterfaceIdListItem.h
vtkPVVTKExtensionsFiltersMaterialInterfaceModule.h
Generated by
1.8.13 on Tue Oct 1 2024