11 #ifndef __GEO_CaptureOverrideData_h__
12 #define __GEO_CaptureOverrideData_h__
33 class geo_CaptureOverridePointData;
36 char *full_cregion_path,
37 char *relative_cregion_path,
51 int changeOpPaths(
const char *old_name,
52 const char *new_name );
53 void changeCaptureRegionRoot(
const char *old_root,
54 const char *new_root );
55 void refreshCaptureFrameInfo(
const GEO_Detail &gdp,
65 void mergeCaptureWeightOverridesDelta(
67 void undoCaptureWeightOverridesDelta(
70 bool overrideExists(
int point_num )
const;
73 int64 getMemoryUsage()
const;
75 int save( std::ostream &os,
int binary )
const;
87 void setOverride(
int point_num,
const float *weights,
int size,
92 bool &max_size_invalid);
94 void updateIndexBounds(
int point_num,
bool exists,
95 bool &min_invalid,
bool &max_invalid );
97 int findPathIndex(
const char *
path )
const;
112 int myMaxWeightDataSize;
123 class geo_CaptureOverrideDeltaData;
147 bool removesOverride(
int point_num )
const;
148 bool addsOverride(
int point_num )
const;
159 void initCaptureWeightChange(
const GEO_Detail &gdp );
164 void beginCaptureWeightChange(
GA_Offset point );
165 void endCaptureWeightChange(
GA_Offset point,
166 unsigned int point_index,
170 {
return myRegionPaths; }
173 {
return myCaptureTubes; }
175 {
return myAddedRegionsToOverrides; }
177 {
return myAddedRegionsToOverrides; }
180 const geo_CaptureOverrideDeltaData *
getChange(
int i)
const
181 {
return myChanges(i); }
187 int64 getMemoryUsage()
const;
190 void convertAndStorePtData(
const float *gdp_data,
191 int num_point_regions,
192 float *&store_data,
int &store_size );
194 void prepareCaptureRegionChange(
int path_index );
198 int num_point_regions,
199 const float *store_data,
222 unsigned int mySavedDataSize;
226 #endif // __GEO_CaptureOverrideData_h__
const UT_Array< char * > & getPaths() const
const UT_IntArray & getRegionsAddedToOverrides() const
typedef int(APIENTRYP RE_PFNGLXSWAPINTERVALSGIPROC)(int)
Definition of a geometry attribute.
Generic Attribute Interface class to get/set data as index pairs.
int(* GEO_CaptureRegionDataCB)(void *user_data, char *full_cregion_path, char *relative_cregion_path, GEO_CaptureBoneStorage &tube_data)
const GLuint GLenum const void * binary
GLsizei const GLchar *const * path
int getNumChanges() const
Convenience class to store a bone capture region.
This class provides a way to manage a reference to an attribute permitting Read-Only access...
OIIO_UTIL_API bool exists(string_view path) noexcept
UT_IntArray & getRegionsAddedToOverrides()
const UT_Array< GEO_CaptureBoneStorage * > & getCaptureTubes() const
const geo_CaptureOverrideDeltaData * getChange(int i) const