VTK  9.3.20240425
Public Member Functions | Static Public Member Functions | List of all members
vtkPixelTransfer Class Reference

pixel extents More...

#include <vtkPixelTransfer.h>

Inheritance diagram for vtkPixelTransfer:
[legend]

Public Member Functions

 vtkPixelTransfer ()=default
 

Static Public Member Functions

static int Blit (const vtkPixelExtent &ext, int nComps, int srcType, void *srcData, int destType, void *destData)
 for memory to memory transfers.
 
static int Blit (const vtkPixelExtent &srcWhole, const vtkPixelExtent &srcSubset, const vtkPixelExtent &destWhole, const vtkPixelExtent &destSubset, int nSrcComps, int srcType, void *srcData, int nDestComps, int destType, void *destData)
 for memory to memory transfers.
 
template<typename SOURCE_TYPE , typename DEST_TYPE >
static int Blit (const vtkPixelExtent &srcWhole, const vtkPixelExtent &srcSubset, const vtkPixelExtent &destWhole, const vtkPixelExtent &destSubset, int nSrcComps, SOURCE_TYPE *srcData, int nDestComps, DEST_TYPE *destData)
 for local memory to memory transfers
 

Detailed Description

pixel extents

Class to handle non-contiguous data transfers of data described by pixel extents within a process. For transferring data between processes see vtkPPixelTransfer.

See also
vtkPixelExtent vtkPPixelTransfer
Tests:
vtkPixelTransfer (Tests)

Definition at line 28 of file vtkPixelTransfer.h.

Constructor & Destructor Documentation

◆ vtkPixelTransfer()

vtkPixelTransfer::vtkPixelTransfer ( )
default

Member Function Documentation

◆ Blit() [1/3]

int vtkPixelTransfer::Blit ( const vtkPixelExtent ext,
int  nComps,
int  srcType,
void *  srcData,
int  destType,
void *  destData 
)
inlinestatic

for memory to memory transfers.

Convenience api for working with vtk type enum rather than c-data types and simple extents.

Definition at line 65 of file vtkPixelTransfer.h.

◆ Blit() [2/3]

static int vtkPixelTransfer::Blit ( const vtkPixelExtent srcWhole,
const vtkPixelExtent srcSubset,
const vtkPixelExtent destWhole,
const vtkPixelExtent destSubset,
int  nSrcComps,
int  srcType,
void *  srcData,
int  nDestComps,
int  destType,
void *  destData 
)
static

for memory to memory transfers.

Convenience api for working with vtk type enum rather than c-data types.

◆ Blit() [3/3]

template<typename SOURCE_TYPE , typename DEST_TYPE >
int vtkPixelTransfer::Blit ( const vtkPixelExtent srcWhole,
const vtkPixelExtent srcSubset,
const vtkPixelExtent destWhole,
const vtkPixelExtent destSubset,
int  nSrcComps,
SOURCE_TYPE *  srcData,
int  nDestComps,
DEST_TYPE *  destData 
)
static

for local memory to memory transfers

Definition at line 89 of file vtkPixelTransfer.h.


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