11 #ifndef __GEO_AttributeCaptureRegion__
12 #define __GEO_AttributeCaptureRegion__
41 {
return reinterpret_cast<float*
>(
this); }
43 {
return reinterpret_cast<const float*
>(
this); }
59 int getNumEntries()
const;
60 int getTupleSize()
const;
61 fpreal getEntry(
int i,
int component)
const;
102 getBoneCaptureRegion(h, index, s.
floatPtr(),
121 setBoneCaptureRegion(h, index, s.
floatPtr(),
139 setBoneCaptureRegion(objects, index, s.
floatPtr(),
153 getBoneCaptureRegionObjects(
156 getBoneCaptureRegionObjects(
167 static void initBoneCapture(
float *array,
int array_size);
170 static void initTubeCapture(
float *array,
int array_size);
174 static bool addTubeCaptureRegionAttrib(
180 static void getTubeCaptureRegion(
GA_Offset prim_offset,
188 static void setTubeCaptureRegion(
GA_Offset prim_offset,
235 { getMetaCaptureRegion(h, index, prop, objset, xform); }
241 { setMetaCaptureRegion(h, index, prop, objset, xform); }
253 static const int theBoneSize;
254 static const int theTubeSize;
255 static const int theMetaSize;
const GA_Attribute * myAttribute
Definition of a geometry attribute.
Generic Attribute Interface class to get/set data as index pairs.
static void setBoneCaptureRegion(GA_AIFIndexPairObjects *objects, int index, GEO_CaptureBoneStorage &s)
static void setBoneCaptureRegion(const GA_RWAttributeRef &h, int index, const GEO_CaptureBoneStorage &s)
Convenience class to store a bone capture region.
const GA_Attribute * getAttribute() const
const float * floatPtr() const
This class provides a way to manage a reference to an attribute permitting Read-Write access...
CaptureType
Methods for manipulating capture weights (GEO_CaptureWeight.C)
static void getMetaRestCaptureRegion(const GA_ROAttributeRef &h, int index, int prop, int objset, UT_Matrix4 &xform)
This class provides a way to manage a reference to an attribute permitting Read-Only access...
const GA_AIFIndexPair * myIndexPair
static int getMetaRestSize()
GLfloat GLfloat GLfloat GLfloat h
Interface class for tube capture attributes.
static void setMetaRestCaptureRegion(const GA_RWAttributeRef &h, int index, int prop, int objset, const UT_Matrix4 &xform)
static void getBoneCaptureRegion(const GA_ROAttributeRef &h, int index, GEO_CaptureBoneStorage &s)
static const int tuple_size