HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 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 120 of file GU_PackedDisk.h.

Constructor & Destructor Documentation

GU_PackedDisk::CacheItem::CacheItem ( )
inline

Definition at line 123 of file GU_PackedDisk.h.

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

Definition at line 128 of file GU_PackedDisk.h.

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

Definition at line 133 of file GU_PackedDisk.h.

GU_PackedDisk::CacheItem::~CacheItem ( )
inline

Definition at line 138 of file GU_PackedDisk.h.

Member Function Documentation

void GU_PackedDisk::CacheItem::clear ( void  )
inline

Clear the item (possibly releasing from the cache)

Definition at line 155 of file GU_PackedDisk.h.

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

Accessors.

Definition at line 213 of file GU_PackedDisk.h.

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

Access the file.

Definition at line 178 of file GU_PackedDisk.h.

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

Get bounding box.

Definition at line 191 of file GU_PackedDisk.h.

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

Get point cloud for file.

Definition at line 184 of file GU_PackedDisk.h.

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

Get velocity range.

Definition at line 196 of file GU_PackedDisk.h.

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

Get width range.

Definition at line 202 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 209 of file GU_PackedDisk.h.

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

Assignment operator.

Definition at line 144 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 168 of file GU_PackedDisk.h.


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