VTKExtensions
FiltersMaterialInterface
vtkMaterialInterfaceIdList.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: $RCSfile$
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm 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
=========================================================================*/
25
#ifndef vtkMaterialInterfaceIdList_h
26
#define vtkMaterialInterfaceIdList_h
27
28
#include "
vtkMaterialInterfaceIdListItem.h
"
29
#include "
vtkPVVTKExtensionsFiltersMaterialInterfaceModule.h
"
//needed for exports
30
31
#include <vector>
// needed for Initialize method
32
33
class
VTKPVVTKEXTENSIONSFILTERSMATERIALINTERFACE_EXPORT
vtkMaterialInterfaceIdList
34
{
35
public
:
36
vtkMaterialInterfaceIdList
();
37
~
vtkMaterialInterfaceIdList
();
41
void
Clear();
46
void
Initialize(
const
std::vector<int>& ids,
bool
preSorted =
false
);
48
52
int
GetLocalId(
int
globalId);
53
54
private
:
55
bool
IsInitialized;
56
class
IdListContainer;
57
IdListContainer* IdList;
58
};
59
#endif
60
61
62
// VTK-HeaderTest-Exclude: vtkMaterialInterfaceIdList.h
VTKPVVTKEXTENSIONSFILTERSMATERIALINTERFACE_EXPORT
#define VTKPVVTKEXTENSIONSFILTERSMATERIALINTERFACE_EXPORT
Definition:
vtkPVVTKExtensionsFiltersMaterialInterfaceModule.h:15
vtkMaterialInterfaceIdList
Class that facilitates efficient operation on lists fragment ids.
Definition:
vtkMaterialInterfaceIdList.h:33
vtkMaterialInterfaceIdListItem.h
vtkPVVTKExtensionsFiltersMaterialInterfaceModule.h
Generated by
1.8.13 on Wed Jan 27 2021