Public Types | Public Member Functions | List of all members
vtkMaterialInterfacePieceLoading Class Reference

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...
 

Detailed Description

Data structure that describes a fragment's loading.

Holds its id and its loading factor.

Definition at line 21 of file vtkMaterialInterfacePieceLoading.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ID 
LOADING 
SIZE 

Definition at line 24 of file vtkMaterialInterfacePieceLoading.h.

Constructor & Destructor Documentation

◆ vtkMaterialInterfacePieceLoading()

vtkMaterialInterfacePieceLoading::vtkMaterialInterfacePieceLoading ( )
inline

Definition at line 30 of file vtkMaterialInterfacePieceLoading.h.

◆ ~vtkMaterialInterfacePieceLoading()

vtkMaterialInterfacePieceLoading::~vtkMaterialInterfacePieceLoading ( )
inline

Definition at line 31 of file vtkMaterialInterfacePieceLoading.h.

Member Function Documentation

◆ Initialize()

void vtkMaterialInterfacePieceLoading::Initialize ( int  id,
vtkIdType  loading 
)
inline

Definition at line 32 of file vtkMaterialInterfacePieceLoading.h.

◆ Pack()

void vtkMaterialInterfacePieceLoading::Pack ( vtkIdType buf)
inline

Place into a buffer (id, loading)

Definition at line 41 of file vtkMaterialInterfacePieceLoading.h.

◆ UnPack()

void vtkMaterialInterfacePieceLoading::UnPack ( vtkIdType buf)
inline

Initialize from a buffer (id, loading)

Definition at line 51 of file vtkMaterialInterfacePieceLoading.h.

◆ GetId()

vtkIdType vtkMaterialInterfacePieceLoading::GetId ( ) const
inline

Set/Get.

Definition at line 60 of file vtkMaterialInterfacePieceLoading.h.

◆ GetLoading()

vtkIdType vtkMaterialInterfacePieceLoading::GetLoading ( ) const
inline

Definition at line 61 of file vtkMaterialInterfacePieceLoading.h.

◆ SetLoading()

void vtkMaterialInterfacePieceLoading::SetLoading ( vtkIdType  loading)
inline

Definition at line 62 of file vtkMaterialInterfacePieceLoading.h.

◆ UpdateLoading()

vtkIdType vtkMaterialInterfacePieceLoading::UpdateLoading ( vtkIdType  update)
inline

Adds to loading and returns the updated loading.

Definition at line 67 of file vtkMaterialInterfacePieceLoading.h.

◆ operator<()

bool vtkMaterialInterfacePieceLoading::operator< ( const vtkMaterialInterfacePieceLoading other) const
inline

Comparison are made by id.

Definition at line 77 of file vtkMaterialInterfacePieceLoading.h.

◆ operator==()

bool vtkMaterialInterfacePieceLoading::operator== ( const vtkMaterialInterfacePieceLoading other) const
inline

Comparison are made by id.

Definition at line 81 of file vtkMaterialInterfacePieceLoading.h.


The documentation for this class was generated from the following file: