11 #ifndef __GU_PackedDiskSequence__
12 #define __GU_PackedDiskSequence__
58 return loadFrom(prim, options, map);
66 return loadFrom(prim, options, map);
78 bool inclusive)
const override;
100 template <
typename T>
virtual void sequenceVelocityRange(exint index, UT_Vector3 &min, UT_Vector3 &max) const =0
The base class for a sequence of packed geometry.
GT_API const UT_StringHolder filename
UT_JSONValueMap stores a map/dictionary of UT_JSONValue objects.
Used to pass options and map offset values during saving.
virtual bool sequenceVisibleBounds(exint index, UT_BoundingBox &box) const =0
static GA_PrimitiveTypeId typeId()
Get the type ID for the GU_PackedDiskSequence primitive type.
virtual InstanceKey getInstanceKey(exint quantize_steps) const
ImageBuf OIIO_API min(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)
virtual bool isLoaded() const
UT_Array< CacheItem > myCache
virtual void clearData()=0
virtual int64 getMemoryUsage(bool inclusive) const =0
Report memory usage (includes all shared memory)
virtual void countMemory(UT_MemoryCounter &counter, bool inclusive) const =0
virtual GU_PackedFactory * getFactory() const =0
Get the factory associated with this procedural.
bool isValid() const override
virtual GU_ConstDetailHandle sequenceGeometry(exint index) const =0
Subclass to return the geometry for the n'th item.
virtual bool sequenceBounds(exint index, UT_BoundingBox &box) const =0
virtual void update(GU_PrimPacked *prim, const UT_Options &options)=0
virtual exint sequenceSize() const =0
Subclass returns the number of pieces of geometry in the sequence.
A map of string to various well defined value types.
virtual GU_PackedImpl * copy() const =0
Create a copy of this resolver.
Geometry file procedural.
ImageBuf OIIO_API max(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)
bool supportsJSONLoad() const override
bool load(GU_PrimPacked *prim, const UT_Options &options, const GA_LoadMap &map) override
virtual void sequenceWidthRange(exint index, fpreal &min, fpreal &max) const =0
void intrinsicFilenames(const GU_PrimPacked *prim, UT_StringArray &files) const
virtual bool save(UT_Options &options, const GA_SaveMap &map) const =0
Copy the resolver data into the UT_Options for saving.
virtual GU_ConstDetailHandle sequencePointCloud(exint index) const =0
Subclass method to get point geometry for the n'th item.
bool loadFromJSON(GU_PrimPacked *prim, const UT_JSONValueMap &options, const GA_LoadMap &map) override