HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GU_TPSurfCache Class Reference

#include <GU_TPSurfCache.h>

+ Inheritance diagram for GU_TPSurfCache:

Public Member Functions

 GU_TPSurfCache (void)
 
virtual ~GU_TPSurfCache (void)
 
int64 getMemoryUsage (bool inclusive) const
 
void touchDomain (int ustart_idx, int ustop_idx, int vstart_idx, int vstop_idx)
 
GU_TrimTesselatorgetTesselation ()
 
const GU_TrimPatchgetPatch () const
 
int refresh (GU_TPSurfCacheParms &parms)
 
GU_CacheMode builtAs (void) const
 
void getCounts (int uwrapped, int vwrapped, int &nucurves, int &nupoints, int &nvcurves, int &nvpoints) const
 
void getCounts (int uwrapped, int vwrapped, int &nupoints, int &nvpoints) const
 
int hasAttributes (GU_CacheMode mode) const
 
bool hasColor () const
 
bool hasTexture () const
 
bool hasAlpha () const
 
GU_TPSurfTrimState getTrimmedState (void) const
 
int getNewTrimIndex ()
 
void evaluateTrimIndex (GEO_AttributeHandleList *hlist, const GEO_TPSurf *surf, int index, float u, float v)
 
const UT_Vector4Arraypoints () const
 
const UT_Vector3Arraynormals () const
 
const UT_Vector3Arraycolors () const
 
const UT_Vector3Arrayuvs () const
 
const UT_FloatArrayalphas () const
 
const UT_Vector4ArraytrimPoints () const
 
const UT_Vector3ArraytrimNormals () const
 
const UT_Vector3ArraytrimColors () const
 
const UT_Vector3ArraytrimUVs () const
 
const UT_FloatArraytrimAlphas () const
 
- Public Member Functions inherited from GU_DisplayCache
 GU_DisplayCache (void)
 
virtual ~GU_DisplayCache (void)
 
int isDirty () const
 
int isMessy () const
 
int howDirty () const
 
void clear ()
 
void dirty ()
 
int transformed () const
 
void transform (const UT_Matrix4 &xform, int pushxform=0)
 
int translated (void) const
 
void translate (const UT_Vector3 &d)
 
int uvChanged (void) const
 
void uvChange (void)
 
int pushXform (void) const
 
void pushXform (int yesno)
 
float lod (void) const
 
const UT_Matrix4transformation (void) const
 

Protected Member Functions

virtual void initializeData (void)
 
virtual void assimilateXform (void)
 
- Protected Member Functions inherited from GU_DisplayCache
UT_Vector3delta (void)
 
const UT_Vector3delta (void) const
 
UT_Matrix4transformation (void)
 
void lod (float l)
 

Detailed Description

Definition at line 70 of file GU_TPSurfCache.h.

Constructor & Destructor Documentation

GU_TPSurfCache::GU_TPSurfCache ( void  )
virtual GU_TPSurfCache::~GU_TPSurfCache ( void  )
virtual

Member Function Documentation

const UT_FloatArray& GU_TPSurfCache::alphas ( ) const
inline

Definition at line 135 of file GU_TPSurfCache.h.

virtual void GU_TPSurfCache::assimilateXform ( void  )
protectedvirtual

Reimplemented from GU_DisplayCache.

GU_CacheMode GU_TPSurfCache::builtAs ( void  ) const
inline

Definition at line 94 of file GU_TPSurfCache.h.

const UT_Vector3Array& GU_TPSurfCache::colors ( ) const
inline

Definition at line 133 of file GU_TPSurfCache.h.

void GU_TPSurfCache::evaluateTrimIndex ( GEO_AttributeHandleList hlist,
const GEO_TPSurf surf,
int  index,
float  u,
float  v 
)
void GU_TPSurfCache::getCounts ( int  uwrapped,
int  vwrapped,
int nucurves,
int nupoints,
int nvcurves,
int nvpoints 
) const
void GU_TPSurfCache::getCounts ( int  uwrapped,
int  vwrapped,
int nupoints,
int nvpoints 
) const
int64 GU_TPSurfCache::getMemoryUsage ( bool  inclusive) const
int GU_TPSurfCache::getNewTrimIndex ( )
const GU_TrimPatch* GU_TPSurfCache::getPatch ( ) const
inline

Definition at line 87 of file GU_TPSurfCache.h.

GU_TrimTesselator* GU_TPSurfCache::getTesselation ( )
GU_TPSurfTrimState GU_TPSurfCache::getTrimmedState ( void  ) const
inline

Definition at line 119 of file GU_TPSurfCache.h.

bool GU_TPSurfCache::hasAlpha ( ) const
inline

Definition at line 116 of file GU_TPSurfCache.h.

int GU_TPSurfCache::hasAttributes ( GU_CacheMode  mode) const
inline

Definition at line 105 of file GU_TPSurfCache.h.

bool GU_TPSurfCache::hasColor ( ) const
inline

Definition at line 114 of file GU_TPSurfCache.h.

bool GU_TPSurfCache::hasTexture ( ) const
inline

Definition at line 115 of file GU_TPSurfCache.h.

virtual void GU_TPSurfCache::initializeData ( void  )
protectedvirtual

Reimplemented from GU_DisplayCache.

const UT_Vector3Array& GU_TPSurfCache::normals ( ) const
inline

Definition at line 132 of file GU_TPSurfCache.h.

const UT_Vector4Array& GU_TPSurfCache::points ( ) const
inline

Definition at line 131 of file GU_TPSurfCache.h.

int GU_TPSurfCache::refresh ( GU_TPSurfCacheParms parms)
void GU_TPSurfCache::touchDomain ( int  ustart_idx,
int  ustop_idx,
int  vstart_idx,
int  vstop_idx 
)
const UT_FloatArray& GU_TPSurfCache::trimAlphas ( ) const
inline

Definition at line 144 of file GU_TPSurfCache.h.

const UT_Vector3Array& GU_TPSurfCache::trimColors ( ) const
inline

Definition at line 140 of file GU_TPSurfCache.h.

const UT_Vector3Array& GU_TPSurfCache::trimNormals ( ) const
inline

Definition at line 138 of file GU_TPSurfCache.h.

const UT_Vector4Array& GU_TPSurfCache::trimPoints ( ) const
inline

Definition at line 136 of file GU_TPSurfCache.h.

const UT_Vector3Array& GU_TPSurfCache::trimUVs ( ) const
inline

Definition at line 142 of file GU_TPSurfCache.h.

const UT_Vector3Array& GU_TPSurfCache::uvs ( ) const
inline

Definition at line 134 of file GU_TPSurfCache.h.


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