HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GT_VolumeUtil.h File Reference
#include "GT_API.h"
#include "GT_DANumeric.h"
#include "GT_RefineParms.h"
#include <UT/UT_Assert.h>
#include <UT/UT_Task.h>
#include <UT/UT_Vector3.h>
#include <UT/UT_VectorTypes.h>
#include <SYS/SYS_MathCbrt.h>
#include <SYS/SYS_Types.h>
+ Include dependency graph for GT_VolumeUtil.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GT_Vec3ArrayProxy
 
class  GT_CopyTask< DstArrayT, SrcArrayT >
 

Functions

bool GTvolumeNeedResample (int xres, int yres, int zres, const GT_RefineParms *parms, fpreal &scale_factor)
 Utility function for determining whether we should resample volumes in GT. More...
 
template<typename DstArrayT , typename SrcArrayT >
void GTappendCopyTask (UT_TaskList &tasks, DstArrayT &dst, exint dst_start, SrcArrayT &src, exint num_elems)
 Used to create an UT_TaskList of array copy tasks. More...
 
template<typename DstArrayT , typename ThreadChunksT >
void GTmergeThreadChunks (DstArrayT &dst, const ThreadChunksT &chunks)
 Copy all the data in the thread chunks into a the destination. More...
 

Function Documentation

template<typename DstArrayT , typename SrcArrayT >
void GTappendCopyTask ( UT_TaskList tasks,
DstArrayT &  dst,
exint  dst_start,
SrcArrayT &  src,
exint  num_elems 
)

Used to create an UT_TaskList of array copy tasks.

Definition at line 115 of file GT_VolumeUtil.h.

template<typename DstArrayT , typename ThreadChunksT >
void GTmergeThreadChunks ( DstArrayT &  dst,
const ThreadChunksT &  chunks 
)

Copy all the data in the thread chunks into a the destination.

Definition at line 129 of file GT_VolumeUtil.h.

bool GTvolumeNeedResample ( int  xres,
int  yres,
int  zres,
const GT_RefineParms parms,
fpreal scale_factor 
)
inline

Utility function for determining whether we should resample volumes in GT.

Definition at line 28 of file GT_VolumeUtil.h.