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

#include <GU_Copy.h>

Public Types

enum  GU_AttribOp { GU_SET_ATTRIB, GU_ADD_ATTRIB, GU_SUB_ATTRIB, GU_MUL_ATTRIB }
 

Public Member Functions

 GU_CopyParms ()
 
 ~GU_CopyParms ()
 
void setTemplate (const GU_Detail &gdp, const GA_PointGroup *ptgrp=0)
 
void setPointAttrib (const char *pattern, GU_AttribOp op)
 
void setPrimAttrib (const char *pattern, GU_AttribOp op)
 
void setVertexAttrib (const char *pattern, GU_AttribOp op)
 
void setKeepVectorLength (int onoff)
 
void setPreserveGroups (int onoff)
 
void setKeepInternalGroups (bool keep)
 
void setTransformCallback (GU_CopyTransformCallback callback)
 
void setGroupNameCallback (GU_CopyGroupNameCallback callback)
 
void setSource (const GU_Detail *gdp, const GA_PrimitiveGroup *primgrp=0)
 
void setSourceCallback (GU_CopySourceCallback callback)
 
void copy (GU_Detail &gdp, int ncopies, void *data=0)
 
void applyPointMap (GA_Offset ptoff, GA_Offset tptoff) const
 
void applyPrimMap (GA_Detail *detail, GA_Offset primoff, GA_Offset tptoff) const
 
bool needToApplyPointMap () const
 
bool needToApplyPrimMap () const
 

Detailed Description

Definition at line 50 of file GU_Copy.h.

Member Enumeration Documentation

Enumerator
GU_SET_ATTRIB 
GU_ADD_ATTRIB 
GU_SUB_ATTRIB 
GU_MUL_ATTRIB 

Definition at line 56 of file GU_Copy.h.

Constructor & Destructor Documentation

GU_CopyParms::GU_CopyParms ( )
GU_CopyParms::~GU_CopyParms ( )

Member Function Documentation

void GU_CopyParms::applyPointMap ( GA_Offset  ptoff,
GA_Offset  tptoff 
) const
void GU_CopyParms::applyPrimMap ( GA_Detail detail,
GA_Offset  primoff,
GA_Offset  tptoff 
) const
void GU_CopyParms::copy ( GU_Detail gdp,
int  ncopies,
void data = 0 
)
bool GU_CopyParms::needToApplyPointMap ( ) const
inline

Definition at line 101 of file GU_Copy.h.

bool GU_CopyParms::needToApplyPrimMap ( ) const
inline

Definition at line 105 of file GU_Copy.h.

void GU_CopyParms::setGroupNameCallback ( GU_CopyGroupNameCallback  callback)
inline

Definition at line 75 of file GU_Copy.h.

void GU_CopyParms::setKeepInternalGroups ( bool  keep)
inline

Definition at line 70 of file GU_Copy.h.

void GU_CopyParms::setKeepVectorLength ( int  onoff)
inline

Definition at line 68 of file GU_Copy.h.

void GU_CopyParms::setPointAttrib ( const char *  pattern,
GU_AttribOp  op 
)
void GU_CopyParms::setPreserveGroups ( int  onoff)
inline

Definition at line 69 of file GU_Copy.h.

void GU_CopyParms::setPrimAttrib ( const char *  pattern,
GU_AttribOp  op 
)
void GU_CopyParms::setSource ( const GU_Detail gdp,
const GA_PrimitiveGroup primgrp = 0 
)
inline

Definition at line 82 of file GU_Copy.h.

void GU_CopyParms::setSourceCallback ( GU_CopySourceCallback  callback)
inline

Definition at line 89 of file GU_Copy.h.

void GU_CopyParms::setTemplate ( const GU_Detail gdp,
const GA_PointGroup ptgrp = 0 
)
void GU_CopyParms::setTransformCallback ( GU_CopyTransformCallback  callback)
inline

Definition at line 71 of file GU_Copy.h.

void GU_CopyParms::setVertexAttrib ( const char *  pattern,
GU_AttribOp  op 
)

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