CFx SDK Documentation
2023 SP0
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__
DbBaseHostAppServices.h
GiExport.h
ODGI_EXPORT
#define ODGI_EXPORT
Definition:
GiExport.h:35
GiRasterImage.h
OdGiRasterImageLoaderPtr
OdSmartPtr< OdGiRasterImageLoader > OdGiRasterImageLoaderPtr
Definition:
GiRasterImageLoader.h:86
OdGiRasterImageLoaderPEPtr
OdSmartPtr< OdGiRasterImageLoaderPE > OdGiRasterImageLoaderPEPtr
Definition:
GiRasterImageLoader.h:60
RxObject.h
TD_PackPop.h
TD_PackPush.h
OdDbBaseHostAppServices::FindFileHint
FindFileHint
Definition:
DbBaseHostAppServices.h:99
OdDbBaseHostAppServices::kDefault
@ kDefault
Definition:
DbBaseHostAppServices.h:100
OdGiContext
Definition:
GiCommonDraw.h:108
OdGiRasterImageLoader
Definition:
GiRasterImageLoader.h:68
OdGiRasterImageLoader::loadRasterImage
virtual OdGiRasterImagePtr loadRasterImage(const OdString &fileName, const OdGiContext &giCtx, OdDbBaseHostAppServices::FindFileHint hint=OdDbBaseHostAppServices::kDefault)
OdGiRasterImageLoader::OdGiRasterImageLoader
OdGiRasterImageLoader()
OdGiRasterImageLoader::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdGiRasterImageLoader)
OdGiRasterImageLoaderPE
Definition:
GiRasterImageLoader.h:42
OdGiRasterImageLoaderPE::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdGiRasterImageLoaderPE)
OdGiRasterImageLoaderPE::OdGiRasterImageLoaderPE
OdGiRasterImageLoaderPE()
OdGiRasterImageLoaderPE::loadRasterImage
virtual OdGiRasterImagePtr loadRasterImage(const OdString &fileName, OdDbBaseDatabase *pDb, OdDbBaseHostAppServices::FindFileHint hint=OdDbBaseHostAppServices::kDefault)=0
OdRxObject
Definition:
RxObject.h:583
OdSmartPtr< OdGiRasterImage >
OdString
Definition:
OdString.h:95
Generated on Thu Feb 24 2022 15:09:33