12 #ifndef __OBJ_Geometry_h__
13 #define __OBJ_Geometry_h__
42 #define INT_OBJ_PARM(name, idx) evalInt(name, &getIndirect()[idx], 0, 0.0)
112 {
return geoIndirect; }
128 int DETAIL_BLUR(
fpreal t);
131 int AUTOREFLECT(
fpreal t);
153 return myShadeOpenCurves;
158 return myDisplaySubD;
169 void fetchGeoDispOpts()
171 if(myGeoDispOptMicroNode.requiresUpdate(0.0))
179 myGeoDispOptMicroNode.addExplicitInput(
184 myGeoDispOptMicroNode.addExplicitInput(
186 myGeoDispOptMicroNode.update(0.0);
195 int myOnionSkinState;
196 int myShadeOpenCurves;
199 static int *geoIndirect;
GT_API const UT_StringHolder selection
int VPORT_DISPLAYASSUBDIV() override
virtual int isObjectLitBySubnet(OBJ_Node *, fpreal)
int VPORT_SHADEOPEN() override
int * getIndirect() const override
#define INT_OBJ_PARM(name, idx)
virtual int collectPropertiesFromParms(PI_EditScriptedParms &editparms, UT_StringArray &names, PRM_ParmNameMap &nmap)
virtual OBJ_OBJECT_TYPE getObjectType() const =0
virtual SOP_ObjectAppearancePtr getObjectAppearance()
int doDrawLit() const override
virtual bool isLightInLightMask(const OBJ_Node *light, fpreal now)
Function to resolve lighting based on light masks.
virtual int * getIndirect() const =0
virtual int collectPropertiesFromChannels(PI_EditScriptedParms &editparms, UT_BitArray &selection, const CH_ChannelList &channels)
GLuint const GLchar * name
void resolveObsoleteParms(PRM_ParmList *obsolete_parms) override
DEP_MicroNode & parmMicroNode(int parm_idx, int vi)
that also have some descendant prim *whose name begins with which in turn has a child named baz where *the predicate active
virtual int isObjectLitBy(OBJ_Node *, fpreal)
static void buildPrimitiveGroupMenu(void *o, PRM_Name *, int, const PRM_SpareData *, const PRM_Parm *)
virtual void buildParmDependency(int parm_index)
virtual void getActingLightSubset(const UT_ValArray< OBJ_Ambient * > &lights, UT_ValArray< OBJ_Ambient * > &active, fpreal t)
static PRM_Template * getObsolete()
ImageBuf OIIO_API channels(const ImageBuf &src, int nchannels, cspan< int > channelorder, cspan< float > channelvalues={}, cspan< std::string > newchannelnames={}, bool shuffle_channel_names=false, int nthreads=0)
virtual obj_OnionSkin getOnionSkin()
OBJ_Geometry * castToOBJGeometry() override