|
Shinya Kitaoka |
810553 |
#pragma once
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#ifndef TRASTERFXRENDERDATA_H
|
|
Toshihiro Shimizu |
890ddd |
#define TRASTERFXRENDERDATA_H
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
// TnzCore includes
|
|
Toshihiro Shimizu |
890ddd |
#include "tcommon.h"
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#undef DVAPI
|
|
Toshihiro Shimizu |
890ddd |
#undef DVVAR
|
|
Toshihiro Shimizu |
890ddd |
#ifdef TFX_EXPORTS
|
|
Toshihiro Shimizu |
890ddd |
#define DVAPI DV_EXPORT_API
|
|
Toshihiro Shimizu |
890ddd |
#define DVVAR DV_EXPORT_VAR
|
|
Toshihiro Shimizu |
890ddd |
#else
|
|
Toshihiro Shimizu |
890ddd |
#define DVAPI DV_IMPORT_API
|
|
Toshihiro Shimizu |
890ddd |
#define DVVAR DV_IMPORT_VAR
|
|
Toshihiro Shimizu |
890ddd |
#endif
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
//******************************************************************************
|
|
Toshihiro Shimizu |
890ddd |
// TRasterFxRenderData class
|
|
Toshihiro Shimizu |
890ddd |
//******************************************************************************
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
//! Base class for custom data that can added by an fx to be processed in a
|
|
Toshihiro Shimizu |
890ddd |
//! downstrem fx.
|
|
Shinya Kitaoka |
120a6e |
class DVAPI TRasterFxRenderData : public TSmartObject {
|
|
Toshihiro Shimizu |
890ddd |
public:
|
|
Shinya Kitaoka |
120a6e |
virtual ~TRasterFxRenderData() {}
|
|
Toshihiro Shimizu |
890ddd |
|
|
Shinya Kitaoka |
120a6e |
virtual bool operator==(const TRasterFxRenderData &data) const = 0;
|
|
Shinya Kitaoka |
120a6e |
virtual std::string toString() const = 0;
|
|
Toshihiro Shimizu |
890ddd |
|
|
Shinya Kitaoka |
120a6e |
//! Returns a value respresenting the type of a renderData instance. The type
|
|
Shinya Kitaoka |
120a6e |
//! is used to sort renderData entries for both retrieval and processing.
|
|
Shinya Kitaoka |
120a6e |
//! The floating return type specification is used to allow insertions between
|
|
Shinya Kitaoka |
120a6e |
//! two close-up values, if needed.
|
|
Shinya Kitaoka |
120a6e |
virtual float typeIndex() const = 0;
|
|
Toshihiro Shimizu |
890ddd |
|
|
Shinya Kitaoka |
120a6e |
//! Currently used by TColumnFx to find out whether a renderData instance
|
|
Shinya Kitaoka |
120a6e |
//! will enlarge the rendering of the specified bounding box.
|
|
Shinya Kitaoka |
120a6e |
virtual TRectD getBBoxEnlargement(const TRectD &bbox) { return bbox; }
|
|
Toshihiro Shimizu |
890ddd |
};
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
//===================================================================
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#ifdef WIN32
|
|
Toshihiro Shimizu |
890ddd |
template class DVAPI TSmartPointerT<trasterfxrenderdata>;</trasterfxrenderdata>
|
|
Toshihiro Shimizu |
890ddd |
#endif
|
|
Toshihiro Shimizu |
890ddd |
typedef TSmartPointerT<trasterfxrenderdata> TRasterFxRenderDataP;</trasterfxrenderdata>
|
|
Toshihiro Shimizu |
890ddd |
|
|
Shinya Kitaoka |
120a6e |
#endif // TRASTERFXRENDERDATA_H
|