HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
COP2_ImageSource Class Reference

#include <COP2_ImageSource.h>

+ Inheritance diagram for COP2_ImageSource:

Public Member Functions

 COP2_ImageSource (COP2_Node *)
 
virtual fpreal getGlobalTime ()
 
virtual fpreal getSampleRate ()
 
virtual fpreal getStartTime ()
 
virtual fpreal getEndTime ()
 
virtual const char * getName ()
 
virtual void getFrameName (int frame, UT_String &name)
 
virtual void getFullName (UT_String &name)
 
virtual int doesImageExist (int frame, bool adjust=true)
 
virtual int equals (const TIL_ImageSource *)
 
virtual int open (short &key, int reset=0, fpreal t=TIL_GLOBAL_TIME)
 
virtual void close (short key)
 
virtual bool isNetwork ()
 
virtual bool isConstantSequence () const
 
virtual const TIL_SequencegetSequence (fpreal t)
 
virtual int getID () const
 
virtual UT_TokenStringgetID (fpreal t, int xres, int yres, const TIL_Plane &plane, int array_index)
 
virtual void getImageBounds (const TIL_Plane &plane, int array_index, fpreal t, int xres, int yres, int &x1, int &y1, int &x2, int &y2)
 
virtual void getCookRegions (TIL_CookRegionList &regions)
 
virtual 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, bool include_alpha=false, bool is_interactive=false, int fxres=0, int fyres=0)
 
virtual void getInfo (UT_WorkBuffer &infotext)
 
virtual int writeImage (const char *filename, const IMG_TileOptions *finfo, const TIL_Sequence *, int step=1, const char *uselut=0, float gamma=1.0F, void(*info)(void *, const char *)=0, void *data=0, bool suppress_summary_dialog=false, bool adjust_color_space=true, bool overwrite=false)
 
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=1, const char *uselut=0, float gamma=1.0F, void(*info)(void *, const char *)=0, void *data=0, bool suppress_summary_dialog=false, bool adjust_color_space=true, bool overwrite=false)
 
virtual size_t getVersion ()
 
virtual int isFrameLocked (fpreal t)
 
virtual int isAnythingLocked ()
 
virtual int isPlaneLocked (const TIL_Plane *, fpreal t)
 
virtual const TIL_PlanegetPreviewPlane (int index)
 
virtual int canModifyImage ()
 
virtual int useHandles ()
 
COP2_NodegetCop () const
 
COP2_NodegetCop ()
 
virtual bool isSlowOperation () const
 
virtual fpreal getFrameTime (fpreal t, bool shift_only=false, const TIL_Sequence *=0)
 
virtual int getFrameShift (int fr, bool shift_only=false, const TIL_Sequence *=0)
 
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_ImageSourceselectParentSource (int px, int py, const char *planename, int array_index)
 
virtual bool getPreferredViewingPlane (UT_WorkBuffer &buf) const
 
virtual int64 getMemoryUsage (bool inclusive) const
 
- Public Member Functions inherited from TIL_ImageSource
 TIL_ImageSource ()
 
void bumpRefCount (int i)
 
void invalidate ()
 
bool isValid () const
 
int getImageIndexFromTime (fpreal t)
 
int getFrameFromTime (fpreal t)
 
virtual int getActualFrame (int frame)
 
virtual void removeFrame (int)
 
virtual void addFrame (int)
 
virtual void removeSequence ()
 
virtual bool canAddFrame ()
 
virtual int getApparentFrame (int fr)
 
virtual bool getPriorityCircle (float &centrex, float &centrey, float &radius) const
 
virtual void getComment (UT_String &comment, fpreal t)
 
virtual void setComment (const UT_String &comment, fpreal t)
 
virtual void writeImageComplete (int successcount, int failcount, const UT_String &failedfiles)
 
virtual bool isCachingNeeded (int) const
 
virtual void setMouseLocation (int mx, int my, float radius=64.0f)
 
virtual void bumpVersion (bool)
 
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 fpreal getRenderTime (int frame) const
 
virtual int64 getPeakMemUsage (int frame) const
 
virtual bool getStyleSheetJSON (int x, int y, UT_StringHolder &str)
 
virtual STY_StyleSheetgetStyleSheet (int x, int y)
 
virtual OP_NodegetMaterialNode (int x, int y)
 
virtual void onAutoUpdate ()
 

Protected Member Functions

virtual ~COP2_ImageSource ()
 
- Protected Member Functions inherited from TIL_ImageSource
virtual ~TIL_ImageSource ()
 

Detailed Description

Definition at line 18 of file COP2_ImageSource.h.

Constructor & Destructor Documentation

COP2_ImageSource::COP2_ImageSource ( COP2_Node )
virtual COP2_ImageSource::~COP2_ImageSource ( )
protectedvirtual

Member Function Documentation

virtual bool COP2_ImageSource::allowUserSelection ( ) const
inlinevirtual

Reimplemented from TIL_ImageSource.

Definition at line 129 of file COP2_ImageSource.h.

virtual int COP2_ImageSource::canModifyImage ( )
inlinevirtual

Definition at line 105 of file COP2_ImageSource.h.

virtual void COP2_ImageSource::close ( short  key)
virtual

Reimplemented from TIL_ImageSource.

virtual int COP2_ImageSource::doesImageExist ( int  frame,
bool  adjust = true 
)
virtual

Reimplemented from TIL_ImageSource.

virtual int COP2_ImageSource::equals ( const TIL_ImageSource )
virtual

Implements TIL_ImageSource.

virtual bool COP2_ImageSource::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

Reimplemented from TIL_ImageSource.

virtual void COP2_ImageSource::getCookRegions ( TIL_CookRegionList regions)
inlinevirtual

