HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GABC_NAMESPACE::GABC_OGTGeometry::IntrinsicCache Class Reference

#include <GABC_OGTGeometry.h>

Public Member Functions

 IntrinsicCache ()
 
 ~IntrinsicCache ()
 
void clear ()
 
bool needWrite (const GABC_OOptions &ctx, const char *name, const GT_DataArrayHandle &data)
 
GT_DataArrayHandlevertexList ()
 
GT_DataArrayHandlecounts ()
 
GT_DataArrayHandleP ()
 
GT_DataArrayHandlePw ()
 
GT_DataArrayHandleN ()
 
GT_DataArrayHandleuv ()
 
GT_DataArrayHandlev ()
 
GT_DataArrayHandleid ()
 
GT_DataArrayHandlewidth ()
 
GT_DataArrayHandleuknots ()
 
GT_DataArrayHandlevknots ()
 
bool needVertex (const GABC_OOptions &ctx, const GT_DataArrayHandle &vertex_list)
 
bool needCounts (const GABC_OOptions &ctx, const GT_DataArrayHandle &counts)
 

Detailed Description

The intrinsic cache is used to cache array values frame to frame when optimizing the .abc file for space. Only arrays which change will be written to the file. The cache has storage for most primitive types.

Definition at line 90 of file GABC_OGTGeometry.h.

Constructor & Destructor Documentation

GABC_NAMESPACE::GABC_OGTGeometry::IntrinsicCache::IntrinsicCache ( )
inline

Definition at line 93 of file GABC_OGTGeometry.h.

GABC_NAMESPACE::GABC_OGTGeometry::IntrinsicCache::~IntrinsicCache ( )
inline

Definition at line 94 of file GABC_OGTGeometry.h.

Member Function Documentation

void GABC_NAMESPACE::GABC_OGTGeometry::IntrinsicCache::clear ( )
GT_DataArrayHandle& GABC_NAMESPACE::GABC_OGTGeometry::IntrinsicCache::counts ( )
inline

Definition at line 114 of file GABC_OGTGeometry.h.

GT_DataArrayHandle& GABC_NAMESPACE::GABC_OGTGeometry::IntrinsicCache::id ( )
inline

Definition at line 120 of file GABC_OGTGeometry.h.

GT_DataArrayHandle& GABC_NAMESPACE::GABC_OGTGeometry::IntrinsicCache::N ( )
inline

Definition at line 117 of file GABC_OGTGeometry.h.

bool GABC_NAMESPACE::GABC_OGTGeometry::IntrinsicCache::needCounts ( const GABC_OOptions ctx,
const GT_DataArrayHandle counts 
)
inline

Test whether topology arrays need to be written

Definition at line 103 of file GABC_OGTGeometry.h.

bool GABC_NAMESPACE::GABC_OGTGeometry::IntrinsicCache::needVertex ( const GABC_OOptions ctx,
const GT_DataArrayHandle vertex_list 
)
inline

Test whether topology arrays need to be written

Definition at line 100 of file GABC_OGTGeometry.h.

bool GABC_NAMESPACE::GABC_OGTGeometry::IntrinsicCache::needWrite ( const GABC_OOptions ctx,
const char *  name,
const GT_DataArrayHandle data 
)

Test to see if the attribute needs to be written (true) or whether we can use the sample from the previous frame (false)

GT_DataArrayHandle& GABC_NAMESPACE::GABC_OGTGeometry::IntrinsicCache::P ( )
inline

Definition at line 115 of file GABC_OGTGeometry.h.

GT_DataArrayHandle& GABC_NAMESPACE::GABC_OGTGeometry::IntrinsicCache::Pw ( )
inline

Definition at line 116 of file GABC_OGTGeometry.h.

GT_DataArrayHandle& GABC_NAMESPACE::GABC_OGTGeometry::IntrinsicCache::uknots ( )
inline

Definition at line 122 of file GABC_OGTGeometry.h.

GT_DataArrayHandle& GABC_NAMESPACE::GABC_OGTGeometry::IntrinsicCache::uv ( )
inline

Definition at line 118 of file GABC_OGTGeometry.h.

GT_DataArrayHandle& GABC_NAMESPACE::GABC_OGTGeometry::IntrinsicCache::v ( )
inline

Definition at line 119 of file GABC_OGTGeometry.h.

GT_DataArrayHandle& GABC_NAMESPACE::GABC_OGTGeometry::IntrinsicCache::vertexList ( )
inline

Definition at line 113 of file GABC_OGTGeometry.h.

GT_DataArrayHandle& GABC_NAMESPACE::GABC_OGTGeometry::IntrinsicCache::vknots ( )
inline

Definition at line 123 of file GABC_OGTGeometry.h.

GT_DataArrayHandle& GABC_NAMESPACE::GABC_OGTGeometry::IntrinsicCache::width ( )
inline

Definition at line 121 of file GABC_OGTGeometry.h.


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