10 #ifndef __ROP_RenderCmdParms_h__
11 #define __ROP_RenderCmdParms_h__
22 class SOHO_ParmOverride;
32 myIgnoreInputs(false),
33 myInterleaveFrames(false),
34 myIgnoreBypass(false),
36 myTrackDependencies(false),
37 myPrintDependencies(false),
38 myPrintFullPath(false),
39 myCondenseRanges(false),
45 myValidationFlags(0) {}
58 void setFrameIncrement(
fpreal finc);
59 bool getFrameIncrement(
fpreal &finc);
64 void setOutputFile(
const char *output);
68 void setOutputFormat(
const char *fmt);
75 void setResolution(
int xres,
int yres);
78 void setToFlipbook(
bool on =
true);
91 { myInterleaveFrames = on; }
107 { myTrackDependencies = on; }
123 bool print_full_path,
124 bool condense_ranges)
126 myPrintDependencies = print_dependencies;
127 myPrintFullPath = print_full_path;
128 myCondenseRanges = condense_ranges;
132 if (myPrintDependencies)
134 return myPrintDependencies;
140 return myPrintFullPath;
144 if (myCondenseRanges)
146 return myCondenseRanges;
167 return myROPDependencies;
176 return myFrameDependencies;
181 int addROPDependency(
ROP_Node *node);
185 void addFrameDependency(
int node_id,
fpreal frame);
187 void setSohoString(
const char *parm,
const char *
value);
188 void setSohoReal(
const char*parm,
fpreal *
value,
int vsize=1);
189 void setSohoInt(
const char*parm,
int *
value,
int vsize=1);
192 void setValidationFlag(
int flag,
bool on =
true);
193 bool testValidationFlag(
int flag);
198 const char *myOutputFile;
199 const char *myOutputFormat;
203 bool myInterleaveFrames;
206 bool myTrackDependencies;
207 bool myPrintDependencies;
208 bool myPrintFullPath;
209 bool myCondenseRanges;
212 std::ostream *myOutStream;
213 std::ostream *myErrStream;
214 SOHO_ParmOverride *mySohoParms;
219 int myValidationFlags;
bool isInterleaveFrames()
void setInterleaveFrames(bool on=true)
void setIgnoreBypass(bool on=true)
void setIgnoreLock(bool on=true)
void setQuality(int quality)
const UT_ValArray< ROP_Node * > & getROPDependencies()
const UT_Array< UT_FprealArray > & getFrameDependencies()
void setPrintDependencies(bool print_dependencies, bool print_full_path, bool condense_ranges)
void setErrStream(std::ostream *err)
std::ostream * getErrStream()
const char * getOutputFormat()
GA_API const UT_StringHolder scale
void setIgnoreInputs(bool on=true)
void setOutStream(std::ostream *out)
std::ostream * getOutStream()
bool isTrackDependencies()
bool isFrameMerge() const
void setFrameMerge(bool merge=true)
bool isPrintDependencies()
const char * getOutputFile()
void setTrackDependencies(bool on=true)
SOHO_ParmOverride * getSohoParms()