40 using namespace HDK_Sample;
122 for( i = 0; i <
size; i++ )
124 theTemplate[i] = obj_template[i];
125 theTemplate[i].
getToken( parm_name );
129 if( parm_name !=
"t" && parm_name !=
"stdswitcher" )
130 copyParmWithInvisible( obj_template[i], theTemplate[i] );
PRM_Default * getFactoryDefaults() const
void extractRotate(UT_Matrix3T< S > &dst) const
const UT_Matrix4D & getLocalXform() const
const PRM_Type & getType() const
void initialize(PRM_Type thetype, PRM_TypeExtended thetype_ext, PRM_Export theexportlevel, int thevectorsize, PRM_Name *thenameptr, PRM_Default *thedefaults, PRM_ChoiceList *thechoicelistptr, PRM_Range *therangeptr, PRM_Callback thecallbackfunc, PRM_SpareData *thespareptr, int theparmgroup, const char *thehelptext, PRM_ConditionalBase *thecondptr)
static OP_TemplatePair * buildTemplatePair(OP_TemplatePair *prevstuff)
static const char * theChildTableName
PRM_Callback getCallback() const
PRM_SpareData * getSparePtr()
bool addOperator(OP_Operator *op, std::ostream *err=nullptr)
static PRM_Template * getTemplateList(OBJ_ParmsStyle style)
const UT_StringHolder & getHelpText() const
int getExpressionFlag() const
const PRM_Range * getRangePtr() const
OP_ERROR cookMyObj(OP_Context &context) override
SIM_API const UT_StringHolder rotation
virtual OP_ERROR cookMyObj(OP_Context &context)
void setLocalXform(const UT_Matrix4D &m)
static OP_Node * myConstructor(OP_Network *net, const char *name, OP_Operator *entry)
GLuint const GLchar * name
OBJ_WorldAlign(OP_Network *net, const char *name, OP_Operator *op)
void getToken(UT_String &thestrref) const
GLenum GLenum GLsizei void * table
const UT_Matrix4D & getWorldXform() const
int getVectorSize() const
PRM_TypeExtended getTypeExtended() const
void setWorldXform(const UT_Matrix4D &m)
void newObjectOperator(OP_OperatorTable *table)
PRM_Export exportLevel() const
void harden()
Do a deep copy of its internal references.
const PRM_ChoiceList * getChoiceListPtr() const
PRM_API const PRM_Type PRM_TYPE_INVISIBLE
~OBJ_WorldAlign() override
PRM_ConditionalBase * getConditionalBasePtr()
void getLabel(UT_String &thestrref) const
static int countTemplates(const PRM_Template *templates, bool for_switcher=false, bool for_joins=false, bool for_rows=false)