|
HDK
|
#include <TIL_ImageSource.h>
Inheritance diagram for TIL_ImageSource:Classes | |
| struct | ColorSpace |
Public Types | |
| enum | ColorSpaceMode { CS_HOUDINI, CS_OCIO_SPACE, CS_OCIO_DISPLAY_VIEW } |
Public Member Functions | |
| TIL_ImageSource () | |
| void | bumpRefCount (int i) |
| void | invalidate () |
| bool | isValid () const |
| virtual bool | willProvideFetcher () const |
| virtual fpreal | getGlobalTime ()=0 |
| virtual fpreal | getSampleRate ()=0 |
| virtual fpreal | getStartTime ()=0 |
| virtual fpreal | getEndTime ()=0 |
| virtual UT_StringHolder | getBottomLeftCaption () const |
| virtual UT_StringHolder | getTopRightCaption () const |
| int | getImageIndexFromTime (fpreal t) |
| int | getFrameFromTime (fpreal t) |
| virtual bool | doesImageExist (int, bool=true) |
| virtual int | getActualFrame (int frame) |
| virtual void | removeFrame (int) |
| virtual void | addFrame (int) |
| virtual void | removeSequence () |
| virtual bool | canAddFrame () |
| virtual bool | isNetwork () |
| virtual fpreal | getFrameTime (fpreal t, bool=false, const TIL_Sequence *=0) |
| virtual int | getFrameShift (int fr, bool=false, const TIL_Sequence *=0) |
| virtual int | getApparentFrame (int fr) |
| virtual const char * | getName ()=0 |
| virtual void | getFullName (UT_String &name)=0 |
| virtual void | getFrameName (int frame, UT_String &name) |
| virtual bool | equals (const TIL_ImageSource *) const =0 |
| virtual bool | open (short &, int=0, fpreal=TIL_GLOBAL_TIME) |
| virtual void | close (short) |
| virtual bool | isConstantSequence () const |
| virtual bool | isArbitrarilyZoomable () const |
| const TIL_Sequence * | getSequence (fpreal t, const UT_Options &options, bool skip_postprocessor=false) |
| Return a completed TIL_Sequence structure with postprocessing, if any. More... | |
| virtual const TIL_Sequence * | getSourceSequence (fpreal t, const UT_Options &options)=0 |
| Return a completed TIL_Sequence structure without postprocessing. More... | |
| virtual UT_Options | getDefaultOptions () const |
| const TIL_Sequence * | getSequence (fpreal t, bool skip_postprocessor=false) |
| virtual UT_TokenString * | getID (fpreal t, int xres, int yres, const TIL_Plane &plane, int array_index, const UT_Options &options)=0 |
| void | getImageBounds (const TIL_Plane &plane, int array_index, fpreal t, int xres, int yres, const UT_Options &options, int &x1, int &y1, int &x2, int &y2, bool skip_postprocessor=false) |
| virtual void | getSourceImageBounds (const TIL_Plane &plane, int array_index, fpreal t, int xres, int yres, const UT_Options &options, int &x1, int &y1, int &x2, int &y2) |
| virtual void | getCookRegions (TIL_CookRegionList ®ion)=0 |
| virtual bool | getPriorityCircle (float ¢rex, float ¢rey, float &radius) const |
| virtual int | getID () const =0 |
| int | getImage (TIL_Raster *image, fpreal t, int xres, int yres, const TIL_Plane &plane, int array_index, int xstart, int ystart, int xend, int yend, float gamma, const UT_Options &options, bool include_alpha=false, bool is_interactive=false, int fxres=0, int fyres=0, bool skip_postprocessor=false) |
| virtual int | getSourceImage (TIL_Raster *image, fpreal t, int xres, int yres, const TIL_Plane &plane, int array_index, int xstart, int ystart, int xend, int yend, float gamma, const UT_Options &, bool include_alpha=false, bool is_interactive=false, int fxres=0, int fyres=0)=0 |
| virtual void | getInfo (UT_WorkBuffer &infotext) |
| virtual void | getComment (UT_String &comment, fpreal t) |
| virtual void | setComment (const UT_String &comment, fpreal t) |
| virtual int | writeImage (const char *filename, const IMG_TileOptions *finfo, const TIL_Sequence *, int step, const ColorSpace &cspace, void(*info)(void *, const char *), void *data, bool suppress_summary_dialog, bool overwrite) |
| virtual int | writeImage (const char *filename, const IMG_TileOptions *finfo, int xres, int yres, const char *color, const char *alpha, int start, int end, int step, const ColorSpace &cspace, void(*info)(void *, const char *), void *data, bool suppress_summary_dialog, bool overwrite) |
| virtual void | writeImageComplete (int successcount, int failcount, const UT_String &failedfiles) |
| virtual bool | isCachingNeeded (int) const |
| virtual size_t | getVersion () |
| virtual bool | isFrameLocked (fpreal) const |
| virtual bool | isAnythingLocked () const |
| virtual bool | isPlaneLocked (const TIL_Plane *, fpreal) const |
| virtual const TIL_Plane * | getPreviewPlane (int) |
| virtual void | setMouseLocation (int mx, int my, float radius=64.0f) |
| virtual void | bumpVersion (bool) |
| virtual bool | isSlowOperation () const |
| virtual bool | getColorCurves (const char *planename, int array, fpreal t, TIL_ColorCurves &curves, UT_String &first, bool allnodes, int comp=-1, bool natural_range=true, float start=0.0f, float end=1.0f, int evalpoints=0) |
| virtual bool | allowUserSelection () const |
| virtual TIL_ImageSource * | selectParentSource (int px, int py, const char *planename, int array_index) |
| virtual bool | hasPixelScript (int slot) const |
| virtual bool | runPixelScript (int px, int py, int slot) |
| virtual bool | isStereoscopicSource (fpreal t) const |
| virtual int | getLeftPlaneIndex (fpreal t) const |
| virtual const char * | getLeftPlaneName (fpreal t) const |
| virtual int | getRightPlaneIndex (fpreal t) const |
| virtual const char * | getRightPlaneName (fpreal t) const |
| virtual int64 | getMemoryUsage (bool inclusive) const =0 |
| virtual const IMG_Metadata * | getMetadata (int frame) const =0 |
| virtual const IMG_Metadata * | getPlaneMetadata (int frame, const UT_StringRef &planename) const |
| virtual fpreal | getRenderTime (int frame) const |
| virtual int64 | getPeakMemUsage (int frame) const |
| virtual OP_Node * | getOp () const |
| virtual bool | getPreferredViewingPlane (UT_WorkBuffer &buf) const |
| virtual bool | getStyleSheetJSON (int x, int y, UT_StringHolder &str) |
| virtual STY_StyleSheet * | getStyleSheet (int x, int y) |
| virtual OP_Node * | getMaterialNode (int x, int y) |
| virtual void | onAutoUpdate () |
| template<typename T , typename... Args> | |
| T * | setPostprocessor (Args &&...args) |
| const TIL_ImageSourcePostprocessor * | getPostprocessor () const |
| TIL_ImageSourcePostprocessor * | getPostprocessor () |
Protected Member Functions | |
| virtual | ~TIL_ImageSource () |
Definition at line 107 of file TIL_ImageSource.h.
| Enumerator | |
|---|---|
| CS_HOUDINI | |
| CS_OCIO_SPACE | |
| CS_OCIO_DISPLAY_VIEW | |
Definition at line 111 of file TIL_ImageSource.h.
| TIL_ImageSource::TIL_ImageSource | ( | ) |
|
protectedvirtual |
Definition at line 214 of file TIL_ImageSource.h.
|
inlinevirtual |
Reimplemented in COP2_ImageSource.
Definition at line 428 of file TIL_ImageSource.h.
|
inlinevirtual |
Definition at line 415 of file TIL_ImageSource.h.
|
inlinevirtual |
Definition at line 216 of file TIL_ImageSource.h.
|
inlinevirtual |
Reimplemented in COP2_ImageSource.
Definition at line 250 of file TIL_ImageSource.h.
|
inlinevirtual |
Reimplemented in COP2_ImageSource.
Definition at line 208 of file TIL_ImageSource.h.
|
pure virtual |
Implemented in COP2_ImageSource.
Definition at line 212 of file TIL_ImageSource.h.
Definition at line 232 of file TIL_ImageSource.h.
|
inlinevirtual |
Definition at line 200 of file TIL_ImageSource.h.
|
virtual |
Reimplemented in COP2_ImageSource.
|
pure virtual |
Implemented in COP2_ImageSource.
|
inlinevirtual |
Definition at line 273 of file TIL_ImageSource.h.
|
pure virtual |
Implemented in COP2_ImageSource.
Reimplemented in COP2_ImageSource.
|
inlinevirtual |
Reimplemented in COP2_ImageSource.
Definition at line 225 of file TIL_ImageSource.h.
|
inlinevirtual |
Reimplemented in COP2_ImageSource.
Definition at line 221 of file TIL_ImageSource.h.
Implemented in COP2_ImageSource.
|
pure virtual |
Implemented in COP2_ImageSource.
|
pure virtual |
Implemented in COP2_ImageSource.
|
pure virtual |
Implemented in COP2_ImageSource.
|
inline |
Definition at line 329 of file TIL_ImageSource.h.
|
inline |
Definition at line 290 of file TIL_ImageSource.h.
|
virtual |
Reimplemented in COP2_ImageSource.
|
virtual |
Definition at line 479 of file TIL_ImageSource.h.
|
pure virtual |
Implemented in COP2_ImageSource.
|
pure virtual |
Implemented in COP2_ImageSource.
|
pure virtual |
Implemented in COP2_ImageSource.
|
inlinevirtual |
Reimplemented in COP2_ImageSource.
Definition at line 462 of file TIL_ImageSource.h.
Definition at line 459 of file TIL_ImageSource.h.
|
virtual |
|
inline |
Get the current postprocessor.
Definition at line 504 of file TIL_ImageSource.h.
|
inline |
Definition at line 508 of file TIL_ImageSource.h.
|
inlinevirtual |
Reimplemented in COP2_ImageSource.
Definition at line 465 of file TIL_ImageSource.h.
Reimplemented in COP2_ImageSource.
Definition at line 410 of file TIL_ImageSource.h.
|
inlinevirtual |
Returns true iff there is currently a priority circle active. If there is, centrex, centrey, and radius are set to those of the circle.
Definition at line 319 of file TIL_ImageSource.h.
Definition at line 456 of file TIL_ImageSource.h.
|
virtual |
|
pure virtual |
Implemented in COP2_ImageSource.
|
inline |
Return a completed TIL_Sequence structure with postprocessing, if any.
Definition at line 258 of file TIL_ImageSource.h.
|
inline |
Definition at line 278 of file TIL_ImageSource.h.
|
pure virtual |
Implemented in COP2_ImageSource.
|
virtual |
Reimplemented in COP2_ImageSource.
|
pure virtual |
Return a completed TIL_Sequence structure without postprocessing.
Implemented in COP2_ImageSource.
|
pure virtual |
Implemented in COP2_ImageSource.
|
inlinevirtual |
Definition at line 475 of file TIL_ImageSource.h.
|
inlinevirtual |
Definition at line 470 of file TIL_ImageSource.h.
|
inlinevirtual |
Definition at line 201 of file TIL_ImageSource.h.
|
inlinevirtual |
Reimplemented in COP2_ImageSource.
Definition at line 405 of file TIL_ImageSource.h.
|
virtual |
|
inline |
Definition at line 189 of file TIL_ImageSource.h.
|
inlinevirtual |
Reimplemented in COP2_ImageSource.
Definition at line 407 of file TIL_ImageSource.h.
|
inlinevirtual |
Reimplemented in COP2_ImageSource.
Definition at line 255 of file TIL_ImageSource.h.
|
inlinevirtual |
Definition at line 402 of file TIL_ImageSource.h.
|
inlinevirtual |
Reimplemented in COP2_ImageSource.
Definition at line 253 of file TIL_ImageSource.h.
|
inlinevirtual |
Reimplemented in COP2_ImageSource.
Definition at line 406 of file TIL_ImageSource.h.
|
inlinevirtual |
Reimplemented in COP2_ImageSource.
Definition at line 218 of file TIL_ImageSource.h.
Reimplemented in COP2_ImageSource.
Definition at line 408 of file TIL_ImageSource.h.
|
inlinevirtual |
Reimplemented in COP2_ImageSource.
Definition at line 416 of file TIL_ImageSource.h.
|
virtual |
|
inline |
Definition at line 190 of file TIL_ImageSource.h.
|
inlinevirtual |
Definition at line 483 of file TIL_ImageSource.h.
|
inlinevirtual |
Reimplemented in COP2_ImageSource.
Definition at line 244 of file TIL_ImageSource.h.
Definition at line 213 of file TIL_ImageSource.h.
|
inlinevirtual |
Definition at line 215 of file TIL_ImageSource.h.
|
virtual |
Reimplemented in COP2_ImageSource.
|
inline |
Set the postprocessor, which will be checked and called when applicable, providing an opportunity to override the behaviour of this image source. The constructor for the postprocessor type T must accept a reference to the owning TIL_ImageSource as the first argument.
Definition at line 492 of file TIL_ImageSource.h.
|
inlinevirtual |
Definition at line 192 of file TIL_ImageSource.h.
|
virtual |
Reimplemented in COP2_ImageSource.
|
virtual |
Reimplemented in COP2_ImageSource.
|
virtual |