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

#include <valueCache.h>

Classes

class  Key
 

Public Member Functions

 UsdImagingValueCache (const UsdImagingValueCache &)=delete
 
UsdImagingValueCacheoperator= (const UsdImagingValueCache &)=delete
 
 UsdImagingValueCache ()
 
void EnableMutation ()
 
void DisableMutation ()
 
void Clear (SdfPath const &path)
 Clear all data associated with a specific path. More...
 
VtValueGetColor (SdfPath const &path) const
 
VtValueGetOpacity (SdfPath const &path) const
 
bool & GetDoubleSided (SdfPath const &path) const
 
HdCullStyleGetCullStyle (SdfPath const &path) const
 
GfRange3dGetExtent (SdfPath const &path) const
 
GfMatrix4dGetInstancerTransform (SdfPath const &path) const
 
VtValueGetInstanceIndices (SdfPath const &path) const
 
VtValueGetPoints (SdfPath const &path) const
 
TfTokenGetPurpose (SdfPath const &path) const
 
HdPrimvarDescriptorVectorGetPrimvars (SdfPath const &path) const
 
VtValueGetTopology (SdfPath const &path) const
 
GfMatrix4dGetTransform (SdfPath const &path) const
 
bool & GetVisible (SdfPath const &path) const
 
VtValueGetWidths (SdfPath const &path) const
 
VtValueGetNormals (SdfPath const &path) const
 
VtValueGetPrimvar (SdfPath const &path, TfToken const &name) const
 
SdfPathGetMaterialId (SdfPath const &path) const
 
VtValueGetMaterialResource (SdfPath const &path) const
 
TfTokenVectorGetExtComputationSceneInputNames (SdfPath const &path) const
 
HdExtComputationInputDescriptorVectorGetExtComputationInputs (SdfPath const &path) const
 
HdExtComputationOutputDescriptorVectorGetExtComputationOutputs (SdfPath const &path) const
 
HdExtComputationPrimvarDescriptorVectorGetExtComputationPrimvars (SdfPath const &path) const
 
VtValueGetExtComputationInput (SdfPath const &path, TfToken const &name) const
 
std::stringGetExtComputationKernel (SdfPath const &path) const
 
VtValueGetCameraParam (SdfPath const &path, TfToken const &name) const
 
TfTokenVectorGetCameraParamNames (SdfPath const &path) const
 
bool FindPrimvar (SdfPath const &path, TfToken const &name, VtValue *value) const
 
bool FindColor (SdfPath const &path, VtValue *value) const
 
bool FindOpacity (SdfPath const &path, VtValue *value) const
 
bool FindDoubleSided (SdfPath const &path, bool *value) const
 
bool FindCullStyle (SdfPath const &path, HdCullStyle *value) const
 
bool FindExtent (SdfPath const &path, GfRange3d *value) const
 
bool FindInstancerTransform (SdfPath const &path, GfMatrix4d *value) const
 
bool FindInstanceIndices (SdfPath const &path, VtValue *value) const
 
bool FindPoints (SdfPath const &path, VtValue *value) const
 
bool FindPurpose (SdfPath const &path, TfToken *value) const
 
bool FindPrimvars (SdfPath const &path, HdPrimvarDescriptorVector *value) const
 
bool FindTopology (SdfPath const &path, VtValue *value) const
 
bool FindTransform (SdfPath const &path, GfMatrix4d *value) const
 
bool FindVisible (SdfPath const &path, bool *value) const
 
bool FindWidths (SdfPath const &path, VtValue *value) const
 
bool FindNormals (SdfPath const &path, VtValue *value) const
 
bool FindMaterialId (SdfPath const &path, SdfPath *value) const
 
bool FindMaterialResource (SdfPath const &path, VtValue *value) const
 
bool FindExtComputationSceneInputNames (SdfPath const &path, TfTokenVector *value) const
 
bool FindExtComputationInputs (SdfPath const &path, HdExtComputationInputDescriptorVector *value) const
 
bool FindExtComputationOutputs (SdfPath const &path, HdExtComputationOutputDescriptorVector *value) const
 
bool FindExtComputationPrimvars (SdfPath const &path, HdExtComputationPrimvarDescriptorVector *value) const
 
bool FindExtComputationInput (SdfPath const &path, TfToken const &name, VtValue *value) const
 
bool FindExtComputationKernel (SdfPath const &path, std::string *value) const
 
bool FindCameraParam (SdfPath const &path, TfToken const &name, VtValue *value) const
 
bool FindCameraParamNames (SdfPath const &path, TfTokenVector *value) const
 
bool ExtractColor (SdfPath const &path, VtValue *value)
 
bool ExtractOpacity (SdfPath const &path, VtValue *value)
 
bool ExtractDoubleSided (SdfPath const &path, bool *value)
 
bool ExtractCullStyle (SdfPath const &path, HdCullStyle *value)
 
bool ExtractExtent (SdfPath const &path, GfRange3d *value)
 
bool ExtractInstancerTransform (SdfPath const &path, GfMatrix4d *value)
 
bool ExtractInstanceIndices (SdfPath const &path, VtValue *value)
 
bool ExtractPoints (SdfPath const &path, VtValue *value)
 
bool ExtractPurpose (SdfPath const &path, TfToken *value)
 
bool ExtractPrimvars (SdfPath const &path, HdPrimvarDescriptorVector *value)
 
bool ExtractTopology (SdfPath const &path, VtValue *value)
 
bool ExtractTransform (SdfPath const &path, GfMatrix4d *value)
 
bool ExtractVisible (SdfPath const &path, bool *value)
 
bool ExtractWidths (SdfPath const &path, VtValue *value)
 
bool ExtractNormals (SdfPath const &path, VtValue *value)
 
bool ExtractMaterialId (SdfPath const &path, SdfPath *value)
 
bool ExtractMaterialResource (SdfPath const &path, VtValue *value)
 
bool ExtractPrimvar (SdfPath const &path, TfToken const &name, VtValue *value)
 
bool ExtractExtComputationSceneInputNames (SdfPath const &path, TfTokenVector *value)
 
bool ExtractExtComputationInputs (SdfPath const &path, HdExtComputationInputDescriptorVector *value)
 
bool ExtractExtComputationOutputs (SdfPath const &path, HdExtComputationOutputDescriptorVector *value)
 
bool ExtractExtComputationPrimvars (SdfPath const &path, HdExtComputationPrimvarDescriptorVector *value)
 
bool ExtractExtComputationInput (SdfPath const &path, TfToken const &name, VtValue *value)
 
bool ExtractExtComputationKernel (SdfPath const &path, std::string *value)
 
bool ExtractCameraParam (SdfPath const &path, TfToken const &name, VtValue *value)
 
void GarbageCollect ()
 Remove any items from the cache that are marked for defered deletion. More...
 

Detailed Description

A heterogeneous value container without type erasure.

Definition at line 55 of file valueCache.h.

Constructor & Destructor Documentation

UsdImagingValueCache::UsdImagingValueCache ( const UsdImagingValueCache )
delete
UsdImagingValueCache::UsdImagingValueCache ( )
inline

Definition at line 181 of file valueCache.h.

Member Function Documentation

void UsdImagingValueCache::Clear ( SdfPath const path)
inline

Clear all data associated with a specific path.

Definition at line 299 of file valueCache.h.

void UsdImagingValueCache::DisableMutation ( )
inline

Definition at line 296 of file valueCache.h.

void UsdImagingValueCache::EnableMutation ( )
inline

Definition at line 295 of file valueCache.h.

bool UsdImagingValueCache::ExtractCameraParam ( SdfPath const path,
TfToken const name,
VtValue value 
)
inline

Definition at line 624 of file valueCache.h.

bool UsdImagingValueCache::ExtractColor ( SdfPath const path,
VtValue value 
)
inline

Definition at line 544 of file valueCache.h.

bool UsdImagingValueCache::ExtractCullStyle ( SdfPath const path,
HdCullStyle value 
)
inline

Definition at line 553 of file valueCache.h.

bool UsdImagingValueCache::ExtractDoubleSided ( SdfPath const path,
bool *  value 
)
inline

Definition at line 550 of file valueCache.h.

bool UsdImagingValueCache::ExtractExtComputationInput ( SdfPath const path,
TfToken const name,
VtValue value 
)
inline

Definition at line 617 of file valueCache.h.

bool UsdImagingValueCache::ExtractExtComputationInputs ( SdfPath const path,
HdExtComputationInputDescriptorVector value 
)
inline

Definition at line 602 of file valueCache.h.

bool UsdImagingValueCache::ExtractExtComputationKernel ( SdfPath const path,
std::string value 
)
inline

Definition at line 621 of file valueCache.h.

bool UsdImagingValueCache::ExtractExtComputationOutputs ( SdfPath const path,
HdExtComputationOutputDescriptorVector value 
)
inline

Definition at line 607 of file valueCache.h.

bool UsdImagingValueCache::ExtractExtComputationPrimvars ( SdfPath const path,
HdExtComputationPrimvarDescriptorVector value 
)
inline

Definition at line 612 of file valueCache.h.

bool UsdImagingValueCache::ExtractExtComputationSceneInputNames ( SdfPath const path,
TfTokenVector value 
)
inline

Definition at line 598 of file valueCache.h.

bool UsdImagingValueCache::ExtractExtent ( SdfPath const path,
GfRange3d value 
)
inline

Definition at line 556 of file valueCache.h.

bool UsdImagingValueCache::ExtractInstanceIndices ( SdfPath const path,
VtValue value 
)
inline

Definition at line 562 of file valueCache.h.

bool UsdImagingValueCache::ExtractInstancerTransform ( SdfPath const path,
GfMatrix4d value 
)
inline

Definition at line 559 of file valueCache.h.

bool UsdImagingValueCache::ExtractMaterialId ( SdfPath const path,
SdfPath value 
)
inline

Definition at line 589 of file valueCache.h.

bool UsdImagingValueCache::ExtractMaterialResource ( SdfPath const path,
VtValue value 
)
inline

Definition at line 592 of file valueCache.h.

bool UsdImagingValueCache::ExtractNormals ( SdfPath const path,
VtValue value 
)
inline

Definition at line 586 of file valueCache.h.

bool UsdImagingValueCache::ExtractOpacity ( SdfPath const path,
VtValue value 
)
inline

Definition at line 547 of file valueCache.h.

bool UsdImagingValueCache::ExtractPoints ( SdfPath const path,
VtValue value 
)
inline

Definition at line 565 of file valueCache.h.

bool UsdImagingValueCache::ExtractPrimvar ( SdfPath const path,
TfToken const name,
VtValue value 
)
inline

Definition at line 595 of file valueCache.h.

bool UsdImagingValueCache::ExtractPrimvars ( SdfPath const path,
HdPrimvarDescriptorVector value 
)
inline

Definition at line 571 of file valueCache.h.

bool UsdImagingValueCache::ExtractPurpose ( SdfPath const path,
TfToken value 
)
inline

Definition at line 568 of file valueCache.h.

bool UsdImagingValueCache::ExtractTopology ( SdfPath const path,
VtValue value 
)
inline

Definition at line 574 of file valueCache.h.

bool UsdImagingValueCache::ExtractTransform ( SdfPath const path,
GfMatrix4d value 
)
inline

Definition at line 577 of file valueCache.h.

bool UsdImagingValueCache::ExtractVisible ( SdfPath const path,
bool *  value 
)
inline

Definition at line 580 of file valueCache.h.

bool UsdImagingValueCache::ExtractWidths ( SdfPath const path,
VtValue value 
)
inline

Definition at line 583 of file valueCache.h.

bool UsdImagingValueCache::FindCameraParam ( SdfPath const path,
TfToken const name,
VtValue value 
) const
inline

Definition at line 536 of file valueCache.h.

bool UsdImagingValueCache::FindCameraParamNames ( SdfPath const path,
TfTokenVector value 
) const
inline

Definition at line 540 of file valueCache.h.

bool UsdImagingValueCache::FindColor ( SdfPath const path,
VtValue value 
) const
inline

Definition at line 459 of file valueCache.h.

bool UsdImagingValueCache::FindCullStyle ( SdfPath const path,
HdCullStyle value 
) const
inline

Definition at line 468 of file valueCache.h.

bool UsdImagingValueCache::FindDoubleSided ( SdfPath const path,
bool *  value 
) const
inline

Definition at line 465 of file valueCache.h.

bool UsdImagingValueCache::FindExtComputationInput ( SdfPath const path,
TfToken const name,
VtValue value 
) const
inline

Definition at line 529 of file valueCache.h.

bool UsdImagingValueCache::FindExtComputationInputs ( SdfPath const path,
HdExtComputationInputDescriptorVector value 
) const
inline

Definition at line 514 of file valueCache.h.

bool UsdImagingValueCache::FindExtComputationKernel ( SdfPath const path,
std::string value 
) const
inline

Definition at line 533 of file valueCache.h.

bool UsdImagingValueCache::FindExtComputationOutputs ( SdfPath const path,
HdExtComputationOutputDescriptorVector value 
) const
inline

Definition at line 519 of file valueCache.h.

bool UsdImagingValueCache::FindExtComputationPrimvars ( SdfPath const path,
HdExtComputationPrimvarDescriptorVector value 
) const
inline

Definition at line 524 of file valueCache.h.

bool UsdImagingValueCache::FindExtComputationSceneInputNames ( SdfPath const path,
TfTokenVector value 
) const
inline

Definition at line 510 of file valueCache.h.

bool UsdImagingValueCache::FindExtent ( SdfPath const path,
GfRange3d value 
) const
inline

Definition at line 471 of file valueCache.h.

bool UsdImagingValueCache::FindInstanceIndices ( SdfPath const path,
VtValue value 
) const
inline

Definition at line 477 of file valueCache.h.

bool UsdImagingValueCache::FindInstancerTransform ( SdfPath const path,
GfMatrix4d value 
) const
inline

Definition at line 474 of file valueCache.h.

bool UsdImagingValueCache::FindMaterialId ( SdfPath const path,
SdfPath value 
) const
inline

Definition at line 504 of file valueCache.h.

bool UsdImagingValueCache::FindMaterialResource ( SdfPath const path,
VtValue value 
) const
inline

Definition at line 507 of file valueCache.h.

bool UsdImagingValueCache::FindNormals ( SdfPath const path,
VtValue value 
) const
inline

Definition at line 501 of file valueCache.h.

bool UsdImagingValueCache::FindOpacity ( SdfPath const path,
VtValue value 
) const
inline

Definition at line 462 of file valueCache.h.

bool UsdImagingValueCache::FindPoints ( SdfPath const path,
VtValue value 
) const
inline

Definition at line 480 of file valueCache.h.

bool UsdImagingValueCache::FindPrimvar ( SdfPath const path,
TfToken const name,
VtValue value 
) const
inline

Definition at line 456 of file valueCache.h.

bool UsdImagingValueCache::FindPrimvars ( SdfPath const path,
HdPrimvarDescriptorVector value 
) const
inline

Definition at line 486 of file valueCache.h.

bool UsdImagingValueCache::FindPurpose ( SdfPath const path,
TfToken value 
) const
inline

Definition at line 483 of file valueCache.h.

bool UsdImagingValueCache::FindTopology ( SdfPath const path,
VtValue value 
) const
inline

Definition at line 489 of file valueCache.h.

bool UsdImagingValueCache::FindTransform ( SdfPath const path,
GfMatrix4d value 
) const
inline

Definition at line 492 of file valueCache.h.

bool UsdImagingValueCache::FindVisible ( SdfPath const path,
bool *  value 
) const
inline

Definition at line 495 of file valueCache.h.

bool UsdImagingValueCache::FindWidths ( SdfPath const path,
VtValue value 
) const
inline

Definition at line 498 of file valueCache.h.

void UsdImagingValueCache::GarbageCollect ( )
inline

Remove any items from the cache that are marked for defered deletion.

Definition at line 632 of file valueCache.h.

VtValue& UsdImagingValueCache::GetCameraParam ( SdfPath const path,
TfToken const name 
) const
inline

Definition at line 449 of file valueCache.h.

TfTokenVector& UsdImagingValueCache::GetCameraParamNames ( SdfPath const path) const
inline

Definition at line 452 of file valueCache.h.

VtValue& UsdImagingValueCache::GetColor ( SdfPath const path) const
inline

Definition at line 370 of file valueCache.h.

HdCullStyle& UsdImagingValueCache::GetCullStyle ( SdfPath const path) const
inline

Definition at line 379 of file valueCache.h.

bool& UsdImagingValueCache::GetDoubleSided ( SdfPath const path) const
inline

Definition at line 376 of file valueCache.h.

VtValue& UsdImagingValueCache::GetExtComputationInput ( SdfPath const path,
TfToken const name 
) const
inline

Definition at line 442 of file valueCache.h.

HdExtComputationInputDescriptorVector& UsdImagingValueCache::GetExtComputationInputs ( SdfPath const path) const
inline

Definition at line 428 of file valueCache.h.

std::string& UsdImagingValueCache::GetExtComputationKernel ( SdfPath const path) const
inline

Definition at line 446 of file valueCache.h.

HdExtComputationOutputDescriptorVector& UsdImagingValueCache::GetExtComputationOutputs ( SdfPath const path) const
inline

Definition at line 433 of file valueCache.h.

HdExtComputationPrimvarDescriptorVector& UsdImagingValueCache::GetExtComputationPrimvars ( SdfPath const path) const
inline

Definition at line 438 of file valueCache.h.

TfTokenVector& UsdImagingValueCache::GetExtComputationSceneInputNames ( SdfPath const path) const
inline

Definition at line 424 of file valueCache.h.

GfRange3d& UsdImagingValueCache::GetExtent ( SdfPath const path) const
inline

Definition at line 382 of file valueCache.h.

VtValue& UsdImagingValueCache::GetInstanceIndices ( SdfPath const path) const
inline

Definition at line 388 of file valueCache.h.

GfMatrix4d& UsdImagingValueCache::GetInstancerTransform ( SdfPath const path) const
inline

Definition at line 385 of file valueCache.h.

SdfPath& UsdImagingValueCache::GetMaterialId ( SdfPath const path) const
inline

Definition at line 418 of file valueCache.h.

VtValue& UsdImagingValueCache::GetMaterialResource ( SdfPath const path) const
inline

Definition at line 421 of file valueCache.h.

VtValue& UsdImagingValueCache::GetNormals ( SdfPath const path) const
inline

Definition at line 412 of file valueCache.h.

VtValue& UsdImagingValueCache::GetOpacity ( SdfPath const path) const
inline

Definition at line 373 of file valueCache.h.

VtValue& UsdImagingValueCache::GetPoints ( SdfPath const path) const
inline

Definition at line 391 of file valueCache.h.

VtValue& UsdImagingValueCache::GetPrimvar ( SdfPath const path,
TfToken const name 
) const
inline

Definition at line 415 of file valueCache.h.

HdPrimvarDescriptorVector& UsdImagingValueCache::GetPrimvars ( SdfPath const path) const
inline

Definition at line 397 of file valueCache.h.

TfToken& UsdImagingValueCache::GetPurpose ( SdfPath const path) const
inline

Definition at line 394 of file valueCache.h.

VtValue& UsdImagingValueCache::GetTopology ( SdfPath const path) const
inline

Definition at line 400 of file valueCache.h.

GfMatrix4d& UsdImagingValueCache::GetTransform ( SdfPath const path) const
inline

Definition at line 403 of file valueCache.h.

bool& UsdImagingValueCache::GetVisible ( SdfPath const path) const
inline

Definition at line 406 of file valueCache.h.

VtValue& UsdImagingValueCache::GetWidths ( SdfPath const path) const
inline

Definition at line 409 of file valueCache.h.

UsdImagingValueCache& UsdImagingValueCache::operator= ( const UsdImagingValueCache )
delete

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