11 #ifndef __SOP_PolyBridge__
12 #define __SOP_PolyBridge__
48 const char *
inputLabel(
unsigned idx)
const override;
50 void readPairingsFromParms(BridgeBundle &bundle);
59 const char *attrib_name);
61 void updateAffectedNormals(
bool add_vertex_normals,
64 bool cusp_src,
bool cusp_dst,
68 static int initExplicitSrcDirStatic(
void *,
int idx,
71 static int initExplicitDstDirStatic(
void *,
int idx,
74 int initExplicitSrcDir(
fpreal t);
75 int initExplicitDstDir(
fpreal t);
79 ChainPointInfo() =
default;
80 ChainPointInfo(
int chain,
int idx) :
81 chain_number(chain), index_in_chain(idx), degree(1)
84 void bumpDegree() { degree++; }
86 int chain_number = -1;
87 int index_in_chain = -1;
123 UT_Vector3 myLastSrcLoopNormal = { 0.0, 0.0, 0.0 };
124 UT_Vector3 myLastDstLoopNormal = { 0.0, 0.0, 0.0 };
virtual bool updateParmsFlags()
GU_Spine::Positioning SpinePositioning
static const char * theDstNormalAttribName
static const char * theSrcCentroidAttribName
virtual const char * inputLabel(unsigned idx) const
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
UT_Array< GA_Offset > GA_OffsetArray
An bi-directional stream object that owns its own string buffer storage.
GLuint const GLchar * name
virtual OP_ERROR cookInputGroups(OP_Context &context, int alone=0)
static const char * theDstCentroidAttribName
static const char * theSrcNormalAttribName
GU_Spine::SampleMode SpineSampleMethod
const GEO_DetachedHedgeInterface HedgeInterface
UT_Array< bool > BoolArray
virtual OP_ERROR cookMySop(OP_Context &context)=0