CFx SDK Documentation
2020SP3
SDK
CFx
dd_inc
Gi
GiRasterImageLoader.h
Go to the documentation of this file.
1
// Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3
// All rights reserved.
4
//
5
// This software and its documentation and related materials are owned by
6
// the Alliance. The software may only be incorporated into application
7
// programs owned by members of the Alliance, subject to a signed
8
// Membership Agreement and Supplemental Software License Agreement with the
9
// Alliance. The structure and organization of this software are the valuable
10
// trade secrets of the Alliance and its suppliers. The software is also
11
// protected by copyright law and international treaty provisions. Application
12
// programs incorporating this software must include the following statement
13
// with their copyright notices:
14
//
15
// This application incorporates Teigha(R) software pursuant to a license
16
// agreement with Open Design Alliance.
17
// Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18
// All rights reserved.
19
//
20
// By use of this software, its documentation or related materials, you
21
// acknowledge and accept the above terms.
23
24
#ifndef __ODGIRASTERIMAGELOADER_H__
25
#define __ODGIRASTERIMAGELOADER_H__
26
27
#include "
GiExport.h
"
28
#include "
RxObject.h
"
29
#include "
GiRasterImage.h
"
30
#include "
DbBaseHostAppServices.h
"
31
32
#include "
TD_PackPush.h
"
33
34
class
OdGiContext
;
35
41
class
ODGI_EXPORT
OdGiRasterImageLoaderPE
:
public
OdRxObject
42
{
43
public
:
44
ODRX_DECLARE_MEMBERS
(
OdGiRasterImageLoaderPE
);
45
46
OdGiRasterImageLoaderPE
();
54
virtual
OdGiRasterImagePtr
loadRasterImage
(
const
OdString
&fileName,
OdDbBaseDatabase
* pDb,
OdDbBaseHostAppServices::FindFileHint
hint =
OdDbBaseHostAppServices::kDefault
) = 0;
55
};
56
60
typedef
OdSmartPtr<OdGiRasterImageLoaderPE>
OdGiRasterImageLoaderPEPtr
;
61
67
class
ODGI_EXPORT
OdGiRasterImageLoader
:
public
OdRxObject
68
{
69
public
:
70
ODRX_DECLARE_MEMBERS
(
OdGiRasterImageLoader
);
71
72
OdGiRasterImageLoader
();
80
virtual
OdGiRasterImagePtr
loadRasterImage
(
const
OdString
&fileName,
const
OdGiContext
&giCtx,
OdDbBaseHostAppServices::FindFileHint
hint =
OdDbBaseHostAppServices::kDefault
);
81
};
82
86
typedef
OdSmartPtr<OdGiRasterImageLoader>
OdGiRasterImageLoaderPtr
;
87
88
#include "
TD_PackPop.h
"
89
90
#endif // __ODGIRASTERIMAGELOADER_H__
OdGiContext
Definition:
GiCommonDraw.h:108
OdString
Definition:
OdString.h:95
GiRasterImage.h
OdRxObject
Definition:
RxObject.h:564
OdGiRasterImageLoader::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdGiRasterImageLoader)
OdDbBaseHostAppServices::kDefault
@ kDefault
Definition:
DbBaseHostAppServices.h:100
TD_PackPop.h
OdGiRasterImageLoader
Definition:
GiRasterImageLoader.h:68
OdGiRasterImageLoaderPEPtr
OdSmartPtr< OdGiRasterImageLoaderPE > OdGiRasterImageLoaderPEPtr
Definition:
GiRasterImageLoader.h:60
RxObject.h
ODGI_EXPORT
#define ODGI_EXPORT
Definition:
GiExport.h:35
OdGiRasterImageLoader::loadRasterImage
virtual OdGiRasterImagePtr loadRasterImage(const OdString &fileName, const OdGiContext &giCtx, OdDbBaseHostAppServices::FindFileHint hint=OdDbBaseHostAppServices::kDefault)
OdGiRasterImageLoader::OdGiRasterImageLoader
OdGiRasterImageLoader()
OdGiRasterImageLoaderPtr
OdSmartPtr< OdGiRasterImageLoader > OdGiRasterImageLoaderPtr
Definition:
GiRasterImageLoader.h:86
OdSmartPtr< OdGiRasterImage >
OdDbBaseHostAppServices::FindFileHint
FindFileHint
Definition:
DbBaseHostAppServices.h:99
DbBaseHostAppServices.h
OdGiRasterImageLoaderPE::loadRasterImage
virtual OdGiRasterImagePtr loadRasterImage(const OdString &fileName, OdDbBaseDatabase *pDb, OdDbBaseHostAppServices::FindFileHint hint=OdDbBaseHostAppServices::kDefault)=0
TD_PackPush.h
GiExport.h
OdGiRasterImageLoaderPE::OdGiRasterImageLoaderPE
OdGiRasterImageLoaderPE()
OdGiRasterImageLoaderPE
Definition:
GiRasterImageLoader.h:42
OdGiRasterImageLoaderPE::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdGiRasterImageLoaderPE)
Generated on Mon Oct 12 2020 11:49:34