HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_AgentShapeDeformer Class Referenceabstract

Defines a deformer for an agent shape. More...

#include <GU_AgentShapeDeformer.h>

+ Inheritance diagram for GU_AgentShapeDeformer:

Public Member Functions

 GU_AgentShapeDeformer (const UT_StringHolder &name)
 
virtual ~GU_AgentShapeDeformer ()=default
 
const UT_StringHoldername () const
 
virtual void deform (GU_Detail &gdp, const GA_Range &pt_range, const GU_AgentShapeLib::Shape &src_shape, const GU_Agent &src_agent) const =0
 Deform pt_range in gdp, which was unpacked from the given shape. More...
 
- Public Member Functions inherited from UT_IntrusiveRefCounter< GU_AgentShapeDeformer >
SYS_FORCE_INLINE UT_IntrusiveRefCounter ()
 Default constructor: Sets counter to 0. More...
 
SYS_FORCE_INLINE UT_IntrusiveRefCounter (const UT_IntrusiveRefCounter &)
 Copy constructor: Sets counter to 0. More...
 
UT_IntrusiveRefCounteroperator= (const UT_IntrusiveRefCounter &)
 Assignment operator: Does not modify counter. More...
 
SYS_FORCE_INLINE uint32 use_count () const
 Return current counter. More...
 

Additional Inherited Members

- Protected Member Functions inherited from UT_IntrusiveRefCounter< GU_AgentShapeDeformer >
SYS_FORCE_INLINE ~UT_IntrusiveRefCounter ()
 Destructor: Only derived classes can destruct this. More...
 

Detailed Description

Defines a deformer for an agent shape.

Definition at line 29 of file GU_AgentShapeDeformer.h.

Constructor & Destructor Documentation

GU_AgentShapeDeformer::GU_AgentShapeDeformer ( const UT_StringHolder name)
virtual GU_AgentShapeDeformer::~GU_AgentShapeDeformer ( )
virtualdefault

Member Function Documentation

virtual void GU_AgentShapeDeformer::deform ( GU_Detail gdp,
const GA_Range pt_range,
const GU_AgentShapeLib::Shape src_shape,
const GU_Agent src_agent 
) const
pure virtual

Deform pt_range in gdp, which was unpacked from the given shape.

Implemented in GU_AgentLinearSkinDeformer.

const UT_StringHolder& GU_AgentShapeDeformer::name ( void  ) const
inline

Unique identifier for the deformer. This is used when serializing layers to JSON.

Definition at line 39 of file GU_AgentShapeDeformer.h.


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