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

#include <points.h>

+ Inheritance diagram for HdPoints:

Public Member Functions

virtual HD_API ~HdPoints ()
HD_API TfTokenVector constGetBuiltinPrimvarNames () const override
- Public Member Functions inherited from HdRprim
HD_API HdRprim (SdfPath const &id)
virtual HD_API ~HdRprim ()
HD_API const
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
HD_API void SetMaterialId (SdfPath const &materialId)
 Sets a new material binding to be used by this rprim. More...
TfToken constGetMaterialTag () const
HD_API void SetMaterialTag (TfToken const &materialTag)
 Sets the material tag used by the rprim. More...
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
VtValue GetIndexedPrimvar (HdSceneDelegate *delegate, const TfToken &name, VtIntArray *indices) 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, const HdPointsReprDesc &desc)
 Configure geometric style of drawItems for reprName. More...

Protected Types

typedef _ReprDescConfigs
< HdPointsReprDesc
- Protected Types inherited from HdRprim
typedef std::vector< std::pair
< TfToken, HdReprSharedPtr > > 

Protected Member Functions

HD_API HdPoints (SdfPath const &id)
- Protected Member Functions inherited from HdRprim
HD_API HdReprSharedPtr const_GetRepr (TfToken const &reprToken) const
HD_API void _UpdateVisibility (HdSceneDelegate *sceneDelegate, HdDirtyBits *dirtyBits)
HD_API void _UpdateInstancer (HdSceneDelegate *sceneDelegate, HdDirtyBits *dirtyBits)
virtual HdDirtyBits _PropagateDirtyBits (HdDirtyBits bits) const =0
virtual void _InitRepr (TfToken const &reprToken, HdDirtyBits *dirtyBits)=0

Static Protected Member Functions

static HD_API
_GetReprDesc (TfToken const &reprName)

Detailed Description

Hydra Schema for a point cloud.

Definition at line 53 of file points.h.

Member Typedef Documentation

Definition at line 72 of file points.h.

Constructor & Destructor Documentation

virtual HD_API HdPoints::~HdPoints ( )
HD_API HdPoints::HdPoints ( SdfPath const id)

Constructor. instancerId, if specified, is the instancer which uses this point cloud as a prototype.

Member Function Documentation

static HD_API _PointsReprConfig::DescArray HdPoints::_GetReprDesc ( TfToken const reprName)
static HD_API void HdPoints::ConfigureRepr ( TfToken const reprName,
const HdPointsReprDesc desc 

Configure geometric style of drawItems for reprName.

HD_API TfTokenVector const& HdPoints::GetBuiltinPrimvarNames ( ) const

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

Implements HdRprim.

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