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

#include <GU_PolyExtrude2.h>

Public Types

enum  ExtrusionMode { PRIM_OR_EDGE_NORMAL = 0, POINT_NORMAL }
 
typedef GU_PolyBridge::MorphMethod MorphMethod
 
typedef
GU_PolyBridge::SpineSampleMethod 
SpineSampleMethod
 
using TextureMode = GU_PolyBridge::TextureMode
 
using TextureScaling = GU_PolyBridge::TextureScaling
 

Public Member Functions

 GU_PolyExtrude2 (GU_Detail *gdp, const GA_PrimitiveGroup *prims, const GA_EdgeGroup *split_edges=NULL, bool split_all=false)
 
 GU_PolyExtrude2 (GU_Detail *gdp, const GA_EdgeGroup *edges, const GA_PointGroup *split_points=NULL, bool split_all=false)
 
 ~GU_PolyExtrude2 ()
 
void extrude (fpreal distance=0.0)
 
UT_Vector3 getXformHandleCenter ()
 
UT_Matrix4 getXformHandleXform ()
 
UT_Vector3 getDraggerStart ()
 
UT_Vector3 getDraggerDir ()
 
bool isTrivial () const
 
void setExtrusionMode (ExtrusionMode m)
 
void setMorphMethod (MorphMethod m)
 
void setOutputFront (bool b)
 
void setOutputBack (bool b)
 
void setOutputSide (bool b)
 
void setUseExistingPointNormal (bool b)
 
void setPointNormalAttrib (GA_ROHandleV3 ptnml)
 
void setFrontGroup (GA_PrimitiveGroup *grp)
 
void setFrontGroup (GA_EdgeGroup *grp)
 
void setBackGroup (GA_PrimitiveGroup *grp)
 
void setBackGroup (GA_EdgeGroup *grp)
 
void setSideGroup (GA_PrimitiveGroup *grp)
 
void setFrontSeamGroup (GA_EdgeGroup *grp)
 
void setBackSeamGroup (GA_EdgeGroup *grp)
 
void setSelectionGroup (GA_PrimitiveGroup *grp)
 
void setSelectionGroup (GA_EdgeGroup *grp)
 
void setInset (float inset)
 
void setDivisions (int div)
 
void setPreserveGroups (bool b)
 
void setStraightSpine (bool b)
 
void setTwist (fpreal t)
 
void setThicknessScale (fpreal s)
 
void setTwistScale (fpreal s)
 
void setThicknessRamp (UT_Ramp *r)
 
void setTwistRamp (UT_Ramp *r)
 
void setDeviationTolerance (fpreal a)
 
void setAxialRotation (fpreal r)
 
void setExtSpineBlend (fpreal s, fpreal d)
 
void setXform (const UT_Matrix4 &frontxform, bool is_global=false)
 
void setExternalSpine (GEO_Face *curve)
 
void setThicknessAttrib (GA_Attribute *attrib)
 
void setTwistAttrib (GA_Attribute *attrib)
 
void setSpineRange (fpreal s, fpreal e)
 
void setReverseSpine (bool b)
 
void setMagnitudes (fpreal s, fpreal d)
 
void setStiffnesses (fpreal s, fpreal d)
 
void addVertexNormals (fpreal cusp_angle_degrees, bool cusp_front, bool cusp_back)
 
void setSpineSampleMethod (SpineSampleMethod m)
 
void limitInset (bool limit, bool common_limit)
 
void setLocalXDirAttrib (const char *attrib_name)
 
void setLocalZDirAttrib (const char *attrib_name)
 
void setLocalCtrAttrib (const char *attrib_name)
 
void setLocalDistScaleAttrib (const char *attrib_name)
 
void setLocalInsetScaleAttrib (const char *attrib_name)
 
void setLocalTwistScaleAttrib (const char *attrib_name)
 
void setLocalDivsScaleAttrib (const char *attrib_name)
 
void setSideTexturing (TextureMode mode, TextureScaling scaling)
 
fpreal getCompInsetScale (int k)
 
fpreal getCompDistScale (int k)
 
fpreal getCompTwistScale (int k)
 
fpreal getCompDivsScale (int k)
 

Detailed Description

Definition at line 38 of file GU_PolyExtrude2.h.

Member Typedef Documentation

Member Enumeration Documentation

Enumerator
PRIM_OR_EDGE_NORMAL 
POINT_NORMAL 

Definition at line 54 of file GU_PolyExtrude2.h.

Constructor & Destructor Documentation

GU_PolyExtrude2::GU_PolyExtrude2 ( GU_Detail gdp,
const GA_PrimitiveGroup prims,
const GA_EdgeGroup split_edges = NULL,
bool  split_all = false 
)
GU_PolyExtrude2::GU_PolyExtrude2 ( GU_Detail gdp,
const GA_EdgeGroup edges,
const GA_PointGroup split_points = NULL,
bool  split_all = false 
)
GU_PolyExtrude2::~GU_PolyExtrude2 ( )

