4 #ifndef vtkMaterialInterfaceCommBuffer_h 5 #define vtkMaterialInterfaceCommBuffer_h 41 void Initialize(
int procId,
int nBlocks,
vtkIdType nBytes);
44 void SizeHeader(
int nBlocks);
47 static void SizeHeader(std::vector<vtkMaterialInterfaceCommBuffer>& buffers,
int nBlocks);
79 int idx = DESCR_BASE + blockId;
80 this->Header[idx] = nFragments;
86 int idx = DESCR_BASE + blockId;
87 return this->Header[idx];
102 int UnPack(
double*& rData,
int nComps,
vtkIdType nTups,
bool copyFlag);
103 int UnPack(
float*& rData,
int nComps,
vtkIdType nTups,
bool copyFlag);
104 int UnPack(
int*& rData,
int nComps,
vtkIdType nTups,
bool copyFlag);
#define VTKPVVTKEXTENSIONSFILTERSMATERIALINTERFACE_EXPORT
int GetHeaderSize() const
vtkIdType GetBufferSize() const
void SetNumberOfTuples(int blockId, vtkIdType nFragments)
vtkIdType * GetHeader() const
vtkIdType GetNumberOfTuples(int blockId) const