11 #ifndef __GEO_Mirror_h__
12 #define __GEO_Mirror_h__
94 GEO_MIRROR_NO_REVERSE = 0,
95 GEO_MIRROR_REVERSE = 1,
96 GEO_MIRROR_REVERSE_U = 2,
97 GEO_MIRROR_REVERSE_V = 3
108 bool consolidate_seam,
109 fpreal consolidate_tolerance,
110 bool consolidate_unshared,
112 : mySourceGdp(src_gdp)
113 , myPrimsToMirror(prims_to_mirror)
114 , myMirrorNormal(mirror_normal)
115 , myMirrorOrigin(mirror_origin)
117 , myKeepOriginal(keep_original)
118 , myReverseDirection(reverse_direction)
119 , myConsolidateSeam(consolidate_seam)
120 , myConsolidateTolerance(consolidate_tolerance)
121 , myConsolidateUnshared(consolidate_unshared)
122 , myRedirectMap(redirect_map)
A class to manage an ordered array which has fixed offset handles.
GA_API const UT_StringHolder dist
UT_Vector3R myMirrorNormal
ElementRedirect myVertexRedirect
UT_Vector3R myMirrorOrigin
GEO_MirrorRedirectMap * myRedirectMap
SYS_FORCE_INLINE GA_Index indexFromOffset(GA_Offset data_offset) const
const GEO_Detail * mySourceGdp
GA_Offset getSourceElement(const GA_IndexMap &dst_map, const GA_Index base, GA_Offset dst_offset) const
GEO_ReverseOption myReverseDirection
fpreal myConsolidateTolerance
const GA_PrimitiveGroup * myPrimsToMirror
GA_Size GA_Index
Define the strictness of GA_Offset/GA_Index.
exint entries() const
Alias of size(). size() is preferred.
GEO_MirrorParms(const GEO_Detail *src_gdp, const GA_PrimitiveGroup *prims_to_mirror, const UT_Vector3R &mirror_normal, const UT_Vector3R &mirror_origin, fpreal dist, bool keep_original, GEO_ReverseOption reverse_direction, bool consolidate_seam, fpreal consolidate_tolerance, bool consolidate_unshared, GEO_MirrorRedirectMap *redirect_map)
bool myConsolidateUnshared
SYS_FORCE_INLINE GA_Offset offsetFromIndex(GA_Index ordered_index) const
GA_Offset getSourceElement(const GA_IndexMap &src_map, const GA_IndexMap &dst_map, GA_Offset dst_offset) const
ElementRedirect myPointRedirect
UT_Array< GA_Index > myLookup
ElementRedirect myPrimitiveRedirect