IMCUndo Struct Reference
[MCImage]

Inheritance diagram for IMCUndo:
IMCUnknown

List of all members.

Public Member Functions

virtual uint32 MCCOMAPI StartUndoableSession ()=0
virtual void MCCOMAPI FinishUndoableSession ()=0
virtual void MCCOMAPI RemoveVersionSmallerThan (uint32 minVersion)=0
virtual void MCCOMAPI RemoveVersionBiggerThan (uint32 maxVersion)=0
virtual uint32 MCCOMAPI GetCurrentVersion ()=0
virtual MCCOMErr MCCOMAPI GotoVersion (uint32 newVersion)=0

Detailed Description

IMCUndo is used to under modifications in images. It is implemented by raster layers (IShRasterLayer) and channels (see IShChannel).


Member Function Documentation

virtual void MCCOMAPI IMCUndo::FinishUndoableSession (  )  [pure virtual]
virtual uint32 MCCOMAPI IMCUndo::GetCurrentVersion (  )  [pure virtual]
virtual MCCOMErr MCCOMAPI IMCUndo::GotoVersion ( uint32  newVersion  )  [pure virtual]
virtual void MCCOMAPI IMCUndo::RemoveVersionBiggerThan ( uint32  maxVersion  )  [pure virtual]

Removes versions that are bigger (strictly) than maxVersion

Parameters:
maxVersion 
virtual void MCCOMAPI IMCUndo::RemoveVersionSmallerThan ( uint32  minVersion  )  [pure virtual]

removes versions that are smaller (strictly) than minVersion (for a max undo stack)

Parameters:
minVersion 
virtual uint32 MCCOMAPI IMCUndo::StartUndoableSession (  )  [pure virtual]

Increments the version number, and returns it it's the version being edited it's safe to nest the calls (non top levels will just return the current version)


The documentation for this struct was generated from the following file:
Generated on Mon Apr 26 22:47:44 2010 for Carrara SDK Doc by  doxygen 1.6.3