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

#include <OP_DopeBuffer.h>

Public Member Functions

 OP_DopeBuffer ()
 
virtual ~OP_DopeBuffer ()
 
void clearAndDestroy ()
 
void copyKeys (const OP_MultiChannelRefArray &rows, int x1, int y1, int x2, int y2, int forceKeys=0, const UT_Array< UT_IntArray > *row_frame_masks=nullptr, bool clear_buffer=true, const int row_frame_masks_offset=0)
 
void cutKeys (const OP_MultiChannelRefArray &rows, int x1, int y1, int x2, int y2, int forceKeys=0)
 
void replaceKeys (const OP_MultiChannelRefArray &rows, int x1, int y1, int x2, int y2)
 
void pasteKeys (const OP_MultiChannelRefArray &rows, int x1, int y1) const
 
void updateDisplayedIndexMap (const CH_ChannelRefList &displayed)
 
bool validDisplayedIndexMap () const
 
bool lookupDisplayedIndexMap (int id, int &row_id, int &ch_id) const
 
bool findFirstDisplayedRow (int &id, int &row_id, int &ch_id) const
 
bool findLastDisplayedRow (int &id, int &row_id, int &ch_id) const
 
void print ()
 
int save ()
 
int load ()
 
const OP_MultiChannelRefArraygetRows () const
 
void getChannelList (CH_ChannelList &channels) const
 
void getDimensions (int &x1, int &x2, int &numRows)
 
void getMaxDimensions (int &x1, int &x2, int &numRows)
 
void duplicate (OP_DopeBuffer &copy)
 
void setStartEnd (int start, int end)
 
int getStart () const
 
int getEnd () const
 
CH_ChanneldupChannel (const CH_Channel &from)
 
void setTargetChannel (const CH_Channel *target) const
 
bool getRowFullPath (UT_StringHolder &ret, int i) const
 
const UT_Map< const CH_Channel
*, UT_Array< fpreal > > & 
getPasteKeysMap () const
 
void setCopyCurrentTime (bool b)
 
bool getCopyCurrentTime ()
 

Static Public Member Functions

static void deleteKeys (const OP_MultiChannelRefArray &rows, int x1, int y1, int x2, int y2)
 

Detailed Description

Definition at line 35 of file OP_DopeBuffer.h.

Constructor & Destructor Documentation

OP_DopeBuffer::OP_DopeBuffer ( )
virtual OP_DopeBuffer::~OP_DopeBuffer ( )
virtual

Member Function Documentation

void OP_DopeBuffer::clearAndDestroy ( )
void OP_DopeBuffer::copyKeys ( const OP_MultiChannelRefArray rows,
int  x1,
int  y1,
int  x2,
int  y2,
int  forceKeys = 0,
const UT_Array< UT_IntArray > *  row_frame_masks = nullptr,
bool  clear_buffer = true,
const int  row_frame_masks_offset = 0 
)
void OP_DopeBuffer::cutKeys ( const OP_MultiChannelRefArray rows,
int  x1,
int  y1,
int  x2,
int  y2,
int  forceKeys = 0 
)
static void OP_DopeBuffer::deleteKeys ( const OP_MultiChannelRefArray rows,
int  x1,
int  y1,
int  x2,
int  y2 
)
static
CH_Channel* OP_DopeBuffer::dupChannel ( const CH_Channel from)
void OP_DopeBuffer::duplicate ( OP_DopeBuffer copy)
bool OP_DopeBuffer::findFirstDisplayedRow ( int id,
int row_id,
int ch_id 
) const
bool OP_DopeBuffer::findLastDisplayedRow ( int id,
int row_id,
int ch_id 
) const
void OP_DopeBuffer::getChannelList ( CH_ChannelList channels) const
bool OP_DopeBuffer::getCopyCurrentTime ( )
inline

Definition at line 105 of file OP_DopeBuffer.h.

void OP_DopeBuffer::getDimensions ( int x1,
int x2,
int numRows 
)
int OP_DopeBuffer::getEnd ( ) const
inline

Definition at line 90 of file OP_DopeBuffer.h.

void OP_DopeBuffer::getMaxDimensions ( int x1,
int x2,
int numRows 
)
const UT_Map<const CH_Channel*,UT_Array<fpreal> >& OP_DopeBuffer::getPasteKeysMap ( ) const
inline

Definition at line 98 of file OP_DopeBuffer.h.

bool OP_DopeBuffer::getRowFullPath ( UT_StringHolder ret,
int  i 
) const
const OP_MultiChannelRefArray& OP_DopeBuffer::getRows ( ) const
inline

Definition at line 78 of file OP_DopeBuffer.h.

int OP_DopeBuffer::getStart ( ) const
inline

Definition at line 89 of file OP_DopeBuffer.h.

int OP_DopeBuffer::load ( )
bool OP_DopeBuffer::lookupDisplayedIndexMap ( int  id,
int row_id,
int ch_id 
) const
void OP_DopeBuffer::pasteKeys ( const OP_MultiChannelRefArray rows,
int  x1,
int  y1 
) const
void OP_DopeBuffer::print ( )
void OP_DopeBuffer::replaceKeys ( const OP_MultiChannelRefArray rows,
int  x1,
int  y1,
int  x2,
int  y2 
)
int OP_DopeBuffer::save ( )
void OP_DopeBuffer::setCopyCurrentTime ( bool  b)
inline

Definition at line 103 of file OP_DopeBuffer.h.

void OP_DopeBuffer::setStartEnd ( int  start,
int  end 
)
inline

Definition at line 87 of file OP_DopeBuffer.h.

void OP_DopeBuffer::setTargetChannel ( const CH_Channel target) const
void OP_DopeBuffer::updateDisplayedIndexMap ( const CH_ChannelRefList displayed)
bool OP_DopeBuffer::validDisplayedIndexMap ( ) const

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