Implements TIL_ImageSource.

Definition at line 58 of file COP2_ImageSource.h.

COP2_Node* COP2_ImageSource::getCop ( ) const
inline

Definition at line 108 of file COP2_ImageSource.h.

COP2_Node* COP2_ImageSource::getCop ( )
inline

Definition at line 109 of file COP2_ImageSource.h.

virtual fpreal COP2_ImageSource::getEndTime ( )
virtual

Implements TIL_ImageSource.

virtual void COP2_ImageSource::getFrameName ( int  frame,
UT_String name 
)
virtual

Reimplemented from TIL_ImageSource.

virtual int COP2_ImageSource::getFrameShift ( int  fr,
bool  shift_only = false,
const TIL_Sequence = 0 
)
virtual

Reimplemented from TIL_ImageSource.

virtual fpreal COP2_ImageSource::getFrameTime ( fpreal  t,
bool  shift_only = false,
const TIL_Sequence = 0 
)
virtual

Reimplemented from TIL_ImageSource.

virtual void COP2_ImageSource::getFullName ( UT_String name)
virtual

Implements TIL_ImageSource.

virtual fpreal COP2_ImageSource::getGlobalTime ( )
virtual

Implements TIL_ImageSource.

virtual int COP2_ImageSource::getID ( ) const
inlinevirtual

Implements TIL_ImageSource.

Definition at line 47 of file COP2_ImageSource.h.

virtual UT_TokenString* COP2_ImageSource::getID ( fpreal  t,
int  xres,
int  yres,
const TIL_Plane plane,
int  array_index 
)
virtual

Implements TIL_ImageSource.

virtual int COP2_ImageSource::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,
bool  include_alpha = false,
bool  is_interactive = false,
int  fxres = 0,
int  fyres = 0 
)
virtual

Implements TIL_ImageSource.

virtual void COP2_ImageSource::getImageBounds ( const TIL_Plane plane,
int  array_index,
fpreal  t,
int  xres,
int  yres,
int x1,
int y1,
int x2,
int y2 
)
virtual

Reimplemented from TIL_ImageSource.

virtual void COP2_ImageSource::getInfo ( UT_WorkBuffer infotext)
virtual

Reimplemented from TIL_ImageSource.

virtual int64 COP2_ImageSource::getMemoryUsage ( bool  inclusive) const
virtual

Implements TIL_ImageSource.

virtual const char* COP2_ImageSource::getName ( )
virtual

Implements TIL_ImageSource.

virtual bool COP2_ImageSource::getPreferredViewingPlane ( UT_WorkBuffer buf) const
virtual

Reimplemented from TIL_ImageSource.

virtual const TIL_Plane* COP2_ImageSource::getPreviewPlane ( int  index)
virtual

Reimplemented from TIL_ImageSource.

virtual fpreal COP2_ImageSource::getSampleRate ( )
virtual

Implements TIL_ImageSource.

virtual const TIL_Sequence* COP2_ImageSource::getSequence ( fpreal  t)
virtual

Implements TIL_ImageSource.

virtual fpreal COP2_ImageSource::getStartTime ( )
virtual

Implements TIL_ImageSource.

virtual size_t COP2_ImageSource::getVersion ( )
virtual

Reimplemented from TIL_ImageSource.

virtual int COP2_ImageSource::isAnythingLocked ( )
virtual

Reimplemented from TIL_ImageSource.

virtual bool COP2_ImageSource::isConstantSequence ( ) const
inlinevirtual

Reimplemented from TIL_ImageSource.

Definition at line 44 of file COP2_ImageSource.h.

virtual int COP2_ImageSource::isFrameLocked ( fpreal  t)
virtual

Reimplemented from TIL_ImageSource.

virtual bool COP2_ImageSource::isNetwork ( )
virtual

Reimplemented from TIL_ImageSource.

virtual int COP2_ImageSource::isPlaneLocked ( const TIL_Plane ,
fpreal  t 
)
virtual

Reimplemented from TIL_ImageSource.

virtual bool COP2_ImageSource::isSlowOperation ( ) const
inlinevirtual

Reimplemented from TIL_ImageSource.

Definition at line 111 of file COP2_ImageSource.h.

virtual int COP2_ImageSource::open ( short &  key,
int  reset = 0,
fpreal  t = TIL_GLOBAL_TIME 
)
virtual

Reimplemented from TIL_ImageSource.

virtual TIL_ImageSource* COP2_ImageSource::selectParentSource ( int  px,
int  py,
const char *  planename,
int  array_index 
)
virtual

Reimplemented from TIL_ImageSource.

virtual int COP2_ImageSource::useHandles ( )
inlinevirtual

Definition at line 106 of file COP2_ImageSource.h.

virtual int COP2_ImageSource::writeImage ( const char *  filename,
const IMG_TileOptions finfo,
const TIL_Sequence ,
int  step = 1,
const char *  uselut = 0,
float  gamma = 1.0F,
void(*)(void *, const char *)  info = 0,
void data = 0,
bool  suppress_summary_dialog = false,
bool  adjust_color_space = true,
bool  overwrite = false 
)
virtual

Reimplemented from TIL_ImageSource.

virtual int COP2_ImageSource::writeImage ( const char *  filename,
const IMG_TileOptions finfo,
int  xres,
int  yres,
const char *  color,
const char *  alpha,
int  start,
int  end,
int  step = 1,
const char *  uselut = 0,
float  gamma = 1.0F,
void(*)(void *, const char *)  info = 0,
void data = 0,
bool  suppress_summary_dialog = false,
bool  adjust_color_space = true,
bool  overwrite = false 
)
virtual

Reimplemented from TIL_ImageSource.


The documentation for this class was generated from the following file: