Data structure that describes a fragment's loading. More...
#include <vtkMaterialInterfacePieceLoading.h>
Public Types | |
enum | { ID = 0, LOADING = 1, SIZE = 2 } |
Public Member Functions | |
vtkMaterialInterfacePieceLoading () | |
~vtkMaterialInterfacePieceLoading () | |
void | Initialize (int id, vtkIdType loading) |
vtkIdType | GetId () const |
Set/Get. More... | |
vtkIdType | GetLoading () const |
void | SetLoading (vtkIdType loading) |
void | Pack (vtkIdType *buf) |
Place into a buffer (id, loading) More... | |
void | UnPack (vtkIdType *buf) |
Initialize from a buffer (id, loading) More... | |
vtkIdType | UpdateLoading (vtkIdType update) |
Adds to loading and returns the updated loading. More... | |
bool | operator< (const vtkMaterialInterfacePieceLoading &other) const |
Comparison are made by id. More... | |
bool | operator== (const vtkMaterialInterfacePieceLoading &other) const |
Comparison are made by id. More... | |
Data structure that describes a fragment's loading.
Holds its id and its loading factor.
Definition at line 21 of file vtkMaterialInterfacePieceLoading.h.
anonymous enum |
Enumerator | |
---|---|
ID | |
LOADING | |
SIZE |
Definition at line 24 of file vtkMaterialInterfacePieceLoading.h.
|
inline |
Definition at line 30 of file vtkMaterialInterfacePieceLoading.h.
|
inline |
Definition at line 31 of file vtkMaterialInterfacePieceLoading.h.
Definition at line 32 of file vtkMaterialInterfacePieceLoading.h.
|
inline |
Place into a buffer (id, loading)
Definition at line 41 of file vtkMaterialInterfacePieceLoading.h.
|
inline |
Initialize from a buffer (id, loading)
Definition at line 51 of file vtkMaterialInterfacePieceLoading.h.
|
inline |
Set/Get.
Definition at line 60 of file vtkMaterialInterfacePieceLoading.h.
|
inline |
Definition at line 61 of file vtkMaterialInterfacePieceLoading.h.
|
inline |
Definition at line 62 of file vtkMaterialInterfacePieceLoading.h.
Adds to loading and returns the updated loading.
Definition at line 67 of file vtkMaterialInterfacePieceLoading.h.
|
inline |
Comparison are made by id.
Definition at line 77 of file vtkMaterialInterfacePieceLoading.h.
|
inline |
Comparison are made by id.
Definition at line 81 of file vtkMaterialInterfacePieceLoading.h.