CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
TrRndRenderModule.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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 Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 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// Rendering module interface
24
25#ifndef ODTRRNDRENDERMODULE
26#define ODTRRNDRENDERMODULE
27
28#include "TD_PackPush.h"
29
30#include "RxModule.h"
31#include "TrRndLocalViewer.h"
32
37{
38 public:
39 // Create new rendition
41 // Create new rendition data accessor
43 // Create new rendition context
45
46 // Create new standalone renderer
48 // Create new standalone viewer
50
51 // Check renderer version
52 virtual OdUInt32 checkRendererVersion(OdTrVisRenderClient *pDevice, OdUInt32 nCheckVersion = 0, OdTrVisRendition *pRendition = NULL) const = 0;
53};
54
56
61{
62 public:
63 // Create new rendition data accessor
66 // Create new rendition context
68 { return OdTrRndLocalContextPtr(); }
69
70 // Create new standalone renderer
72 { return OdTrRndLocalRendererPtr(); }
73 // Create new standalone viewer
74 virtual OdTrRndLocalViewerPtr createLocalViewer(OdTrRndLocalRenditionClient * /*pRenderClient*/, OdTrRndLocalRenditionHost * /*pRenditionHost*/ = NULL)
75 { return OdTrRndLocalViewerPtr(); }
76
77 // Check renderer version
78 virtual OdUInt32 checkRendererVersion(OdTrVisRenderClient * /*pDevice*/, OdUInt32 /*nCheckVersion*/ = 0, OdTrVisRendition * /*pRendition*/ = NULL) const
79 { return 0; }
80};
81
86{
87 public:
88 // Create new rendition context
90
91 // Create new standalone renderer
93 // Create new standalone viewer
95};
96
97
98#include "TD_PackPop.h"
99
100#endif // ODTRRNDRENDERMODULE
unsigned int OdUInt32
OdSmartPtr< OdTrRndLocalContext > OdTrRndLocalContextPtr
OdSmartPtr< OdTrRndRenderModule > OdTrRndRenderModulePtr
virtual OdTrRndLocalRendererPtr createLocalRenderer(OdTrRndLocalRenditionClient *pRenderClient, OdTrRndLocalRenditionHost *pRenditionHost=NULL)
virtual OdTrRndLocalViewerPtr createLocalViewer(OdTrRndLocalRenditionClient *pRenderClient, OdTrRndLocalRenditionHost *pRenditionHost=NULL)
virtual OdTrRndLocalContextPtr createLocalContext(OdTrVisRenderClient *pDevice)
virtual OdTrVisRenditionPtr createRendition(OdTrRndLocalRenditionClient *pRenderClient)=0
virtual OdUInt32 checkRendererVersion(OdTrVisRenderClient *pDevice, OdUInt32 nCheckVersion=0, OdTrVisRendition *pRendition=NULL) const =0
virtual OdTrRndLocalRendererPtr createLocalRenderer(OdTrRndLocalRenditionClient *pRenderClient, OdTrRndLocalRenditionHost *pRenditionHost=NULL)=0
virtual OdTrRndLocalContextPtr createLocalContext(OdTrVisRenderClient *pDevice)=0
virtual OdTrRndLocalViewerPtr createLocalViewer(OdTrRndLocalRenditionClient *pRenderClient, OdTrRndLocalRenditionHost *pRenditionHost=NULL)=0
virtual OdTrRndLocalRenditionHostPtr createRenditionHost(OdTrVisRendition *pRendition)=0
virtual OdUInt32 checkRendererVersion(OdTrVisRenderClient *, OdUInt32=0, OdTrVisRendition *=NULL) const
virtual OdTrRndLocalContextPtr createLocalContext(OdTrVisRenderClient *)
virtual OdTrRndLocalRenditionHostPtr createRenditionHost(OdTrVisRendition *)
virtual OdTrRndLocalViewerPtr createLocalViewer(OdTrRndLocalRenditionClient *, OdTrRndLocalRenditionHost *=NULL)
virtual OdTrRndLocalRendererPtr createLocalRenderer(OdTrRndLocalRenditionClient *, OdTrRndLocalRenditionHost *=NULL)