SIM/SIM_FieldUtils.h File Reference

#include <GU/GU_Types.h>

Go to the source code of this file.

Functions

template<typename FIELDTYPE >
bool SIMfieldUtilsComputeSliceWithBorder (const FIELDTYPE *field, const UT_Vector3 &totaldiv, UT_Vector3 overlapneg, UT_Vector3 overlappos, int slicenum, UT_Vector3 &minvxl, UT_Vector3 &maxvxl)
template<typename FIELDTYPE >
bool SIMfieldUtilsComputeSlice (const FIELDTYPE *field, const UT_Vector3 &totaldiv, int slicenum, UT_Vector3 &minvxl, UT_Vector3 &maxvxl)
template<typename FIELDTYPE >
bool SIMfieldUtilsGetSliceBorder (const FIELDTYPE *field, int a_slice, int b_slice, UT_Vector3 &minvxl, UT_Vector3 &maxvxl)
template<typename FIELDTYPE >
UT_Vector3 SIMfieldUtilsGetDivisionsNoSlice (const FIELDTYPE *field)
template<typename FIELDTYPE >
UT_Vector3 SIMfieldUtilsGetDivisions (const FIELDTYPE *field)
template<typename FIELDTYPE >
UT_Vector3 SIMfieldUtilsGetSizeNoSlice (const FIELDTYPE *field)
template<typename FIELDTYPE >
UT_Vector3 SIMfieldUtilsGetSize (const FIELDTYPE *field)
template<typename FIELDTYPE >
UT_Vector3 SIMfieldUtilsGetCenter (const FIELDTYPE *field)
template<typename FIELDTYPE , typename F2 >
void SIMfieldUtilsMatch (FIELDTYPE *field, const F2 *srcfield)


Function Documentation

template<typename FIELDTYPE >
bool SIMfieldUtilsComputeSlice ( const FIELDTYPE *  field,
const UT_Vector3 totaldiv,
int  slicenum,
UT_Vector3 minvxl,
UT_Vector3 maxvxl 
) [inline]

Definition at line 109 of file SIM_FieldUtils.h.

template<typename FIELDTYPE >
bool SIMfieldUtilsComputeSliceWithBorder ( const FIELDTYPE *  field,
const UT_Vector3 totaldiv,
UT_Vector3  overlapneg,
UT_Vector3  overlappos,
int  slicenum,
UT_Vector3 minvxl,
UT_Vector3 maxvxl 
) [inline]

Returns true if there is a slice to be performed. The slice is the half inclusive interval [minvxl, maxvxl)

Definition at line 32 of file SIM_FieldUtils.h.

template<typename FIELDTYPE >
UT_Vector3 SIMfieldUtilsGetCenter ( const FIELDTYPE *  field  )  [inline]

Definition at line 358 of file SIM_FieldUtils.h.

template<typename FIELDTYPE >
UT_Vector3 SIMfieldUtilsGetDivisions ( const FIELDTYPE *  field  )  [inline]

Definition at line 253 of file SIM_FieldUtils.h.

template<typename FIELDTYPE >
UT_Vector3 SIMfieldUtilsGetDivisionsNoSlice ( const FIELDTYPE *  field  )  [inline]

Definition at line 147 of file SIM_FieldUtils.h.

template<typename FIELDTYPE >
UT_Vector3 SIMfieldUtilsGetSize ( const FIELDTYPE *  field  )  [inline]

Definition at line 331 of file SIM_FieldUtils.h.

template<typename FIELDTYPE >
UT_Vector3 SIMfieldUtilsGetSizeNoSlice ( const FIELDTYPE *  field  )  [inline]

Definition at line 270 of file SIM_FieldUtils.h.

template<typename FIELDTYPE >
bool SIMfieldUtilsGetSliceBorder ( const FIELDTYPE *  field,
int  a_slice,
int  b_slice,
UT_Vector3 minvxl,
UT_Vector3 maxvxl 
) [inline]

Returns true if there is any overlap between the two slices. [minvxl, maxvxl) is the region of overlap. This is the intersection of the two slice fields.

Definition at line 122 of file SIM_FieldUtils.h.

template<typename FIELDTYPE , typename F2 >
void SIMfieldUtilsMatch ( FIELDTYPE *  field,
const F2 *  srcfield 
) [inline]

Definition at line 395 of file SIM_FieldUtils.h.


Generated on Thu May 24 00:09:05 2012 for HDK by  doxygen 1.5.9