You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nmWTAI-Platform/3rd/VTK7.1/source/VTK-7.1.1/Common/DataModel/vtkPixelTransfer.cxx

33 lines
777 B
C++

#include "vtkPixelTransfer.h"
//-----------------------------------------------------------------------------
int vtkPixelTransfer::Blit(
const vtkPixelExtent &srcWholeExt,
const vtkPixelExtent &srcExt,
const vtkPixelExtent &destWholeExt,
const vtkPixelExtent &destExt,
int nSrcComps,
int srcType,
void *srcData,
int nDestComps,
int destType,
void *destData)
{
// first layer of dispatch
switch(srcType)
{
vtkTemplateMacro(
return vtkPixelTransfer::Blit(
srcWholeExt,
srcExt,
destWholeExt,
destExt,
nSrcComps,
(VTK_TT*)srcData,
nDestComps,
destType,
destData));
}
return 0;
}