12 #ifndef __OBJ_Camera_h__
13 #define __OBJ_Camera_h__
67 static OBJ_Camera *getIPRCamera(
bool *created=
nullptr);
76 void addInterestOnCameraParms(
OP_Node *node);
82 std::ostream &os)
override;
93 {
return camIndirect; }
116 void getProjectionMatrix(
const OP_Context &context,
125 virtual int PROJECTION(
fpreal t);
126 virtual int REMOVESCALE(
fpreal t);
151 int ROTOSOURCE(
fpreal now);
154 int ROTO_OVERRIDE(
fpreal now);
158 int TRACKWINCHANS(
fpreal t);
182 int cookDependentInt(
const char *name,
fpreal now,
186 static int *camIndirect;
GT_API const UT_StringHolder selection
OBJ_ProjectionType projection
int * getIndirect() const override
virtual int collectPropertiesFromParms(PI_EditScriptedParms &editparms, UT_StringArray &names, PRM_ParmNameMap &nmap)
virtual OBJ_OBJECT_TYPE getObjectType() const =0
virtual void saveDialogScriptExtraInfo(std::ostream &os)
OBJ_Camera * castToOBJCamera() override
virtual int collectPropertiesFromChannels(PI_EditScriptedParms &editparms, UT_BitArray &selection, const CH_ChannelList &channels)
virtual OP_ERROR cookMyObj(OP_Context &context)
GLuint const GLchar * name
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)