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

#include <GU_PolyExtrude2.h>

Public Types

enum  ExtrusionMode { PRIM_OR_EDGE_NORMAL = 0, POINT_NORMAL }
 
using MorphMethod = GU_PolyBridge::MorphMethod
 
using SpineSampleMethod = GU_PolyBridge::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=nullptr, bool split_all=false)
 
 GU_PolyExtrude2 (GU_Detail *gdp, const GA_EdgeGroup *edges, const GA_PointGroup *split_points=nullptr, bool split_all=false)
 
 ~GU_PolyExtrude2 ()
 
void extrude (fpreal distance=0.0)
 
UT_Vector3 getXformHandleCenter () const
 
UT_Matrix4 getXformHandleXform () const
 
UT_Vector3 getDraggerStart () const
 
UT_Vector3 getDraggerDir () const
 
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 (const 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 43 of file GU_PolyExtrude2.h.

Member Typedef Documentation

Member Enumeration Documentation

Enumerator
PRIM_OR_EDGE_NORMAL 
POINT_NORMAL 

Definition at line 59 of file GU_PolyExtrude2.h.

Constructor & Destructor Documentation

GU_PolyExtrude2::GU_PolyExtrude2 ( GU_Detail gdp,
const GA_PrimitiveGroup prims,
const GA_EdgeGroup split_edges = nullptr,
bool  split_all = false 
)
GU_PolyExtrude2::GU_PolyExtrude2 ( GU_Detail gdp,
const GA_EdgeGroup edges,
const GA_PointGroup split_points = nullptr,
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 ( ) const
inline

Definition at line 75 of file GU_PolyExtrude2.h.

UT_Vector3 GU_PolyExtrude2::getDraggerStart ( ) const
inline

Definition at line 74 of file GU_PolyExtrude2.h.

UT_Vector3 GU_PolyExtrude2::getXformHandleCenter ( ) const
UT_Matrix4 GU_PolyExtrude2::getXformHandleXform ( ) const
bool GU_PolyExtrude2::isTrivial ( ) const
void GU_PolyExtrude2::limitInset ( bool  limit,
bool  common_limit 
)
inline

Definition at line 167 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setAxialRotation ( fpreal  r)
inline

Definition at line 133 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setBackGroup ( GA_PrimitiveGroup grp)
inline

Definition at line 101 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setBackGroup ( GA_EdgeGroup grp)
inline

Definition at line 104 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setBackSeamGroup ( GA_EdgeGroup grp)
inline

Definition at line 113 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setDeviationTolerance ( fpreal  a)
inline

Definition at line 131 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setDivisions ( int  div)
inline

Definition at line 123 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setExternalSpine ( const GEO_Face curve)
inline

Definition at line 141 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setExtrusionMode ( ExtrusionMode  m)
inline

Definition at line 80 of file GU_PolyExtrude2.h.

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

Definition at line 135 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setFrontGroup ( GA_PrimitiveGroup grp)
inline

Definition at line 95 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setFrontGroup ( GA_EdgeGroup grp)
inline

Definition at line 98 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setFrontSeamGroup ( GA_EdgeGroup grp)
inline

Definition at line 110 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setInset ( float  inset)
inline

Definition at line 122 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 155 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setMorphMethod ( MorphMethod  m)
inline

Definition at line 82 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setOutputBack ( bool  b)
inline

Definition at line 86 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setOutputFront ( bool  b)
inline

Definition at line 85 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setOutputSide ( bool  b)
inline

Definition at line 87 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setPointNormalAttrib ( GA_ROHandleV3  ptnml)
inline

Definition at line 92 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setPreserveGroups ( bool  b)
inline

Definition at line 124 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setReverseSpine ( bool  b)
inline

Definition at line 154 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setSelectionGroup ( GA_PrimitiveGroup grp)
inline

Definition at line 116 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setSelectionGroup ( GA_EdgeGroup grp)
inline

Definition at line 119 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setSideGroup ( GA_PrimitiveGroup grp)
inline

Definition at line 107 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 151 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setSpineSampleMethod ( SpineSampleMethod  m)
inline

Definition at line 164 of file GU_PolyExtrude2.h.

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

Definition at line 158 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setStraightSpine ( bool  b)
inline

Definition at line 125 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setThicknessAttrib ( GA_Attribute attrib)
inline

Definition at line 145 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setThicknessRamp ( UT_Ramp r)
inline

Definition at line 129 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setThicknessScale ( fpreal  s)
inline

Definition at line 127 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setTwist ( fpreal  t)
inline

Definition at line 126 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setTwistAttrib ( GA_Attribute attrib)
inline

Definition at line 148 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setTwistRamp ( UT_Ramp r)
inline

Definition at line 130 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setTwistScale ( fpreal  s)
inline

Definition at line 128 of file GU_PolyExtrude2.h.

void GU_PolyExtrude2::setUseExistingPointNormal ( bool  b)
inline

Definition at line 89 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: