HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_PackedDisk::CacheItem Class Reference

#include <GU_PackedDisk.h>

Public Member Functions

 CacheItem ()
 
 CacheItem (const UT_StringHolder &filename)
 
 CacheItem (const CacheItem &src)
 
 ~CacheItem ()
 
CacheItemoperator= (const CacheItem &src)
 Assignment operator. More...
 
void clear ()
 Clear the item (possibly releasing from the cache) More...
 
bool isDifferentFile (const char *filename) const
 Check to see if the cache would be dirtied with the given filename. More...
 
void setFilename (const UT_StringHolder &filename)
 Change the filename. Returns true if the filename changed. More...
 
GU_ConstDetailHandle get (const GU_PackedImpl &impl) const
 Access the file. More...
 
GU_ConstDetailHandle getPointCloud (const GU_PackedImpl &impl) const
 Get point cloud for file. More...
 
bool getBounds (UT_BoundingBox &box) const
 Get bounding box. More...
 
bool getVisibleBounds (UT_BoundingBox &box) const
 Get visible bounding box. More...
 
bool getVelocityRange (UT_Vector3 &vmin, UT_Vector3 &vmax) const
 Get velocity range. More...
 
bool getWidthRange (fpreal &wmin, fpreal &wmax) const
 Get width range. More...
 
bool isLoaded () const
 Check if cache has been loaded from disk. More...
 
const UT_StringHolderfilename () const
 Accessors. More...
 

Detailed Description

Definition at line 151 of file GU_PackedDisk.h.

Constructor & Destructor Documentation

GU_PackedDisk::CacheItem::CacheItem ( )
inline

Definition at line 154 of file GU_PackedDisk.h.

GU_PackedDisk::CacheItem::CacheItem ( const UT_StringHolder filename)
inline

Definition at line 159 of file GU_PackedDisk.h.

GU_PackedDisk::CacheItem::CacheItem ( const CacheItem src)
inline

Definition at line 164 of file GU_PackedDisk.h.

GU_PackedDisk::CacheItem::~CacheItem ( )
inline

Definition at line 169 of file GU_PackedDisk.h.

Member Function Documentation

void GU_PackedDisk::CacheItem::clear ( )
inline

Clear the item (possibly releasing from the cache)

Definition at line 186 of file GU_PackedDisk.h.

const UT_StringHolder& GU_PackedDisk::CacheItem::filename ( ) const
inline

Accessors.

Definition at line 243 of file GU_PackedDisk.h.

GU_ConstDetailHandle GU_PackedDisk::CacheItem::get ( const GU_PackedImpl impl) const
inline

Access the file.

Definition at line 209 of file GU_PackedDisk.h.

bool GU_PackedDisk::CacheItem::getBounds ( UT_BoundingBox box) const

Get bounding box.

GU_ConstDetailHandle GU_PackedDisk::CacheItem::getPointCloud ( const GU_PackedImpl impl) const
inline

Get point cloud for file.

Definition at line 215 of file GU_PackedDisk.h.

bool GU_PackedDisk::CacheItem::getVelocityRange ( UT_Vector3 vmin,
UT_Vector3 vmax 
) const
inline

Get velocity range.

Definition at line 226 of file GU_PackedDisk.h.

bool GU_PackedDisk::CacheItem::getVisibleBounds ( UT_BoundingBox box) const

Get visible bounding box.

bool GU_PackedDisk::CacheItem::getWidthRange ( fpreal wmin,
fpreal wmax 
) const
inline

Get width range.

Definition at line 232 of file GU_PackedDisk.h.

bool GU_PackedDisk::CacheItem::isDifferentFile ( const char *  filename) const

Check to see if the cache would be dirtied with the given filename.

bool GU_PackedDisk::CacheItem::isLoaded ( ) const
inline

Check if cache has been loaded from disk.

Definition at line 239 of file GU_PackedDisk.h.

CacheItem& GU_PackedDisk::CacheItem::operator= ( const CacheItem src)
inline

Assignment operator.

Definition at line 175 of file GU_PackedDisk.h.

void GU_PackedDisk::CacheItem::setFilename ( const UT_StringHolder filename)
inline

Change the filename. Returns true if the filename changed.

Definition at line 199 of file GU_PackedDisk.h.


The documentation for this class was generated from the following file: