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

#include <basisCurves.h>

+ Inheritance diagram for HdBasisCurves:

Public Member Functions

virtual HD_API ~HdBasisCurves ()
 
HdBasisCurvesTopology GetBasisCurvesTopology (HdSceneDelegate *delegate) const
 
HdDisplayStyle GetDisplayStyle (HdSceneDelegate *delegate) const
 
HD_API TfTokenVector constGetBuiltinPrimvarNames () const override
 
- Public Member Functions inherited from HdRprim
HD_API HdRprim (SdfPath const &id, SdfPath const &instancerId)
 
virtual HD_API ~HdRprim ()
 
HD_API const
HdRepr::DrawItemUniquePtrVector
GetDrawItems (TfToken const &reprToken) const
 
virtual HD_API void Finalize (HdRenderParam *renderParam)
 
SdfPath constGetId () const
 
int32_t GetPrimId () const
 Return the unique instance id. More...
 
HD_API void SetPrimId (int32_t primId)
 Set the unique instance id. More...
 
SdfPath constGetInstancerId () const
 
SdfPath constGetMaterialId () const
 
TfToken constGetMaterialTag () const
 
HdReprSelector constGetReprSelector () const
 
TfToken GetRenderTag (HdSceneDelegate *delegate) const
 Returns the render tag associated to this rprim. More...
 
GfRange3d GetExtent (HdSceneDelegate *delegate) const
 Returns the bounds of the rprim in local, untransformed space. More...
 
HdPrimvarDescriptorVector GetPrimvarDescriptors (HdSceneDelegate *delegate, HdInterpolation interpolation) const
 Primvar Query. More...
 
VtValue GetPrimvar (HdSceneDelegate *delegate, const TfToken &name) const
 
HD_API VtMatrix4dArray GetInstancerTransforms (HdSceneDelegate *delegate)
 
HD_API bool IsDirty (HdChangeTracker &changeTracker) const
 Returns true if any dirty flags are set for this rprim. More...
 
bool IsVisible () const
 Is the prim itself visible. More...
 
HD_API void UpdateReprSelector (HdSceneDelegate *delegate, HdDirtyBits *dirtyBits)
 
virtual HdDirtyBits GetInitialDirtyBitsMask () const =0
 
HD_API bool CanSkipDirtyBitPropagationAndSync (HdDirtyBits bits) const
 
HD_API HdDirtyBits PropagateRprimDirtyBits (HdDirtyBits bits)
 
HD_API void InitRepr (HdSceneDelegate *delegate, TfToken const &reprToken, HdDirtyBits *dirtyBits)
 
virtual void Sync (HdSceneDelegate *delegate, HdRenderParam *renderParam, HdDirtyBits *dirtyBits, TfToken const &reprToken)=0
 

Static Public Member Functions

static HD_API void ConfigureRepr (TfToken const &reprName, HdBasisCurvesReprDesc desc)
 Configure geometric style of drawItems for reprName. More...
 
static HD_API bool IsEnabledForceRefinedCurves ()
 Returns whether refinement is always on or not. More...
 

Protected Types

typedef _ReprDescConfigs
< HdBasisCurvesReprDesc
_BasisCurvesReprConfig
 
- Protected Types inherited from HdRprim
typedef std::vector< std::pair
< TfToken, HdReprSharedPtr > > 
_ReprVector
 Sets a new material binding to be used by this rprim. More...
 

Protected Member Functions

HD_API HdBasisCurves (SdfPath const &id, SdfPath const &instancerId=SdfPath())
 
- Protected Member Functions inherited from HdRprim
HD_API HdReprSharedPtr const_GetRepr (TfToken const &reprToken) const
 Sets a new material binding to be used by this rprim. More...
 
HD_API void _UpdateVisibility (HdSceneDelegate *sceneDelegate, HdDirtyBits *dirtyBits)
 Sets a new material binding to be used by this rprim. More...
 
HD_API void _SetMaterialId (HdChangeTracker &changeTracker, SdfPath const &materialId)
 Sets a new material binding to be used by this rprim. More...
 
HD_API uint64_t _ComputeSharedPrimvarId (uint64_t baseId, HdBufferSourceSharedPtrVector const &sources, HdComputationSharedPtrVector const &computations) const
 Sets a new material binding to be used by this rprim. More...
 
virtual HdDirtyBits _PropagateDirtyBits (HdDirtyBits bits) const =0
 
virtual void _InitRepr (TfToken const &reprToken, HdDirtyBits *dirtyBits)=0
 

Static Protected Member Functions

static HD_API
_BasisCurvesReprConfig::DescArray 
_GetReprDesc (TfToken const &reprName)
 
- Static Protected Member Functions inherited from HdRprim
static HD_API bool _IsEnabledSharedVertexPrimvar ()
 Sets a new material binding to be used by this rprim. More...
 

Detailed Description

Hydra Schema for a collection of curves using a particular basis.

Definition at line 66 of file basisCurves.h.

Member Typedef Documentation

Constructor & Destructor Documentation

virtual HD_API HdBasisCurves::~HdBasisCurves ( )
virtual
HD_API HdBasisCurves::HdBasisCurves ( SdfPath const id,
SdfPath const instancerId = SdfPath() 
)
protected

Member Function Documentation

static HD_API _BasisCurvesReprConfig::DescArray HdBasisCurves::_GetReprDesc ( TfToken const reprName)
staticprotected
static HD_API void HdBasisCurves::ConfigureRepr ( TfToken const reprName,
HdBasisCurvesReprDesc  desc 
)
static

Configure geometric style of drawItems for reprName.

HdBasisCurvesTopology HdBasisCurves::GetBasisCurvesTopology ( HdSceneDelegate delegate) const
inline

Topology

Definition at line 110 of file basisCurves.h.

HD_API TfTokenVector const& HdBasisCurves::GetBuiltinPrimvarNames ( ) const
overridevirtual

Returns the names of built-in primvars, i.e. primvars that are part of the core geometric schema for this prim.

Implements HdRprim.

HdDisplayStyle HdBasisCurves::GetDisplayStyle ( HdSceneDelegate delegate) const
inline

Definition at line 116 of file basisCurves.h.

static HD_API bool HdBasisCurves::IsEnabledForceRefinedCurves ( )
static

Returns whether refinement is always on or not.


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