Member Function Documentation

void GU_PolyExtrude2::addVertexNormals ( fpreal  cusp_angle_degrees,
bool  cusp_front,
bool  cusp_back 
)
void GU_PolyExtrude2::extrude ( fpreal  distance = 0.0)
fpreal GU_PolyExtrude2::getCompDistScale ( int  k)
fpreal GU_PolyExtrude2::getCompDivsScale ( int  k)
fpreal GU_PolyExtrude2::getCompInsetScale ( int  k)
fpreal GU_PolyExtrude2::getCompTwistScale ( int  k)
UT_Vector3 GU_PolyExtrude2::getDraggerDir ( )
UT_Vector3 GU_PolyExtrude2::getDraggerStart ( )
UT_Vector3 GU_PolyExtrude2::getXformHandleCenter ( )
UT_Matrix4 GU_PolyExtrude2::getXformHandleXform ( )
bool GU_PolyExtrude2::isTrivial ( ) const
void GU_PolyExtrude2::limitInset ( bool  limit,
bool  common_limit 
)
inline

Definition at line 162 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setAxialRotation ( fpreal  r)
inline

Definition at line 128 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setBackGroup ( GA_PrimitiveGroup grp)
inline

Definition at line 96 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setBackGroup ( GA_EdgeGroup grp)
inline

Definition at line 99 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setBackSeamGroup ( GA_EdgeGroup grp)
inline

Definition at line 108 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setDeviationTolerance ( fpreal  a)
inline

Definition at line 126 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setDivisions ( int  div)
inline

Definition at line 118 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setExternalSpine ( GEO_Face curve)
inline

Definition at line 136 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setExtrusionMode ( ExtrusionMode  m)
inline

Definition at line 75 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setExtSpineBlend ( fpreal  s,
fpreal  d 
)
inline

Definition at line 130 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setFrontGroup ( GA_PrimitiveGroup grp)
inline

Definition at line 90 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setFrontGroup ( GA_EdgeGroup grp)
inline

Definition at line 93 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setFrontSeamGroup ( GA_EdgeGroup grp)
inline

Definition at line 105 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setInset ( float  inset)
inline

Definition at line 117 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setLocalCtrAttrib ( const char *  attrib_name)
void GU_PolyExtrude2::setLocalDistScaleAttrib ( const char *  attrib_name)
void GU_PolyExtrude2::setLocalDivsScaleAttrib ( const char *  attrib_name)
void GU_PolyExtrude2::setLocalInsetScaleAttrib ( const char *  attrib_name)
void GU_PolyExtrude2::setLocalTwistScaleAttrib ( const char *  attrib_name)
void GU_PolyExtrude2::setLocalXDirAttrib ( const char *  attrib_name)
void GU_PolyExtrude2::setLocalZDirAttrib ( const char *  attrib_name)
void GU_PolyExtrude2::setMagnitudes ( fpreal  s,
fpreal  d 
)
inline

Definition at line 150 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setMorphMethod ( MorphMethod  m)
inline

Definition at line 77 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setOutputBack ( bool  b)
inline

Definition at line 81 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setOutputFront ( bool  b)
inline

Definition at line 80 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setOutputSide ( bool  b)
inline

Definition at line 82 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setPointNormalAttrib ( GA_ROHandleV3  ptnml)
inline

Definition at line 87 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setPreserveGroups ( bool  b)
inline

Definition at line 119 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setReverseSpine ( bool  b)
inline

Definition at line 149 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setSelectionGroup ( GA_PrimitiveGroup grp)
inline

Definition at line 111 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setSelectionGroup ( GA_EdgeGroup grp)
inline

Definition at line 114 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setSideGroup ( GA_PrimitiveGroup grp)
inline

Definition at line 102 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setSideTexturing ( TextureMode  mode,
TextureScaling  scaling 
)
void GU_PolyExtrude2::setSpineRange ( fpreal  s,
fpreal  e 
)
inline

Definition at line 146 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setSpineSampleMethod ( SpineSampleMethod  m)
inline

Definition at line 159 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setStiffnesses ( fpreal  s,
fpreal  d 
)
inline

Definition at line 153 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setStraightSpine ( bool  b)
inline

Definition at line 120 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setThicknessAttrib ( GA_Attribute attrib)
inline

Definition at line 140 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setThicknessRamp ( UT_Ramp r)
inline

Definition at line 124 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setThicknessScale ( fpreal  s)
inline

Definition at line 122 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setTwist ( fpreal  t)
inline

Definition at line 121 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setTwistAttrib ( GA_Attribute attrib)
inline

Definition at line 143 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setTwistRamp ( UT_Ramp r)
inline

Definition at line 125 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setTwistScale ( fpreal  s)
inline

Definition at line 123 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setUseExistingPointNormal ( bool  b)
inline

Definition at line 84 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setXform ( const UT_Matrix4 frontxform,
bool  is_global = false 
)

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