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

#include <GU_TPSurfCache.h>

+ Inheritance diagram for GU_TPSurfCache:

Public Member Functions

 GU_TPSurfCache ()
 
 ~GU_TPSurfCache () override
 
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 () 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 () 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 ()
 
virtual ~GU_DisplayCache ()
 
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 () const
 
void translate (const UT_Vector3 &d)
 
int uvChanged () const
 
void uvChange ()
 
int pushXform () const
 
void pushXform (int yesno)
 
float lod () const
 
const UT_Matrix4transformation () const
 

Protected Member Functions

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

Detailed Description

Definition at line 70 of file GU_TPSurfCache.h.

Constructor & Destructor Documentation

GU_TPSurfCache::GU_TPSurfCache ( )
GU_TPSurfCache::~GU_TPSurfCache ( )
override

Member Function Documentation

const UT_FloatArray& GU_TPSurfCache::alphas ( ) const
inline

Definition at line 135 of file GU_TPSurfCache.h.

void GU_TPSurfCache::assimilateXform ( )
overrideprotectedvirtual

Reimplemented from GU_DisplayCache.

GU_CacheMode GU_TPSurfCache::builtAs ( ) 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 ( ) 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.

void GU_TPSurfCache::initializeData ( )
overrideprotectedvirtual

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: