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

#include <GU_VolumeRasterize.h>

+ Inheritance diagram for GU_VolumeRasterizePointAsPrimList:

Public Member Functions

 GU_VolumeRasterizePointAsPrimList (const GU_Detail *gdp, const GA_OffsetList &ptlist, bool scaletexturespace)
 
 ~GU_VolumeRasterizePointAsPrimList () override
 
void setDisplaceBounds (fpreal relative, fpreal absolute)
 
exint numPrimitives () const override
 
void getBBox (exint prim, UT_BoundingBox &bbox) const override
 
bool canValidate (exint prim) const override
 
bool validateBBox (exint prim, const UT_BoundingBox &bbox) const override
 
void fillBindings (const UT_ExintArray &primnum, UT_Array< GU_VolumeRasterizeBinding > &bindings) const override
 
void proposeBindings (UT_Array< GU_VolumeRasterizeBinding > &bindings) const override
 Returns a list of bindings that we know how to write to. More...
 
void getInverseXform (exint prim, UT_Matrix4 &xform) const
 Computes the transform world position to texture coordinates. More...
 
void getXform (exint prim, UT_Matrix4 &xform) const
 Computes the tranform from texture to world. More...
 
- Public Member Functions inherited from GU_VolumeRasterizePrimList
 GU_VolumeRasterizePrimList ()
 
virtual ~GU_VolumeRasterizePrimList ()
 
virtual void initThread (const UT_JobInfo &info, void **threaddata) const
 
virtual void endThread (const UT_JobInfo &info, void *threaddata) const
 

Detailed Description

Definition at line 103 of file GU_VolumeRasterize.h.

Constructor & Destructor Documentation

GU_VolumeRasterizePointAsPrimList::GU_VolumeRasterizePointAsPrimList ( const GU_Detail gdp,
const GA_OffsetList ptlist,
bool  scaletexturespace 
)
GU_VolumeRasterizePointAsPrimList::~GU_VolumeRasterizePointAsPrimList ( )
override

Member Function Documentation

bool GU_VolumeRasterizePointAsPrimList::canValidate ( exint  prim) const
overridevirtual

Reimplemented from GU_VolumeRasterizePrimList.

void GU_VolumeRasterizePointAsPrimList::fillBindings ( const UT_ExintArray primnum,
UT_Array< GU_VolumeRasterizeBinding > &  bindings 
) const
overridevirtual

Initialize a block binding information. This is responsible for passing to the rasterizer information about the primitives. It takes a worldspace location in P which is present as one of the bindings that is already filled out.

Implements GU_VolumeRasterizePrimList.

void GU_VolumeRasterizePointAsPrimList::getBBox ( exint  prim,
UT_BoundingBox bbox 
) const
overridevirtual
void GU_VolumeRasterizePointAsPrimList::getInverseXform ( exint  prim,
UT_Matrix4 xform 
) const

Computes the transform world position to texture coordinates.

void GU_VolumeRasterizePointAsPrimList::getXform ( exint  prim,
UT_Matrix4 xform 
) const

Computes the tranform from texture to world.

exint GU_VolumeRasterizePointAsPrimList::numPrimitives ( ) const
overridevirtual
void GU_VolumeRasterizePointAsPrimList::proposeBindings ( UT_Array< GU_VolumeRasterizeBinding > &  bindings) const
overridevirtual

Returns a list of bindings that we know how to write to.

Implements GU_VolumeRasterizePrimList.

void GU_VolumeRasterizePointAsPrimList::setDisplaceBounds ( fpreal  relative,
fpreal  absolute 
)
bool GU_VolumeRasterizePointAsPrimList::validateBBox ( exint  prim,
const UT_BoundingBox bbox 
) const
overridevirtual

Reimplemented from GU_VolumeRasterizePrimList.


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