8 #ifndef __SIM_GeometryCopy_h__
9 #define __SIM_GeometryCopy_h__
56 void releaseTransform();
60 GA_CEAttribute *
getWriteableCEAttribute(
GA_AttributeOwner owner,
const UT_StringRef &
name,
GA_StorageClass storage,
int &tuplesize,
bool isarray,
bool docopy) {
return getWriteableCEAttributePrec(owner, name, storage,
GA_PRECISION_32, tuplesize, isarray, docopy); }
85 int myDetailLockCount;
86 int myTransformLockCount;
92 getGeometryCopyDopDescription());
103 myDataIdStrategy(data_id_strategy),
104 myHandle(mySimGeo->lockGeometry()),
105 myGdp(myHandle.writeLock())
111 myHandle.unlock(myGdp);
112 mySimGeo->releaseGeometry(myDataIdStrategy);
~SIM_GeometryAutoWriteLock()
#define DECLARE_STANDARD_GETCASTTOTYPE()
getFileOption("OpenEXR:storage") storage
void initializeSubclass() override
Set initial values on all the geometry attributes.
#define DECLARE_DATAFACTORY(DataClass, SuperClass, Description, DopParms)
const GU_DetailHandle & handle()
GA_CEAttribute * getWriteableCEAttribute(GA_AttributeOwner owner, const UT_StringRef &name, GA_StorageClass storage, int &tuplesize, bool isarray, bool docopy)
GLsizei GLsizei GLchar * source
SIM_GeometryAutoWriteLock(SIM_GeometryCopy *simgeo, SIM_DataIdStrategy data_id_strategy=SIM_DATA_ID_BUMP)
GLuint const GLchar * name
virtual void makeMemberDataUniqueSubclass()
virtual void flushCEWriteCaches() const
Clear any pending writes from the GPU.
GLenum GLint GLint * precision
void makeEqualSubclass(const SIM_Data *source) override
Makes this geometry equal to some other SIM_Geometry.
virtual void setParametersSubclass(const SIM_Options &parms)
This implements a SIM_Geometry that copies the source geometry.