Shinya Kitaoka 810553
#pragma once
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#ifndef TZERARYFX_H
Toshihiro Shimizu 890ddd
#define TZERARYFX_H
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#include "trasterfx.h"
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
//============================================================
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
//    Forward declarations
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
class TZeraryColumnFx;
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
//============================================================
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
//************************************************************************
Toshihiro Shimizu 890ddd
//    TBaseZeraryFx  definition
Toshihiro Shimizu 890ddd
//************************************************************************
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
//! Defines built-in Toonz zerary fxs.
Toshihiro Shimizu 890ddd
/*!
Toshihiro Shimizu 890ddd
\par Toonz Internals - Zerary Column Fxs
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
  Toonz Zerary fxs are currently implemented with associated
Toshihiro Shimizu 890ddd
   zerary column fxs <\I> owning them. It is important to make
Toshihiro Shimizu 890ddd
  these column fxs accessible from the actual zerary fx in order to
Toshihiro Shimizu 890ddd
  allow complete traversability of an fxs tree.
Toshihiro Shimizu 890ddd
*/
Shinya Kitaoka 120a6e
class TZeraryFx : public TRasterFx {
Toshihiro Shimizu 890ddd
public:
Shinya Kitaoka 120a6e
  friend class TZeraryColumnFx;  // Defined in ToonzLib
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
public:
Shinya Kitaoka 120a6e
  TZeraryFx() : m_columnFx() {}
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
  //! Returns the associated column fx, if any.
Shinya Kitaoka 120a6e
  TZeraryColumnFx *getColumnFx() const { return m_columnFx; }
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
private:
Shinya Kitaoka 120a6e
  TZeraryColumnFx *m_columnFx;  //!< The associated column fx. Note that
Shinya Kitaoka 120a6e
                                //!< it is never cloned, as expected.
Toshihiro Shimizu 890ddd
};
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
#endif  // TZERARYFX_H