HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_LocalTransform Namespace Reference

Typedefs

template<typename FLOAT_T >
using GetXformFunc = std::function< UT_Matrix4T< FLOAT_T >(exint i)>
 

Functions

template<typename FLOAT_T >
void transformPointIslands (GEO_Detail *gdp, const GetXformFunc< FLOAT_T > &get_xform, const GA_OffsetArray &points, const UT_ExintArray &island_start_indices, bool just_P=false, bool keep_vector_lengths=true, bool check_pasting=true, bool neg_determinant_flipvector=true, GEO_Delta *geodelta=0, bool updateaffectednormals=false, const char *attribpattern=NULL)
 
template<typename FLOAT_T >
void transformPrimIslands (GEO_Detail *gdp, const GetXformFunc< FLOAT_T > &get_xform, const GA_OffsetArray &primitives, const UT_ExintArray &island_start_indices, bool just_P=false, bool keep_vector_lengths=true, bool check_pasting=true, bool neg_determinant_flipvector=true, GEO_Delta *geodelta=0, bool updateaffectednormals=false, const char *attribpattern=NULL)
 
template<typename FLOAT_T >
void transformPrimIslands (GEO_Detail *gdp, const GetXformFunc< FLOAT_T > &get_xform, const GA_OffsetArray &primitives, const UT_ExintArray &island_start_indices, const GA_OffsetArray &island_pts, const UT_ExintArray &island_pts_start_indices, bool just_P=false, bool keep_vector_lengths=true, bool check_pasting=true, bool neg_determinant_flipvector=true, GEO_Delta *geodelta=0, bool updateaffectednormals=false, const char *attribpattern=NULL)
 
template<typename FLOAT_T >
void transformBreakpointIslands (GEO_Detail *gdp, const GetXformFunc< FLOAT_T > &get_xform, const UT_Array< GA_Breakpoint > &bkpts, const UT_ExintArray &island_start_indices, bool just_P=false, bool keep_vector_lengths=true, bool check_pasting=true, bool neg_determinant_flipvector=true, GEO_Delta *geodelta=0, bool updateaffectednormals=false, const char *attribpattern=NULL)
 

Typedef Documentation

template<typename FLOAT_T >
using GU_LocalTransform::GetXformFunc = typedef std::function<UT_Matrix4T<FLOAT_T>(exint i)>

Definition at line 29 of file GU_LocalTransform.h.

Function Documentation

template<typename FLOAT_T >
void GU_LocalTransform::transformBreakpointIslands ( GEO_Detail gdp,
const GetXformFunc< FLOAT_T > &  get_xform,
const UT_Array< GA_Breakpoint > &  bkpts,
const UT_ExintArray island_start_indices,
bool  just_P = false,
bool  keep_vector_lengths = true,
bool  check_pasting = true,
bool  neg_determinant_flipvector = true,
GEO_Delta geodelta = 0,
bool  updateaffectednormals = false,
const char *  attribpattern = NULL 
)

Transform a list of breakpoint islands. PRE: No spline can be referenced by breakpoints in different islands.

template<typename FLOAT_T >
void GU_LocalTransform::transformPointIslands ( GEO_Detail gdp,
const GetXformFunc< FLOAT_T > &  get_xform,
const GA_OffsetArray points,
const UT_ExintArray island_start_indices,
bool  just_P = false,
bool  keep_vector_lengths = true,
bool  check_pasting = true,
bool  neg_determinant_flipvector = true,
GEO_Delta geodelta = 0,
bool  updateaffectednormals = false,
const char *  attribpattern = NULL 
)

Transform a list of point islands. PRE: No point can be in more than one island.

template<typename FLOAT_T >
void GU_LocalTransform::transformPrimIslands ( GEO_Detail gdp,
const GetXformFunc< FLOAT_T > &  get_xform,
const GA_OffsetArray primitives,
const UT_ExintArray island_start_indices,
bool  just_P = false,
bool  keep_vector_lengths = true,
bool  check_pasting = true,
bool  neg_determinant_flipvector = true,
GEO_Delta geodelta = 0,
bool  updateaffectednormals = false,
const char *  attribpattern = NULL 
)

Transform a list of primitive islands. PRE: No point can be referenced by primitives in different islands.

template<typename FLOAT_T >
void GU_LocalTransform::transformPrimIslands ( GEO_Detail gdp,
const GetXformFunc< FLOAT_T > &  get_xform,
const GA_OffsetArray primitives,
const UT_ExintArray island_start_indices,
const GA_OffsetArray island_pts,
const UT_ExintArray island_pts_start_indices,
bool  just_P = false,
bool  keep_vector_lengths = true,
bool  check_pasting = true,
bool  neg_determinant_flipvector = true,
GEO_Delta geodelta = 0,
bool  updateaffectednormals = false,
const char *  attribpattern = NULL 
)

Transform a list of primitive islands where the island point lists are already extracted. PRE: No point can be referenced by primitives in different islands. PRE: island_start_indices.entries()==island_pts_start_indices.entries()