CFx SDK Documentation  2020SP3
TrVisRendition.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 // GLES2 device base rendition interface
24 
25 #ifndef ODTRVISRENDITION
26 #define ODTRVISRENDITION
27 
28 #include "TD_PackPush.h"
29 
30 #include "TrVisDefs.h"
31 #include "TrVisInfoString.h"
33 #include "TrVisSurfaceDef.h"
34 #include "TrVisViewportDef.h"
35 #include "TrVisMetafileDef.h"
36 #include "TrVisTextureDef.h"
37 #include "TrVisMaterialDef.h"
38 #include "TrVisLightDef.h"
39 #include "TrVisExtentsDef.h"
40 #include "TrVisHlBranchDef.h"
41 #include "TrVisVisualStyle.h"
42 #include "TrVisLayerDef.h"
43 
44 #include "Ge/GeExtents3d.h"
45 #include "Gs/GsDCRectArray.h"
46 #include "StaticRxObject.h"
47 #include "ThreadsCounter.h"
48 
50 
51 class OdTrVisUniqueID;
52 class OdGiDrawable;
53 
54 class OdGsFiler;
55 class OdTrVisIdMap;
56 
61 {
62  public:
63  // Viewport data fields
65  {
66  // Viewport visibility flag
68  // Transform matrices, camera positioning
70  // Persistent viewport parameters, flags and etc.
72  // Contextual viewport parameters (lineweight style, fading, etc.)
74  // Viewport rectangle in screen coordinates
76  // Viewport Nrc clipping boundary in screen coordinates
78  // Array of lineweights
80  // Base shader program
82  // Viewport border in screen coordinates
84 
86  };
87  // Core rendition data types
88  enum DataType
89  {
100 
102  };
103  // Mt handling types
105  {
106  kMtSkip = 0, // Skip data
107  kMtRedirect, // Redirect data without handling
108  kMtGlobal, // Redirect under global mutex
109  kMtCompete, // Redirect under specified mutex
110  kMtRecord // Record till completion (placed under own recorder mutex)
111  };
112  // Special DisplayId codes, provide fast access to renderer functionality directly from display list
114  {
115  kDisplayCodeZero = 0, // Empty display code
116  kDisplayCodeHighlight = 1, // Execute highlighting procedure
117  kDisplayCodeUnhighlight = 2, // Execute unhighlighting procedure
118  kDisplayCodePushMatrix = 3, // Execute push transformation matrix procedure
119  kDisplayCodePopMatrix = 4, // Execute pop transformation matrix procedure
120  kDisplayCodeSelMarkers = 5, // Setup selection markers
121 
122  kDisplayCodeRange = 0x10 // We reserve first 16 codes for special procedures
123  };
124  // Rendition flags
126  {
127  kSupportPartialUpdate = (1 << 0), // isSupportPartialUpdate
128  kSupportSnapshotQueries = (1 << 1), // isSupportSnapshotQueries
129  kSupportCompositeMetafiles = (1 << 2), // isSupportCompositeMetafiles
130  kSupportVisualStyles = (1 << 3), // isSupportVisualStyles
131  kSupportGsStateSaving = (1 << 4), // isSupportGsStateSaving
132  kSupportOverlayBuffers = (1 << 5), // isSupportOverlayBuffers
133  kUpdateClientSectionOnly = (1 << 6), // updateClientDependentSectionOnly
134  kUpdateShareableSectionOnly = (1 << 7) // updateShareableSectionOnly
135  };
136  public:
138  {
139  // Register persistent resource
140  virtual void reg(DataType type, OdTrVisId id, OdDbStub *pPersId) = 0;
141  // Register transient resource
142  virtual void reg(DataType type, OdTrVisId id, const OdGiDrawable *pTransId) = 0;
143  // Register persistent or transient resource
144  void reg(DataType type, OdTrVisId id, OdDbStub *pPersId, const void *pTransId)
145  { if (pPersId) reg(type, id, pPersId); else reg(type, id, reinterpret_cast<const OdGiDrawable*>(pTransId)); }
146  // Copy resource registration
147  virtual void reg(DataType type, OdTrVisId id, const OdTrVisUniqueID &uId) = 0;
148  // Remove resource registration
149  virtual void kill(DataType type, OdTrVisId id) = 0;
150  // Access resource registration
151  virtual OdTrVisUniqueID *get(DataType type, OdTrVisId id, bool bKill = false) const = 0;
152  };
153  public:
154  // Client information
155  struct ClientInfo
156  {
157  OdTrVisInfoString m_glVendor; // OpenGL vendor
158  OdTrVisInfoString m_glRenderer; // OpenGL renderer name
159  OdTrVisInfoString m_glVersion; // OpenGL version
161  OdTrVisInfoString m_glExtensions; // List of extensions
162  };
163  // Client settings
165  {
166  bool m_bObtained; // True if settings obtained from client.
167  // Client information
169  // Flags
170  enum Flags
171  {
172  // Texture settings
173  kNonPow2Textures = (1 << 0), // True if support non power of two textures.
174  kNonPow2Wrapping = (1 << 1), // True if support all non power of two textures wrapping modes.
175  kSupportsBGR = (1 << 2), // True if support BGR textures format.
176  kSupportsBGRA = (1 << 3), // True if support BGRA textures format.
177  kRequireBGR = (1 << 4), // True if support only BGR/BGRA textures format.
178  kOverrideLut = (1 << 5), // True if client override Lut device settings.
179  kLutMonochrome = (1 << 6), // True if client prefer Lut monochrome textures.
180  kLutPalette = (1 << 7), // True if client prefer Lut 4-8bpp textures.
181  // Performance/quality degradation
182  kShadeByVertex = (1 << 8) // Mobile devices could have serious performance loss in shaded modes, since per-pixel
183  // calculations too massive. Enable this flag to use per-vertex lighting calculation
184  // instead. This will degenerate lighting quality, but will increase performance.
185  };
186  OdUInt32 m_uFlags; // Client flags.
187  OdUInt32 m_nMaxTextureSize; // Maximal texture size
188  OdUInt32 m_nTextureAlignment; // Required default texture alignment
189  // Lineweights
190  float m_nMaxLineWidth; // Maximal line width
191  float m_nMaxPointSize; // Maximal point size
192  // Shaders
193  OdUInt32 m_nMaxFragShadUniformVecs; // Maximum uniform vectors per fragment shader
194  // (for NUM_LIGHTS computation. Pass zero to truncate count for minimal)
195 
197  : m_bObtained(false)
198  , m_ciInfo()
199  , m_uFlags(0)
200  , m_nMaxTextureSize(2048)
202  , m_nMaxLineWidth(1.0f)
203  , m_nMaxPointSize(1.0f)
205  {
206  }
207 
208  // Flag accessors
209 
210  // Textures
211 
214 
217 
218  bool isSupportBGR() const { return GETBIT(m_uFlags, kSupportsBGR); }
219  void setSupportBGR(bool bSet) { SETBIT(m_uFlags, kSupportsBGR, bSet); }
220 
221  bool isSupportBGRA() const { return GETBIT(m_uFlags, kSupportsBGRA); }
222  void setSupportBGRA(bool bSet) { SETBIT(m_uFlags, kSupportsBGRA, bSet); }
223 
224  bool isRequireBGR() const { return GETBIT(m_uFlags, kRequireBGR); }
225  void setRequireBGR(bool bSet) { SETBIT(m_uFlags, kRequireBGR, bSet); }
226 
227  bool isLutOverride() const { return GETBIT(m_uFlags, kOverrideLut); }
228  void setLutOverride(bool bSet) { SETBIT(m_uFlags, kOverrideLut, bSet); }
229 
230  bool isLutMonochrome() const { return GETBIT(m_uFlags, kLutMonochrome); }
231  void setLutMonochrome(bool bSet) { SETBIT(m_uFlags, kLutMonochrome, bSet); }
232  bool overridenLutMonochromeState(bool bDeviceSetting) const
233  { return (isLutOverride()) ? isLutMonochrome() : bDeviceSetting; }
234 
235  bool isLutPalette() const { return GETBIT(m_uFlags, kLutPalette); }
236  void setLutPalette(bool bSet) { SETBIT(m_uFlags, kLutPalette, bSet); }
237  bool overridenLutPaletteState(bool bDeviceSetting) const
238  { return (isLutOverride()) ? isLutPalette() : bDeviceSetting; }
239 
240  // Performance/quality degradation
241 
242  bool isShadeByVertex() const { return GETBIT(m_uFlags, kShadeByVertex); }
243  void setShadeByVertex(bool bSet) { SETBIT(m_uFlags, kShadeByVertex, bSet); }
244  };
245  public:
247 
250 
251  // High-level callbacks
252 
253  // Called on starting vectorizer update.
254  virtual void onDeviceUpdateBegin(OdTrVisRenderClient *pDevice) = 0;
255  // Called on ending vectorizer update.
256  virtual void onDeviceUpdateEnd(OdTrVisRenderClient *pDevice) = 0;
257 
258  // Returns set of bit flags which indicate rendition capabilities/settings
259  virtual OdUInt32 queryRenditionCaps(OdUInt32 requestFor = 0xFFFFFFFF) const = 0;
260  // Rendition capabilities as separate methods
261  // Called to check does rendition supports partial update (have sense for local renditions only).
263  // Check does rendition support snapshot queries
265  // Check does rendition supports composite metafiles
267  // Check does rendition supports visual styles
269  // Check does rendition supports GsFiler-compatible state saving/loading
271  // Check does rendition supports multiple overlapping rendering buffers
273  // Update client-dependent section only
275  // Update shareable section only
277 
278  // Partial update support for local renditions:
279  // Called to setup invalid rectangles and overlays on partial update.
280  virtual void onPartialUpdateInvalidRects(OdTrVisOverlayId overlayId, const OdGsDCRectArray &invalidRects, bool bOverlayInvalid = false) = 0;
281  // Called on partial update query to set entire actual visibilities list.
282  virtual void onPartialUpdateList(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisDisplayId *pList, OdUInt32 nEntries) = 0;
283 
284  // Query snapshot
285  virtual void querySnapshot(OdUInt8 *pScanlines, long minX, long minY, long nWidth, long nHeight) = 0;
286 
287  // Allocate new resource sharing provider compatible with rendition
289 
290  // Multithread processing flags
292 
293  // Returns Id registrator, or NULL if no registration supported
294  virtual IdRegistrator *idRegistrator() const = 0;
295 
296  // Returns true if metafile streams accessible directly, returns stream by Id
297  virtual bool queryMetafileStream(OdTrVisDisplayId displayId, const OdTrVisFlatMetafileContainer **pStream) const = 0;
298 
299  // Returns non-kTrVisNegativeId in case if vectorizer supports ProgramID's embedded into metafile stream
301  OdTrVisGeomType geomType = OdTrVisGeomType_Default, OdUInt32 shadingFlags = 0) const = 0;
302 
303  // GsFiler support
304  virtual bool saveRenditionState(OdGsFiler *pFiler) const = 0;
305  virtual bool loadRenditionState(OdGsFiler *pFiler, OdTrVisIdMap *pIdMap) = 0;
306 
307  // Mid-level callbacks
308 
309  // Client information
310 
311  virtual void obtainClientSettings(ClientSettings &clientSets) = 0;
312 
313  // Surface
314 
315  virtual void onSurfaceChanged(const OdTrVisSurfaceDef &pDef) = 0;
316 
317  // Overlays
318 
319  // Called when new overlay added into device.
320  virtual void onOverlayAdded(OdTrVisOverlayId overlayId, const OdTrVisOverlayDef &pDef) = 0;
321  // Called when exist overlay removed from device.
322  virtual void onOverlayDeleted(OdTrVisOverlayId overlayId) = 0;
323  // Called when overlay visibility changed.
324  virtual void onOverlayVisibilityChanged(OdTrVisOverlayId overlayId, bool bVisibility) = 0;
325  // Called when overlay rendering order changed.
326  virtual void onOverlayRenderOrderChanged(OdTrVisOverlayId overlayId, OdInt16 nRenderOrder) = 0;
327 
328  // Viewports
329 
330  // Called when new viewport added into device.
331  virtual void onViewportAdded(OdTrVisViewportId viewportId/*, const OdTrVisViewportDef &pDef*/) = 0;
332  // Called when viewport removed from device.
333  virtual void onViewportDeleted(OdTrVisViewportId viewportId) = 0;
334  // Called when viewport inserted in list with some index.
335  virtual void onViewportInserted(OdTrVisViewportId viewportId, int nIndex) = 0;
336  // Called when viewport already exist in device modified.
337  virtual void onViewportModified(OdTrVisViewportId viewportId, const OdTrVisViewportDef &pDef, OdUInt32 kindOfMod = kViewportModAll) = 0;
338 
339  // Viewports ordering lists
340 
341  // Called when order of metafiles in viewport is changed (for obtain full list by renderer).
342  virtual void onMetafileOrderChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisDisplayId *pList, OdUInt32 nEntries) = 0;
343  // Called when order of metafiles in viewport is changed (for obtain modified part of list by renderer).
344  virtual void onMetafileOrderChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, OdUInt32 nInvalidFrom, OdUInt32 nInvalidLen,
345  const OdTrVisDisplayId *pValidFrom, OdUInt32 nValidLen) = 0;
346 
347  // Viewport light lists
348 
349  // Called when lights list in viewport is changed.
350  virtual void onLightsListChanged(OdTrVisViewportId viewportId, float ambientLight[4], bool bDefaultLightsOn,
351  const OdTrVisLightDef *pList, OdUInt32 nEntries) = 0;
352 
353  // Viewport background
354 
355  // Called when background stream in viewport is changed.
357  OdTrVisProgramId baseProgramId = kTrVisNegativeId) = 0;
358 
359  // Viewport extents
360 
361  // Called when viewport extents changed
362  virtual void onExtentsChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisExtentsDef &pDef) = 0;
363 
364  // Overlay viewport parameters override
365 
366  // Called when viewport needs override view parameters for specific overlay
367  virtual void onOverlayViewParamsOverride(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, bool bOverride,
368  const OdTrVisViewParamsDef &pDef = OdTrVisViewParamsDef()) = 0;
369 
370  // Metafiles
371 
372  // Called when new metafile added (returns visualId, equal to metafileId by default).
374  // Called when exist metafile deleted.
375  virtual void onMetafileDeleted(OdTrVisMetafileId metafileId) = 0;
376  // Called when exist metafile changed.
377  //virtual void onMetafileModified(OdTrVisMetafileId metafileId, const OdTrVisMetafileDef &pDef) = 0;
378  // Called when exist metafile visibility changed.
379  virtual void onMetafileVisibilityChanged(OdTrVisMetafileId metafileId, bool bVisibility) = 0;
380  // Called when exist metafile highlighting changed.
381  virtual void onMetafileHighlightingChanged(OdTrVisMetafileId metafileId, bool bHighlight) = 0;
382  // Called when exist metafile fading changed.
383  virtual void onMetafileFadingChanged(OdTrVisMetafileId metafileId, bool bFade) = 0;
384  // Called to attach highlighting branch to metafile.
385  virtual void onMetafileHlBranchAttached(OdTrVisMetafileId metafileId, OdTrVisHlBranchId hlBranchId) = 0;
386  // Called to detach highlighting branch from metafile.
387  virtual void onMetafileHlBranchDetached(OdTrVisMetafileId metafileId) = 0;
388 
389  // Highlighting
390 
391  // Called when new highlighting branch added.
392  virtual void onHlBranchAdded(OdTrVisHlBranchId hlBranchId, const OdTrVisHlBranchDef &pDef) = 0;
393  // Called when exist highlighting branch modified.
394  virtual void onHlBranchModified(OdTrVisHlBranchId hlBranchId, const OdTrVisHlBranchDef &pDef,
395  bool bChildsModified, bool bMarkersModified) = 0;
396  // Called when exist highlighting branch deleted.
397  virtual void onHlBranchDeleted(OdTrVisHlBranchId hlBranchId) = 0;
398 
399  // Textures
400 
401  // Called when new texture added.
402  virtual void onTextureAdded(OdTrVisTextureId textureId, const OdTrVisTextureDef &pDef) = 0;
403  // Called when exist texture deleted.
404  virtual void onTextureDeleted(OdTrVisTextureId textureId) = 0;
405 
406  // Materials
407 
408  // Called when new material added.
409  virtual void onMaterialAdded(OdTrVisMaterialId materialId, const OdTrVisMaterialDef &pDef) = 0;
410  // Called when exist material deleted.
411  virtual void onMaterialDeleted(OdTrVisMaterialId materialId) = 0;
412 
413  // Visual Styles
414 
415  // Called when new visual style added.
416  virtual void onVisualStyleAdded(OdTrVisVisualStyleId visualStyleId, const OdTrVisVisualStyle &pDef) = 0;
417  // Called when exist visual style modified.
418  virtual void onVisualStyleModified(OdTrVisVisualStyleId visualStyleId, const OdTrVisVisualStyle &pDef) = 0;
419  // Called when exist visual style deleted.
420  virtual void onVisualStyleDeleted(OdTrVisVisualStyleId visualStyleId) = 0;
421 
422  // Layers
423 
424  // Called when new layer added.
425  virtual void onLayerAdded(OdTrVisLayerId layerId, const OdTrVisLayerDef &pDef) = 0;
426  // Called when exist layer modified.
427  virtual void onLayerModified(OdTrVisLayerId layerId, const OdTrVisLayerDef &pDef) = 0;
428  // Called when exist layer deleted.
429  virtual void onLayerDeleted(OdTrVisLayerId layerId) = 0;
430  //Called when layer viewport-dependent properties changed
431  virtual void onLayerViewportPropsOverride(OdTrVisViewportId viewportId, OdTrVisLayerId layerId, bool bOverride, const OdTrVisLayerProps &pProps = OdTrVisLayerProps() ) = 0;
432 };
433 
435 
440 {
441  protected:
443  {
444  virtual void reg(DataType /*type*/, OdTrVisId /*id*/, OdDbStub * /*pPersId*/) { }
445  virtual void reg(DataType /*type*/, OdTrVisId /*id*/, const OdGiDrawable * /*pTransId*/) { }
446  virtual void reg(DataType /*type*/, OdTrVisId /*id*/, const OdTrVisUniqueID & /*uId*/) { }
447  virtual void kill(DataType /*type*/, OdTrVisId /*id*/) { }
448  virtual OdTrVisUniqueID *get(DataType /*type*/, OdTrVisId /*id*/, bool /*bKill*/ = false) const { return NULL; }
450  public:
451  // High-level callbacks
452 
453  // Called on starting vectorizer update.
454  virtual void onDeviceUpdateBegin(OdTrVisRenderClient * /*pDevice*/) { }
455  // Called on ending vectorizer update.
456  virtual void onDeviceUpdateEnd(OdTrVisRenderClient * /*pDevice*/) { }
457 
458  // Returns set of bit flags which indicate rendition capabilities/settings
459  virtual OdUInt32 queryRenditionCaps(OdUInt32 /*requestFor*/ = 0xFFFFFFFF) const { return 0; }
460 
461  // Partial update support for local renditions:
462  // Called to setup invalid rectangles and overlays on partial update.
463  virtual void onPartialUpdateInvalidRects(OdTrVisOverlayId /*overlayId*/, const OdGsDCRectArray & /*invalidRects*/, bool /*bOverlayInvalid*/ = false) { }
464  // Called on partial update query to set entire actual visibilities list.
465  virtual void onPartialUpdateList(OdTrVisViewportId /*viewportId*/, OdTrVisOverlayId /*overlayId*/, const OdTrVisDisplayId * /*pList*/, OdUInt32 /*nEntries*/) { }
466 
467  // Query snapshot
468  virtual void querySnapshot(OdUInt8 * /*pScanlines*/, long /*minX*/, long /*minY*/, long /*nWidth*/, long /*nHeight*/) { }
469 
470  // Allocate new resource sharing provider compatible with rendition
472 
473  // Multithread processing flags
474  virtual MtHandlerType mtDataTypeProcessing(DataType & /*type*/) const { return kMtSkip; }
475 
476  // Returns Id registrator, or NULL if no registration supported
477  virtual IdRegistrator *idRegistrator() const { return NULL; }
478 
479  // Returns true if metafile streams accessible directly, returns stream by Id
480  virtual bool queryMetafileStream(OdTrVisDisplayId /*displayId*/, const OdTrVisFlatMetafileContainer ** /*pStream*/) const { return false; }
481 
482  // Returns non-kTrVisNegativeId in case if vectorizer supports ProgramID's embedded into metafile stream
484  OdTrVisGeomType /*geomType*/ = OdTrVisGeomType_Default, OdUInt32 /*shadingFlags*/ = 0) const
485  { return kTrVisNegativeId; }
486 
487  // GsFiler support
488  virtual bool saveRenditionState(OdGsFiler * /*pFiler*/) const { return false; }
489  virtual bool loadRenditionState(OdGsFiler * /*pFiler*/, OdTrVisIdMap * /*pIdMap*/) { return false; }
490 
491  // Mid-level callbacks
492 
493  // Client information
494 
495  virtual void obtainClientSettings(ClientSettings & /*clientSets*/) { }
496 
497  // Surface
498 
499  virtual void onSurfaceChanged(const OdTrVisSurfaceDef & /*pDef*/) { }
500 
501  // Overlays
502 
503  // Called when new overlay added into device.
504  virtual void onOverlayAdded(OdTrVisOverlayId /*overlayId*/, const OdTrVisOverlayDef & /*pDef*/) { }
505  // Called when exist overlay removed from device.
506  virtual void onOverlayDeleted(OdTrVisOverlayId /*overlayId*/) { }
507  // Called when overlay visibility changed.
508  virtual void onOverlayVisibilityChanged(OdTrVisOverlayId /*overlayId*/, bool /*bVisibility*/) { }
509  // Called when overlay rendering order changed.
510  virtual void onOverlayRenderOrderChanged(OdTrVisOverlayId /*overlayId*/, OdInt16 /*nRenderOrder*/) { }
511 
512  // Viewports
513 
514  // Called when new viewport added into device.
515  virtual void onViewportAdded(OdTrVisViewportId /*viewportId*/ /*, const OdTrVisViewportDef &pDef*/) { }
516  // Called when viewport removed from device.
517  virtual void onViewportDeleted(OdTrVisViewportId /*viewportId*/) { }
518  // Called when viewport inserted in list with some index.
519  virtual void onViewportInserted(OdTrVisViewportId /*viewportId*/, int /*nIndex*/) { }
520  // Called when viewport already exist in device modified.
521  virtual void onViewportModified(OdTrVisViewportId /*viewportId*/, const OdTrVisViewportDef & /*pDef*/, OdUInt32 /*kindOfMod*/ = kViewportModAll) { }
522 
523  // Viewports ordering lists
524 
525  // Called when order of metafiles in viewport is changed.
526  virtual void onMetafileOrderChanged(OdTrVisViewportId /*viewportId*/, OdTrVisOverlayId /*overlayId*/, const OdTrVisDisplayId * /*pList*/, OdUInt32 /*nEntries*/) { }
527  // Called when order of metafiles in viewport is changed (for obtain modified part of list by renderer).
528  virtual void onMetafileOrderChanged(OdTrVisViewportId /*viewportId*/, OdTrVisOverlayId /*overlayId*/, OdUInt32 /*nInvalidFrom*/, OdUInt32 /*nInvalidLen*/,
529  const OdTrVisDisplayId * /*pValidFrom*/, OdUInt32 /*nValidLen*/) { }
530 
531  // Viewport light lists
532 
533  // Called when lights list in viewport is changed.
534  virtual void onLightsListChanged(OdTrVisViewportId /*viewportId*/, float /*ambientLight*/ [4], bool /*bDefaultLightsOn*/,
535  const OdTrVisLightDef * /*pList*/, OdUInt32 /*nEntries*/) { }
536 
537  // Viewport background
538 
539  // Called when background stream in viewport is changed.
541  OdTrVisProgramId /*baseProgramId*/ = kTrVisNegativeId) { }
542 
543  // Viewport extents
544 
545  // Called when viewport extents changed
546  virtual void onExtentsChanged(OdTrVisViewportId /*viewportId*/, OdTrVisOverlayId /*overlayId*/, const OdTrVisExtentsDef & /*pDef*/) { }
547 
548  // Overlay viewport parameters override
549 
550  // Called when viewport needs override view parameters for specific overlay
551  virtual void onOverlayViewParamsOverride(OdTrVisViewportId /*viewportId*/, OdTrVisOverlayId /*overlayId*/, bool /*bOverride*/,
552  const OdTrVisViewParamsDef & /*pDef*/ = OdTrVisViewParamsDef()) { }
553 
554  // Metafiles
555 
556  // Called when new metafile added (returns visualId, equal to metafileId by default).
557  virtual OdTrVisDisplayId onMetafileAdded(OdTrVisMetafileId metafileId, const OdTrVisMetafileDef & /*pDef*/) { return (OdTrVisDisplayId)metafileId; }
558  // Called when exist metafile deleted.
559  virtual void onMetafileDeleted(OdTrVisMetafileId /*metafileId*/) { }
560  // Called when exist metafile changed.
561  //virtual void onMetafileModified(OdTrVisMetafileId /*metafileId*/, const OdTrVisMetafileDef & /*pDef*/) { }
562  // Called when exist metafile visibility changed.
563  virtual void onMetafileVisibilityChanged(OdTrVisMetafileId /*metafileId*/, bool /*bVisibility*/) { }
564  // Called when exist metafile highlighting changed.
565  virtual void onMetafileHighlightingChanged(OdTrVisMetafileId /*metafileId*/, bool /*bHighlight*/) { }
566  // Called when exist metafile fading changed.
567  virtual void onMetafileFadingChanged(OdTrVisMetafileId /*metafileId*/, bool /*bFade*/) { }
568  // Called to attach highlighting branch to metafile.
569  virtual void onMetafileHlBranchAttached(OdTrVisMetafileId /*metafileId*/, OdTrVisHlBranchId /*hlBranchId*/) { }
570  // Called to detach highlighting branch from metafile.
571  virtual void onMetafileHlBranchDetached(OdTrVisMetafileId /*metafileId*/) { }
572 
573  // Highlighting
574 
575  // Called when new highlighting branch added.
576  virtual void onHlBranchAdded(OdTrVisHlBranchId /*hlBranchId*/, const OdTrVisHlBranchDef & /*pDef*/) { }
577  // Called when exist highlighting branch modified.
578  virtual void onHlBranchModified(OdTrVisHlBranchId /*hlBranchId*/, const OdTrVisHlBranchDef & /*pDef*/,
579  bool /*bChildsModified*/, bool /*bMarkersModified*/) { }
580  // Called when exist highlighting branch deleted.
581  virtual void onHlBranchDeleted(OdTrVisHlBranchId /*hlBranchId*/) { }
582 
583  // Textures
584 
585  // Called when new texture added.
586  virtual void onTextureAdded(OdTrVisTextureId /*textureId*/, const OdTrVisTextureDef & /*pDef*/) { }
587  // Called when exist texture deleted.
588  virtual void onTextureDeleted(OdTrVisTextureId /*textureId*/) { }
589 
590  // Materials
591 
592  // Called when new material added.
593  virtual void onMaterialAdded(OdTrVisMaterialId /*materialId*/, const OdTrVisMaterialDef & /*pDef*/) { }
594  // Called when exist material deleted.
595  virtual void onMaterialDeleted(OdTrVisMaterialId /*materialId*/) { }
596 
597  // Visual Styles
598 
599  // Called when new visual style added.
600  virtual void onVisualStyleAdded(OdTrVisVisualStyleId /*visualStyleId*/, const OdTrVisVisualStyle & /*pDef*/) { }
601  // Called when exist visual style modified.
602  virtual void onVisualStyleModified(OdTrVisVisualStyleId /*visualStyleId*/, const OdTrVisVisualStyle & /*pDef*/) { }
603  // Called when exist visual style deleted.
604  virtual void onVisualStyleDeleted(OdTrVisVisualStyleId /*visualStyleId*/) { }
605 
606  // Layers
607 
608  // Called when new layer added.
609  virtual void onLayerAdded(OdTrVisLayerId /*layerId*/, const OdTrVisLayerDef & /*pDef*/) { }
610  // Called when exist layer modified.
611  virtual void onLayerModified(OdTrVisLayerId /*layerId*/, const OdTrVisLayerDef & /*pDef*/) { }
612  // Called when exist layer deleted.
613  virtual void onLayerDeleted(OdTrVisLayerId /*layerId*/) { }
614  //Called when layer viewport-dependent properties changed
615  virtual void onLayerViewportPropsOverride(OdTrVisViewportId viewportId, OdTrVisLayerId layerId, bool bOverride, const OdTrVisLayerProps &pProps = OdTrVisLayerProps() )
616  {
617  }
618 };
619 
624 {
625  protected:
628  public:
630  {
633 
634  void setIdRegRedirection(IdRegistrator *pRedir) { m_pIdRegRedir = pRedir; }
637  bool hasIdRegRedirection() const { return (m_pIdRegRedir != NULL); }
638 
639  virtual void reg(DataType type, OdTrVisId id, OdDbStub *pPersId)
640  {
641  if (hasIdRegRedirection())
642  getIdRegRedirection()->reg(type, id, pPersId);
643  }
644  virtual void reg(DataType type, OdTrVisId id, const OdGiDrawable *pTransId)
645  {
646  if (hasIdRegRedirection())
647  getIdRegRedirection()->reg(type, id, pTransId);
648  }
649  virtual void reg(DataType type, OdTrVisId id, const OdTrVisUniqueID &uId)
650  {
651  if (hasIdRegRedirection())
652  getIdRegRedirection()->reg(type, id, uId);
653  }
654  virtual void kill(DataType type, OdTrVisId id)
655  {
656  if (hasIdRegRedirection())
657  getIdRegRedirection()->kill(type, id);
658  }
659  virtual OdTrVisUniqueID *get(DataType type, OdTrVisId id, bool bKill = false) const
660  {
661  if (hasIdRegRedirection())
662  return getIdRegRedirection()->get(type, id, bKill);
663  return NULL;
664  }
665  };
666  public:
668 
669  void setRedirection(OdTrVisRendition *pRedir) { m_pRedir = pRedir; }
671  const OdTrVisRendition *getRedirection() const { return m_pRedir; }
672  bool hasRedirection() const { return (m_pRedir != NULL); }
673 
676  {
678  throw OdError(eNullPtr);
679  return m_pInformationalRedir;
680  }
682  {
684  throw OdError(eNullPtr);
685  return m_pInformationalRedir;
686  }
688 
690  {
691  setRedirection(pRedir);
693  }
695 
696  // High-level callbacks
697 
698  // Called on starting vectorizer update.
700  {
703  }
704  // Called on ending vectorizer update.
705  virtual void onDeviceUpdateEnd(OdTrVisRenderClient *pDevice)
706  {
709  }
710 
711  // Returns set of bit flags which indicate rendition capabilities/settings
712  virtual OdUInt32 queryRenditionCaps(OdUInt32 requestFor = 0xFFFFFFFF) const
713  {
715  return getInformationalRedirection()->queryRenditionCaps(requestFor);
716  return 0;
717  }
718 
719  // Partial update support for local renditions:
720  // Called to setup invalid rectangles and overlays on partial update.
721  virtual void onPartialUpdateInvalidRects(OdTrVisOverlayId overlayId, const OdGsDCRectArray &invalidRects, bool bOverlayInvalid = false)
722  {
724  getInformationalRedirection()->onPartialUpdateInvalidRects(overlayId, invalidRects, bOverlayInvalid);
725  }
726  // Called on partial update query to set entire actual visibilities list.
727  virtual void onPartialUpdateList(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisDisplayId *pList, OdUInt32 nEntries)
728  {
730  getInformationalRedirection()->onPartialUpdateList(viewportId, overlayId, pList, nEntries);
731  }
732 
733  // Query snapshot
734  virtual void querySnapshot(OdUInt8 *pScanlines, long minX, long minY, long nWidth, long nHeight)
735  {
737  getInformationalRedirection()->querySnapshot(pScanlines, minX, minY, nWidth, nHeight);
738  }
739 
740  // Allocate new resource sharing provider compatible with rendition
742  {
746  }
747 
748  // Multithread processing flags
750  {
753  return kMtSkip;
754  }
755 
756  // Returns Id registrator, or NULL if no registration supported
757  virtual IdRegistrator *idRegistrator() const
758  {
761  return NULL;
762  }
763 
764  // Returns true if metafile streams accessible directly, returns stream by Id
765  virtual bool queryMetafileStream(OdTrVisDisplayId displayId, const OdTrVisFlatMetafileContainer **pStream) const
766  {
768  return getInformationalRedirection()->queryMetafileStream(displayId, pStream);
769  return false;
770  }
771 
772  // Returns non-kTrVisNegativeId in case if vectorizer supports ProgramID's embedded into metafile stream
774  OdTrVisGeomType geomType = OdTrVisGeomType_Default, OdUInt32 shadingFlags = 0) const
775  {
777  return getInformationalRedirection()->queryProgramId(mode, vsId, geomType, shadingFlags);
778  return kTrVisNegativeId;
779  }
780 
781  // GsFiler support
782  virtual bool saveRenditionState(OdGsFiler *pFiler) const
783  {
786  return false;
787  }
788  virtual bool loadRenditionState(OdGsFiler *pFiler, OdTrVisIdMap *pIdMap)
789  {
791  return getInformationalRedirection()->loadRenditionState(pFiler, pIdMap);
792  return false;
793  }
794 
795  // Mid-level callbacks
796 
797  // Client information
798 
799  virtual void obtainClientSettings(ClientSettings &clientSets)
800  {
803  }
804 
805  // Surface
806 
807  virtual void onSurfaceChanged(const OdTrVisSurfaceDef &pDef)
808  {
809  if (hasRedirection())
811  }
812 
813  // Overlays
814 
815  // Called when new overlay added into device.
816  virtual void onOverlayAdded(OdTrVisOverlayId overlayId, const OdTrVisOverlayDef &pDef)
817  {
818  if (hasRedirection())
819  getRedirection()->onOverlayAdded(overlayId, pDef);
820  }
821  // Called when exist overlay removed from device.
822  virtual void onOverlayDeleted(OdTrVisOverlayId overlayId)
823  {
824  if (hasRedirection())
825  getRedirection()->onOverlayDeleted(overlayId);
826  }
827  // Called when overlay visibility changed.
828  virtual void onOverlayVisibilityChanged(OdTrVisOverlayId overlayId, bool bVisibility)
829  {
830  if (hasRedirection())
831  getRedirection()->onOverlayVisibilityChanged(overlayId, bVisibility);
832  }
833  // Called when overlay rendering order changed.
834  virtual void onOverlayRenderOrderChanged(OdTrVisOverlayId overlayId, OdInt16 nRenderOrder)
835  {
836  if (hasRedirection())
837  getRedirection()->onOverlayRenderOrderChanged(overlayId, nRenderOrder);
838  }
839 
840  // Viewports
841 
842  // Called when new viewport added into device.
843  virtual void onViewportAdded(OdTrVisViewportId viewportId /*, const OdTrVisViewportDef &pDef*/)
844  {
845  if (hasRedirection())
846  getRedirection()->onViewportAdded(viewportId);
847  }
848  // Called when viewport removed from device.
849  virtual void onViewportDeleted(OdTrVisViewportId viewportId)
850  {
851  if (hasRedirection())
852  getRedirection()->onViewportDeleted(viewportId);
853  }
854  // Called when viewport inserted in list with some index.
855  virtual void onViewportInserted(OdTrVisViewportId viewportId, int nIndex)
856  {
857  if (hasRedirection())
858  getRedirection()->onViewportInserted(viewportId, nIndex);
859  }
860  // Called when viewport already exist in device modified.
861  virtual void onViewportModified(OdTrVisViewportId viewportId, const OdTrVisViewportDef &pDef, OdUInt32 kindOfMod = kViewportModAll)
862  {
863  if (hasRedirection())
864  getRedirection()->onViewportModified(viewportId, pDef, kindOfMod);
865  }
866 
867  // Viewports ordering lists
868 
869  // Called when order of metafiles in viewport is changed.
870  virtual void onMetafileOrderChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisDisplayId *pList, OdUInt32 nEntries)
871  {
872  if (hasRedirection())
873  getRedirection()->onMetafileOrderChanged(viewportId, overlayId, pList, nEntries);
874  }
875  // Called when order of metafiles in viewport is changed (for obtain modified part of list by renderer).
876  virtual void onMetafileOrderChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, OdUInt32 nInvalidFrom, OdUInt32 nInvalidLen,
877  const OdTrVisDisplayId *pValidFrom, OdUInt32 nValidLen)
878  {
879  if (hasRedirection())
880  getRedirection()->onMetafileOrderChanged(viewportId, overlayId, nInvalidFrom, nInvalidLen, pValidFrom, nValidLen);
881  }
882 
883  // Viewport light lists
884 
885  // Called when lights list in viewport is changed.
886  virtual void onLightsListChanged(OdTrVisViewportId viewportId, float ambientLight[4], bool bDefaultLightsOn,
887  const OdTrVisLightDef *pList, OdUInt32 nEntries)
888  {
889  if (hasRedirection())
890  getRedirection()->onLightsListChanged(viewportId, ambientLight, bDefaultLightsOn, pList, nEntries);
891  }
892 
893  // Viewport background
894 
895  // Called when background stream in viewport is changed.
897  OdTrVisProgramId baseProgramId = kTrVisNegativeId)
898  {
899  if (hasRedirection())
900  getRedirection()->onBackgroundChanged(viewportId, pStream, baseProgramId);
901  }
902 
903  // Viewport extents
904 
905  // Called when viewport extents changed
906  virtual void onExtentsChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisExtentsDef &pDef)
907  {
908  if (hasRedirection())
909  getRedirection()->onExtentsChanged(viewportId, overlayId, pDef);
910  }
911 
912  // Overlay viewport parameters override
913 
914  // Called when viewport needs override view parameters for specific overlay
915  virtual void onOverlayViewParamsOverride(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, bool bOverride,
917  {
918  if (hasRedirection())
919  getRedirection()->onOverlayViewParamsOverride(viewportId, overlayId, bOverride, pDef);
920  }
921 
922  // Metafiles
923 
924  // Called when new metafile added (returns visualId, equal to metafileId by default).
926  {
927  if (hasRedirection())
928  return getRedirection()->onMetafileAdded(metafileId, pDef);
929  return metafileId;
930  }
931  // Called when exist metafile deleted.
932  virtual void onMetafileDeleted(OdTrVisMetafileId metafileId)
933  {
934  if (hasRedirection())
935  getRedirection()->onMetafileDeleted(metafileId);
936  }
937  // Called when exist metafile changed.
938  //virtual void onMetafileModified(OdTrVisMetafileId metafileId, const OdTrVisMetafileDef &pDef)
939  //{
940  // if (hasRedirection())
941  // getRedirection()->onMetafileModified(metafileId, pDef);
942  //}
943  // Called when exist metafile visibility changed.
944  virtual void onMetafileVisibilityChanged(OdTrVisMetafileId metafileId, bool bVisibility)
945  {
946  if (hasRedirection())
947  getRedirection()->onMetafileVisibilityChanged(metafileId, bVisibility);
948  }
949  // Called when exist metafile highlighting changed.
950  virtual void onMetafileHighlightingChanged(OdTrVisMetafileId metafileId, bool bHighlight)
951  {
952  if (hasRedirection())
953  getRedirection()->onMetafileHighlightingChanged(metafileId, bHighlight);
954  }
955  // Called when exist metafile fading changed.
956  virtual void onMetafileFadingChanged(OdTrVisMetafileId metafileId, bool bFade)
957  {
958  if (hasRedirection())
959  getRedirection()->onMetafileFadingChanged(metafileId, bFade);
960  }
961  // Called to attach highlighting branch to metafile.
963  {
964  if (hasRedirection())
965  getRedirection()->onMetafileHlBranchAttached(metafileId, hlBranchId);
966  }
967  // Called to detach highlighting branch from metafile.
969  {
970  if (hasRedirection())
972  }
973 
974  // Highlighting
975 
976  // Called when new highlighting branch added.
977  virtual void onHlBranchAdded(OdTrVisHlBranchId hlBranchId, const OdTrVisHlBranchDef &pDef)
978  {
979  if (hasRedirection())
980  getRedirection()->onHlBranchAdded(hlBranchId, pDef);
981  }
982  // Called when exist highlighting branch modified.
983  virtual void onHlBranchModified(OdTrVisHlBranchId hlBranchId, const OdTrVisHlBranchDef &pDef,
984  bool bChildsModified, bool bMarkersModified)
985  {
986  if (hasRedirection())
987  getRedirection()->onHlBranchModified(hlBranchId, pDef, bChildsModified, bMarkersModified);
988  }
989  // Called when exist highlighting branch deleted.
990  virtual void onHlBranchDeleted(OdTrVisHlBranchId hlBranchId)
991  {
992  if (hasRedirection())
993  getRedirection()->onHlBranchDeleted(hlBranchId);
994  }
995 
996  // Textures
997 
998  // Called when new texture added.
999  virtual void onTextureAdded(OdTrVisTextureId textureId, const OdTrVisTextureDef &pDef)
1000  {
1001  if (hasRedirection())
1002  getRedirection()->onTextureAdded(textureId, pDef);
1003  }
1004  // Called when exist texture deleted.
1005  virtual void onTextureDeleted(OdTrVisTextureId textureId)
1006  {
1007  if (hasRedirection())
1008  getRedirection()->onTextureDeleted(textureId);
1009  }
1010 
1011  // Materials
1012 
1013  // Called when new material added.
1014  virtual void onMaterialAdded(OdTrVisMaterialId materialId, const OdTrVisMaterialDef &pDef)
1015  {
1016  if (hasRedirection())
1017  getRedirection()->onMaterialAdded(materialId, pDef);
1018  }
1019  // Called when exist material deleted.
1020  virtual void onMaterialDeleted(OdTrVisMaterialId materialId)
1021  {
1022  if (hasRedirection())
1023  getRedirection()->onMaterialDeleted(materialId);
1024  }
1025 
1026  // Visual Styles
1027 
1028  // Called when new visual style added.
1029  virtual void onVisualStyleAdded(OdTrVisVisualStyleId visualStyleId, const OdTrVisVisualStyle &pDef)
1030  {
1031  if (hasRedirection())
1032  getRedirection()->onVisualStyleAdded(visualStyleId, pDef);
1033  }
1034  // Called when exist visual style modified.
1035  virtual void onVisualStyleModified(OdTrVisVisualStyleId visualStyleId, const OdTrVisVisualStyle &pDef)
1036  {
1037  if (hasRedirection())
1038  getRedirection()->onVisualStyleModified(visualStyleId, pDef);
1039  }
1040  // Called when exist visual style deleted.
1041  virtual void onVisualStyleDeleted(OdTrVisVisualStyleId visualStyleId)
1042  {
1043  if (hasRedirection())
1044  getRedirection()->onVisualStyleDeleted(visualStyleId);
1045  }
1046 
1047  // Layers
1048 
1049  // Called when new layer added.
1050  virtual void onLayerAdded(OdTrVisLayerId layerId, const OdTrVisLayerDef &pDef)
1051  {
1052  if (hasRedirection())
1053  getRedirection()->onLayerAdded(layerId, pDef);
1054  }
1055  // Called when exist layer modified.
1056  virtual void onLayerModified(OdTrVisLayerId layerId, const OdTrVisLayerDef &pDef)
1057  {
1058  if (hasRedirection())
1059  getRedirection()->onLayerModified(layerId, pDef);
1060  }
1061  // Called when exist layer deleted.
1062  virtual void onLayerDeleted(OdTrVisLayerId layerId)
1063  {
1064  if (hasRedirection())
1065  getRedirection()->onLayerDeleted(layerId);
1066  }
1067  //Called when layer viewport-dependent properties changed
1068  virtual void onLayerViewportPropsOverride(OdTrVisViewportId viewportId, OdTrVisLayerId layerId, bool bOverride, const OdTrVisLayerProps &pProps = OdTrVisLayerProps() )
1069  {
1070  if( hasRedirection())
1071  getRedirection()->onLayerViewportPropsOverride( viewportId, layerId, bOverride, pProps );
1072  }
1073 };
1074 
1079 {
1080  public:
1081  struct CallRecord
1082  {
1085  virtual ~CallRecord() { }
1086  virtual void reDrop(OdTrVisRendition *pRendition) = 0;
1087  };
1088  protected:
1091  public:
1094 
1095  void appendRecord(CallRecord *pRecord);
1096  void playRecords(OdTrVisRendition *pRendition, bool bClear = false);
1098  bool hasRecords() const { return (m_pFirstRecord != NULL); }
1099 
1100  // High-level callbacks
1101 
1102  // Multithread processing flags
1103  virtual MtHandlerType mtDataTypeProcessing(DataType & /*type*/) const { return kMtGlobal; }
1104 
1105  // Returns Id registrator, or NULL if no registration supported
1107 
1108  // Mid-level callbacks
1109 
1110  // Surface
1111 
1112  virtual void onSurfaceChanged(const OdTrVisSurfaceDef &pDef);
1113 
1114  // Overlays
1115 
1116  // Called when new overlay added into device.
1117  virtual void onOverlayAdded(OdTrVisOverlayId overlayId, const OdTrVisOverlayDef &pDef);
1118  // Called when exist overlay removed from device.
1119  virtual void onOverlayDeleted(OdTrVisOverlayId overlayId);
1120  // Called when overlay visibility changed.
1121  virtual void onOverlayVisibilityChanged(OdTrVisOverlayId overlayId, bool bVisibility);
1122  // Called when overlay rendering order changed.
1123  virtual void onOverlayRenderOrderChanged(OdTrVisOverlayId overlayId, OdInt16 nRenderOrder);
1124 
1125  // Viewports
1126 
1127  // Called when new viewport added into device.
1128  virtual void onViewportAdded(OdTrVisViewportId viewportId /*, const OdTrVisViewportDef &pDef*/);
1129  // Called when viewport removed from device.
1130  virtual void onViewportDeleted(OdTrVisViewportId viewportId);
1131  // Called when viewport inserted in list with some index.
1132  virtual void onViewportInserted(OdTrVisViewportId viewportId, int nIndex);
1133  // Called when viewport already exist in device modified.
1134  virtual void onViewportModified(OdTrVisViewportId viewportId, const OdTrVisViewportDef &pDef, OdUInt32 kindOfMod = kViewportModAll);
1135 
1136  // Viewports ordering lists
1137 
1138  // Called when order of metafiles in viewport is changed.
1139  virtual void onMetafileOrderChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisDisplayId *pList, OdUInt32 nEntries);
1140  // Called when order of metafiles in viewport is changed (for obtain modified part of list by renderer).
1141  virtual void onMetafileOrderChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, OdUInt32 nInvalidFrom, OdUInt32 nInvalidLen,
1142  const OdTrVisDisplayId *pValidFrom, OdUInt32 nValidLen);
1143 
1144  // Viewport light lists
1145 
1146  // Called when lights list in viewport is changed.
1147  virtual void onLightsListChanged(OdTrVisViewportId viewportId, float ambientLight[4], bool bDefaultLightsOn,
1148  const OdTrVisLightDef *pList, OdUInt32 nEntries);
1149 
1150  // Viewport background
1151 
1152  // Called when background stream in viewport is changed.
1154  OdTrVisProgramId baseProgramId = kTrVisNegativeId);
1155 
1156  // Viewport extents
1157 
1158  // Called when viewport extents changed
1159  virtual void onExtentsChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisExtentsDef &pDef);
1160 
1161  // Overlay viewport parameters override
1162 
1163  // Called when viewport needs override view parameters for specific overlay
1164  virtual void onOverlayViewParamsOverride(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, bool bOverride,
1165  const OdTrVisViewParamsDef &pDef = OdTrVisViewParamsDef());
1166 
1167  // Metafiles
1168 
1169  // Called when new metafile added (returns visualId, equal to metafileId by default).
1171  // Called when exist metafile deleted.
1172  virtual void onMetafileDeleted(OdTrVisMetafileId metafileId);
1173  // Called when exist metafile changed.
1174  //virtual void onMetafileModified(OdTrVisMetafileId metafileId, const OdTrVisMetafileDef &pDef);
1175  // Called when exist metafile visibility changed.
1176  virtual void onMetafileVisibilityChanged(OdTrVisMetafileId metafileId, bool bVisibility);
1177  // Called when exist metafile highlighting changed.
1178  virtual void onMetafileHighlightingChanged(OdTrVisMetafileId metafileId, bool bHighlight);
1179  // Called when exist metafile fading changed.
1180  virtual void onMetafileFadingChanged(OdTrVisMetafileId metafileId, bool bFade);
1181  // Called to attach highlighting branch to metafile.
1183  // Called to detach highlighting branch from metafile.
1185 
1186  // Highlighting
1187 
1188  // Called when new highlighting branch added.
1189  virtual void onHlBranchAdded(OdTrVisHlBranchId hlBranchId, const OdTrVisHlBranchDef &pDef);
1190  // Called when exist highlighting branch modified.
1191  virtual void onHlBranchModified(OdTrVisHlBranchId hlBranchId, const OdTrVisHlBranchDef &pDef,
1192  bool bChildsModified, bool bMarkersModified);
1193  // Called when exist highlighting branch deleted.
1194  virtual void onHlBranchDeleted(OdTrVisHlBranchId hlBranchId);
1195 
1196  // Textures
1197 
1198  // Called when new texture added.
1199  virtual void onTextureAdded(OdTrVisTextureId textureId, const OdTrVisTextureDef &pDef);
1200  // Called when exist texture deleted.
1201  virtual void onTextureDeleted(OdTrVisTextureId textureId);
1202 
1203  // Materials
1204 
1205  // Called when new material added.
1206  virtual void onMaterialAdded(OdTrVisMaterialId materialId, const OdTrVisMaterialDef &pDef);
1207  // Called when exist material deleted.
1208  virtual void onMaterialDeleted(OdTrVisMaterialId materialId);
1209 
1210  // Visual Styles
1211 
1212  // Called when new visual style added.
1213  virtual void onVisualStyleAdded(OdTrVisVisualStyleId visualStyleId, const OdTrVisVisualStyle &pDef);
1214  // Called when exist visual style modified.
1215  virtual void onVisualStyleModified(OdTrVisVisualStyleId visualStyleId, const OdTrVisVisualStyle &pDef);
1216  // Called when exist visual style deleted.
1217  virtual void onVisualStyleDeleted(OdTrVisVisualStyleId visualStyleId);
1218 
1219  // Layers
1220 
1221  // Called when new layer added.
1222  virtual void onLayerAdded(OdTrVisLayerId layerId, const OdTrVisLayerDef &pDef);
1223  // Called when exist layer modified.
1224  virtual void onLayerModified(OdTrVisLayerId layerId, const OdTrVisLayerDef &pDef);
1225  // Called when exist layer deleted.
1226  virtual void onLayerDeleted(OdTrVisLayerId layerId);
1227  //Called when layer viewport-dependent properties changed
1228  virtual void onLayerViewportPropsOverride(OdTrVisViewportId viewportId, OdTrVisLayerId layerId, bool bOverride, const OdTrVisLayerProps &pProps = OdTrVisLayerProps() );
1229  protected:
1230  // IdRegistrator overrides
1231  virtual void reg(DataType type, OdTrVisId id, OdDbStub *pPersId);
1232  virtual void reg(DataType type, OdTrVisId id, const OdGiDrawable *pTransId);
1233  virtual void reg(DataType type, OdTrVisId id, const OdTrVisUniqueID &uId);
1234  virtual void kill(DataType type, OdTrVisId id);
1235  virtual OdTrVisUniqueID *get(DataType type, OdTrVisId id, bool bKill = false) const;
1236 };
1237 
1242 {
1243  protected:
1245  {
1257  protected:
1258  mutable struct IdRegistratorMt : public IdRegistrator
1259  {
1263  virtual void reg(DataType type, OdTrVisId id, OdDbStub *pPersId);
1264  virtual void reg(DataType type, OdTrVisId id, const OdGiDrawable *pTransId);
1265  virtual void reg(DataType type, OdTrVisId id, const OdTrVisUniqueID &uId);
1266  virtual void kill(DataType type, OdTrVisId id);
1267  virtual OdTrVisUniqueID *get(DataType type, OdTrVisId id, bool bKill = false) const;
1268  void getset(IdRegistrator *pBaseRegistrator) { m_pBaseRegistrator = pBaseRegistrator; }
1269  IdRegistrator *setget() { return (m_pBaseRegistrator) ? this : NULL; }
1271  public:
1274 
1275  // Initialize Mt rendition
1276  void init(OdTrVisRendition *pRendition);
1277  // Check does rendition is ready for Mt
1278  bool isMt() const;
1279 
1280  // High-level callbacks
1281 
1282  // Called on starting vectorizer update.
1284  // Called on ending vectorizer update.
1285  virtual void onDeviceUpdateEnd(OdTrVisRenderClient *pDevice);
1286 
1287  // Returns Id registrator, or NULL if no registration supported
1288  virtual IdRegistrator *idRegistrator() const;
1289 
1290  // Returns true if metafile streams accessible directly, returns stream by Id
1291  virtual bool queryMetafileStream(OdTrVisDisplayId displayId, const OdTrVisFlatMetafileContainer **pStream) const;
1292 
1293  // Returns non-kTrVisNegativeId in case if vectorizer supports ProgramID's embedded into metafile stream
1295  OdTrVisGeomType geomType = OdTrVisGeomType_Default, OdUInt32 shadingFlags = 0) const;
1296 
1297  // Mid-level callbacks
1298 
1299  // Client information
1300 
1301  virtual void obtainClientSettings(ClientSettings &clientSets);
1302 
1303  // Surface
1304 
1305  virtual void onSurfaceChanged(const OdTrVisSurfaceDef &pDef);
1306 
1307  // Overlays
1308 
1309  // Called when new overlay added into device.
1310  virtual void onOverlayAdded(OdTrVisOverlayId overlayId, const OdTrVisOverlayDef &pDef);
1311  // Called when exist overlay removed from device.
1312  virtual void onOverlayDeleted(OdTrVisOverlayId overlayId);
1313  // Called when overlay visibility changed.
1314  virtual void onOverlayVisibilityChanged(OdTrVisOverlayId overlayId, bool bVisibility);
1315  // Called when overlay rendering order changed.
1316  virtual void onOverlayRenderOrderChanged(OdTrVisOverlayId overlayId, OdInt16 nRenderOrder);
1317 
1318  // Viewports
1319 
1320  // Called when new viewport added into device.
1321  virtual void onViewportAdded(OdTrVisViewportId viewportId /*, const OdTrVisViewportDef &pDef*/);
1322  // Called when viewport removed from device.
1323  virtual void onViewportDeleted(OdTrVisViewportId viewportId);
1324  // Called when viewport inserted in list with some index.
1325  virtual void onViewportInserted(OdTrVisViewportId viewportId, int nIndex);
1326  // Called when viewport already exist in device modified.
1327  virtual void onViewportModified(OdTrVisViewportId viewportId, const OdTrVisViewportDef &pDef, OdUInt32 kindOfMod = kViewportModAll);
1328 
1329  // Viewports ordering lists
1330 
1331  // Called when order of metafiles in viewport is changed.
1332  virtual void onMetafileOrderChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisDisplayId *pList, OdUInt32 nEntries);
1333  // Called when order of metafiles in viewport is changed (for obtain modified part of list by renderer).
1334  virtual void onMetafileOrderChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, OdUInt32 nInvalidFrom, OdUInt32 nInvalidLen,
1335  const OdTrVisDisplayId *pValidFrom, OdUInt32 nValidLen);
1336 
1337  // Viewport light lists
1338 
1339  // Called when lights list in viewport is changed.
1340  virtual void onLightsListChanged(OdTrVisViewportId viewportId, float ambientLight[4], bool bDefaultLightsOn,
1341  const OdTrVisLightDef *pList, OdUInt32 nEntries);
1342 
1343  // Viewport background
1344 
1345  // Called when background stream in viewport is changed.
1347  OdTrVisProgramId baseProgramId = kTrVisNegativeId);
1348 
1349  // Viewport extents
1350 
1351  // Called when viewport extents changed
1352  virtual void onExtentsChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisExtentsDef &pDef);
1353 
1354  // Overlay viewport parameters override
1355 
1356  // Called when viewport needs override view parameters for specific overlay
1357  virtual void onOverlayViewParamsOverride(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, bool bOverride,
1358  const OdTrVisViewParamsDef &pDef = OdTrVisViewParamsDef());
1359 
1360  // Metafiles
1361 
1362  // Called when new metafile added (returns visualId, equal to metafileId by default).
1364  // Called when exist metafile deleted.
1365  virtual void onMetafileDeleted(OdTrVisMetafileId metafileId);
1366  // Called when exist metafile changed.
1367  //virtual void onMetafileModified(OdTrVisMetafileId metafileId, const OdTrVisMetafileDef &pDef);
1368  // Called when exist metafile visibility changed.
1369  virtual void onMetafileVisibilityChanged(OdTrVisMetafileId metafileId, bool bVisibility);
1370  // Called when exist metafile highlighting changed.
1371  virtual void onMetafileHighlightingChanged(OdTrVisMetafileId metafileId, bool bHighlight);
1372  // Called when exist metafile fading changed.
1373  virtual void onMetafileFadingChanged(OdTrVisMetafileId metafileId, bool bFade);
1374  // Called to attach highlighting branch to metafile.
1376  // Called to detach highlighting branch from metafile.
1378 
1379  // Highlighting
1380 
1381  // Called when new highlighting branch added.
1382  virtual void onHlBranchAdded(OdTrVisHlBranchId hlBranchId, const OdTrVisHlBranchDef &pDef);
1383  // Called when exist highlighting branch modified.
1384  virtual void onHlBranchModified(OdTrVisHlBranchId hlBranchId, const OdTrVisHlBranchDef &pDef,
1385  bool bChildsModified, bool bMarkersModified);
1386  // Called when exist highlighting branch deleted.
1387  virtual void onHlBranchDeleted(OdTrVisHlBranchId hlBranchId);
1388 
1389  // Textures
1390 
1391  // Called when new texture added.
1392  virtual void onTextureAdded(OdTrVisTextureId textureId, const OdTrVisTextureDef &pDef);
1393  // Called when exist texture deleted.
1394  virtual void onTextureDeleted(OdTrVisTextureId textureId);
1395 
1396  // Materials
1397 
1398  // Called when new material added.
1399  virtual void onMaterialAdded(OdTrVisMaterialId materialId, const OdTrVisMaterialDef &pDef);
1400  // Called when exist material deleted.
1401  virtual void onMaterialDeleted(OdTrVisMaterialId materialId);
1402 
1403  // Visual Styles
1404 
1405  // Called when new visual style added.
1406  virtual void onVisualStyleAdded(OdTrVisVisualStyleId visualStyleId, const OdTrVisVisualStyle &pDef);
1407  // Called when exist visual style modified.
1408  virtual void onVisualStyleModified(OdTrVisVisualStyleId visualStyleId, const OdTrVisVisualStyle &pDef);
1409  // Called when exist visual style deleted.
1410  virtual void onVisualStyleDeleted(OdTrVisVisualStyleId visualStyleId);
1411 
1412  // Layers
1413 
1414  // Called when new layer added.
1415  virtual void onLayerAdded(OdTrVisLayerId layerId, const OdTrVisLayerDef &pDef);
1416  // Called when exist layer modified.
1417  virtual void onLayerModified(OdTrVisLayerId layerId, const OdTrVisLayerDef &pDef);
1418  // Called when exist layer deleted.
1419  virtual void onLayerDeleted(OdTrVisLayerId layerId);
1420  //Called when layer viewport-dependent properties changed
1421  virtual void onLayerViewportPropsOverride(OdTrVisViewportId viewportId, OdTrVisLayerId layerId, bool bOverride, const OdTrVisLayerProps &pProps = OdTrVisLayerProps() );
1422 };
1423 
1424 #include "TD_PackPop.h"
1425 
1426 #endif // ODTRVISRENDITION
OdTrVisRendition::DisplayIdCodes
DisplayIdCodes
Definition: TrVisRendition.h:114
GETBIT
#define GETBIT(flags, bit)
Definition: OdaDefs.h:498
OdTrVisRenditionDef::onOverlayDeleted
virtual void onOverlayDeleted(OdTrVisOverlayId)
Definition: TrVisRendition.h:506
OdTrVisRenditionMt::onMetafileHighlightingChanged
virtual void onMetafileHighlightingChanged(OdTrVisMetafileId metafileId, bool bHighlight)
kTrVisNegativeId
const OdTrVisId kTrVisNegativeId
Definition: TrVisDefs.h:110
OdTrVisRendition::onMetafileHlBranchDetached
virtual void onMetafileHlBranchDetached(OdTrVisMetafileId metafileId)=0
OdTrVisRendition::kNDataTypes
@ kNDataTypes
Definition: TrVisRendition.h:101
OdTrVisRenditionDef::onMetafileDeleted
virtual void onMetafileDeleted(OdTrVisMetafileId)
Definition: TrVisRendition.h:559
OdTrVisRendition::ClientSettings::kSupportsBGRA
@ kSupportsBGRA
Definition: TrVisRendition.h:176
OdTrVisRendition::kMtSkip
@ kMtSkip
Definition: TrVisRendition.h:106
OdTrVisRendition::OdTrVisRendition
OdTrVisRendition()
Definition: TrVisRendition.h:248
TrVisInfoString.h
OdTrVisRendition::IdRegistrator
Definition: TrVisRendition.h:138
OdTrVisRendition::ClientSettings::kRequireBGR
@ kRequireBGR
Definition: TrVisRendition.h:177
OdTrVisRenditionRedir::getRedirection
OdTrVisRendition * getRedirection()
Definition: TrVisRendition.h:670
OdTrVisRenditionDef::onLayerDeleted
virtual void onLayerDeleted(OdTrVisLayerId)
Definition: TrVisRendition.h:613
OdTrVisRenditionRecorder::onOverlayRenderOrderChanged
virtual void onOverlayRenderOrderChanged(OdTrVisOverlayId overlayId, OdInt16 nRenderOrder)
OdTrVisRendition::onMetafileHighlightingChanged
virtual void onMetafileHighlightingChanged(OdTrVisMetafileId metafileId, bool bHighlight)=0
OdTrVisRendition::kViewportPropsData
@ kViewportPropsData
Definition: TrVisRendition.h:91
OdTrVisRenditionRecorder::playRecords
void playRecords(OdTrVisRendition *pRendition, bool bClear=false)
OdTrVisRenditionDef::onMetafileHighlightingChanged
virtual void onMetafileHighlightingChanged(OdTrVisMetafileId, bool)
Definition: TrVisRendition.h:565
OdTrVisRenditionDef::onLightsListChanged
virtual void onLightsListChanged(OdTrVisViewportId, float[4], bool, const OdTrVisLightDef *, OdUInt32)
Definition: TrVisRendition.h:534
OdTrVisRenditionRedir::onTextureAdded
virtual void onTextureAdded(OdTrVisTextureId textureId, const OdTrVisTextureDef &pDef)
Definition: TrVisRendition.h:999
NULL
#define NULL
Definition: GsProperties.h:177
OdTrVisRendition::kBackgroundData
@ kBackgroundData
Definition: TrVisRendition.h:91
OdTrVisRenditionRedir::IdRegistratorRedir::setIdRegRedirection
void setIdRegRedirection(IdRegistrator *pRedir)
Definition: TrVisRendition.h:634
OdGsView::RenderMode
RenderMode
Definition: Gs.h:138
OdTrVisRenditionMt::onMetafileAdded
virtual OdTrVisDisplayId onMetafileAdded(OdTrVisMetafileId metafileId, const OdTrVisMetafileDef &pDef)
OdTrVisRenditionRedir::idRegistrator
virtual IdRegistrator * idRegistrator() const
Definition: TrVisRendition.h:757
OdTrVisRendition::updateClientDependentSectionOnly
bool updateClientDependentSectionOnly() const
Definition: TrVisRendition.h:274
OdTrVisRendition::kOrderData
@ kOrderData
Definition: TrVisRendition.h:91
OdTrVisRendition::onLayerModified
virtual void onLayerModified(OdTrVisLayerId layerId, const OdTrVisLayerDef &pDef)=0
OdTrVisRenditionMt::m_recordRenditionHandler
OdStaticRxObject< OdTrVisRenditionRecorder > m_recordRenditionHandler
Definition: TrVisRendition.h:1255
OdUInt8
unsigned char OdUInt8
Definition: OdPlatformSettings.h:759
OdTrVisRendition::kDisplayCodeUnhighlight
@ kDisplayCodeUnhighlight
Definition: TrVisRendition.h:117
OdTrVisRenditionMt::onOverlayDeleted
virtual void onOverlayDeleted(OdTrVisOverlayId overlayId)
OdTrVisRenditionMt
Definition: TrVisRendition.h:1242
OdTrVisRenditionRedir::IdRegistratorRedir::get
virtual OdTrVisUniqueID * get(DataType type, OdTrVisId id, bool bKill=false) const
Definition: TrVisRendition.h:659
OdTrVisLayerDef
Definition: TrVisLayerDef.h:84
OdTrVisRenditionMt::onMetafileHlBranchAttached
virtual void onMetafileHlBranchAttached(OdTrVisMetafileId metafileId, OdTrVisHlBranchId hlBranchId)
OdTrVisRenditionMt::IdRegistratorMt::reg
virtual void reg(DataType type, OdTrVisId id, const OdTrVisUniqueID &uId)
OdTrVisRendition::ClientSettings::m_nTextureAlignment
OdUInt32 m_nTextureAlignment
Definition: TrVisRendition.h:188
OdTrVisRendition::kViewportModContextual
@ kViewportModContextual
Definition: TrVisRendition.h:73
OdTrVisRendition::ClientSettings::m_nMaxPointSize
float m_nMaxPointSize
Definition: TrVisRendition.h:191
OdTrVisRenditionRecorder::onHlBranchModified
virtual void onHlBranchModified(OdTrVisHlBranchId hlBranchId, const OdTrVisHlBranchDef &pDef, bool bChildsModified, bool bMarkersModified)
OdTrVisRenditionRecorder::onViewportModified
virtual void onViewportModified(OdTrVisViewportId viewportId, const OdTrVisViewportDef &pDef, OdUInt32 kindOfMod=kViewportModAll)
OdTrVisRenditionRedir::setRedirections
void setRedirections(OdTrVisRendition *pRedir)
Definition: TrVisRendition.h:689
OdTrVisRenditionMt::onBackgroundChanged
virtual void onBackgroundChanged(OdTrVisViewportId viewportId, OdTrVisFlatMetafileContainerPtr pStream, OdTrVisProgramId baseProgramId=kTrVisNegativeId)
OdTrVisRenditionMt::onLayerDeleted
virtual void onLayerDeleted(OdTrVisLayerId layerId)
OdTrVisRenditionDef::onOverlayViewParamsOverride
virtual void onOverlayViewParamsOverride(OdTrVisViewportId, OdTrVisOverlayId, bool, const OdTrVisViewParamsDef &=OdTrVisViewParamsDef())
Definition: TrVisRendition.h:551
OdTrVisRendition::ClientSettings::isShadeByVertex
bool isShadeByVertex() const
Definition: TrVisRendition.h:242
OdTrVisViewportDef::kViewportModRect
@ kViewportModRect
Definition: TrVisViewportDef.h:63
OdTrVisRenditionRecorder::onLightsListChanged
virtual void onLightsListChanged(OdTrVisViewportId viewportId, float ambientLight[4], bool bDefaultLightsOn, const OdTrVisLightDef *pList, OdUInt32 nEntries)
OdTrVisRenditionRedir::queryMetafileStream
virtual bool queryMetafileStream(OdTrVisDisplayId displayId, const OdTrVisFlatMetafileContainer **pStream) const
Definition: TrVisRendition.h:765
OdTrVisRenditionRecorder::onMetafileFadingChanged
virtual void onMetafileFadingChanged(OdTrVisMetafileId metafileId, bool bFade)
OdTrVisRenditionMt::queryMetafileStream
virtual bool queryMetafileStream(OdTrVisDisplayId displayId, const OdTrVisFlatMetafileContainer **pStream) const
OdTrVisRenditionMt::onMetafileOrderChanged
virtual void onMetafileOrderChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisDisplayId *pList, OdUInt32 nEntries)
OdTrVisRenditionRecorder::appendRecord
void appendRecord(CallRecord *pRecord)
OdTrVisRendition::ClientSettings::setLutOverride
void setLutOverride(bool bSet)
Definition: TrVisRendition.h:228
OdTrVisRendition::kDisplayCodePushMatrix
@ kDisplayCodePushMatrix
Definition: TrVisRendition.h:118
OdTrVisRenditionMt::init
void init(OdTrVisRendition *pRendition)
OdTrVisRenditionDef::onMetafileHlBranchAttached
virtual void onMetafileHlBranchAttached(OdTrVisMetafileId, OdTrVisHlBranchId)
Definition: TrVisRendition.h:569
OdTrVisRenditionDef::IdRegistratorStub::kill
virtual void kill(DataType, OdTrVisId)
Definition: TrVisRendition.h:447
OdTrVisRendition::onMetafileVisibilityChanged
virtual void onMetafileVisibilityChanged(OdTrVisMetafileId metafileId, bool bVisibility)=0
OdTrVisRendition::onViewportAdded
virtual void onViewportAdded(OdTrVisViewportId viewportId)=0
OdTrVisRenditionDef::onMaterialDeleted
virtual void onMaterialDeleted(OdTrVisMaterialId)
Definition: TrVisRendition.h:595
OdTrVisRendition::ClientSettings::Flags
Flags
Definition: TrVisRendition.h:171
OdTrVisRendition::ODRX_USING_HEAP_OPERATORS
ODRX_USING_HEAP_OPERATORS(OdRxObject)
type
GLuint GLsizei GLsizei GLint GLenum * type
Definition: gles2_ext.h:274
TrVisMaterialDef.h
OdTrVisExtentsDef
Definition: TrVisExtentsDef.h:36
OdTrVisRendition::kSupportGsStateSaving
@ kSupportGsStateSaving
Definition: TrVisRendition.h:131
OdTrVisRenditionRedir::IdRegistratorRedir::reg
virtual void reg(DataType type, OdTrVisId id, const OdGiDrawable *pTransId)
Definition: TrVisRendition.h:644
OdTrVisRendition::onMaterialAdded
virtual void onMaterialAdded(OdTrVisMaterialId materialId, const OdTrVisMaterialDef &pDef)=0
false
false
Definition: DimVarDefs.h:165
OdTrVisRenditionRedir::getRedirection
const OdTrVisRendition * getRedirection() const
Definition: TrVisRendition.h:671
OdTrVisRenditionRedir::IdRegistratorRedir::IdRegistratorRedir
IdRegistratorRedir()
Definition: TrVisRendition.h:632
OdTrVisRenditionRedir::onHlBranchModified
virtual void onHlBranchModified(OdTrVisHlBranchId hlBranchId, const OdTrVisHlBranchDef &pDef, bool bChildsModified, bool bMarkersModified)
Definition: TrVisRendition.h:983
OdTrVisRenditionRedir::onViewportModified
virtual void onViewportModified(OdTrVisViewportId viewportId, const OdTrVisViewportDef &pDef, OdUInt32 kindOfMod=kViewportModAll)
Definition: TrVisRendition.h:861
OdTrVisRenditionDef::IdRegistratorStub::reg
virtual void reg(DataType, OdTrVisId, const OdGiDrawable *)
Definition: TrVisRendition.h:445
OdTrVisRenditionDef::loadRenditionState
virtual bool loadRenditionState(OdGsFiler *, OdTrVisIdMap *)
Definition: TrVisRendition.h:489
OdSharedPtr
Definition: SharedPtr.h:49
OdTrVisRenditionRedir::queryProgramId
virtual OdTrVisProgramId queryProgramId(OdGsView::RenderMode mode, OdTrVisVisualStyleId vsId=kTrVisNegativeId, OdTrVisGeomType geomType=OdTrVisGeomType_Default, OdUInt32 shadingFlags=0) const
Definition: TrVisRendition.h:773
OdRxObject
Definition: RxObject.h:564
OdTrVisRenditionMt::onLightsListChanged
virtual void onLightsListChanged(OdTrVisViewportId viewportId, float ambientLight[4], bool bDefaultLightsOn, const OdTrVisLightDef *pList, OdUInt32 nEntries)
OdTrVisRenditionDef::querySnapshot
virtual void querySnapshot(OdUInt8 *, long, long, long, long)
Definition: TrVisRendition.h:468
GeExtents3d.h
OdTrVisRenditionRedir::createSharingProvider
virtual OdTrVisSharingProviderClientPtr createSharingProvider()
Definition: TrVisRendition.h:741
OdTrVisRendition::createSharingProvider
virtual OdTrVisSharingProviderClientPtr createSharingProvider()=0
OdTrVisRenditionDef::onViewportInserted
virtual void onViewportInserted(OdTrVisViewportId, int)
Definition: TrVisRendition.h:519
OdTrVisRendition::mtDataTypeProcessing
virtual MtHandlerType mtDataTypeProcessing(DataType &type) const =0
OdTrVisRenditionMt::DataTypeEntry::DataTypeEntry
DataTypeEntry()
Definition: TrVisRendition.h:1250
OdTrVisRendition::kSupportPartialUpdate
@ kSupportPartialUpdate
Definition: TrVisRendition.h:127
OdTrVisViewportDef
Definition: TrVisViewportDef.h:42
OdTrVisRendition::ClientSettings::isSupportBGR
bool isSupportBGR() const
Definition: TrVisRendition.h:218
OdTrVisRendition::ClientInfo::m_glVendor
OdTrVisInfoString m_glVendor
Definition: TrVisRendition.h:157
OdTrVisRendition::ClientSettings::setSupportBGR
void setSupportBGR(bool bSet)
Definition: TrVisRendition.h:219
OdTrVisRendition::isSupportGsStateSaving
bool isSupportGsStateSaving() const
Definition: TrVisRendition.h:270
SETBIT
#define SETBIT(flags, bit, value)
Definition: OdaDefs.h:497
TrVisHlBranchDef.h
OdTrVisRendition::onVisualStyleDeleted
virtual void onVisualStyleDeleted(OdTrVisVisualStyleId visualStyleId)=0
OdTrVisRenditionRedir::onLayerDeleted
virtual void onLayerDeleted(OdTrVisLayerId layerId)
Definition: TrVisRendition.h:1062
TrVisSharingProviderClient.h
OdTrVisRendition::isSupportOverlayBuffers
bool isSupportOverlayBuffers() const
Definition: TrVisRendition.h:272
OdTrVisRenditionDef::onDeviceUpdateEnd
virtual void onDeviceUpdateEnd(OdTrVisRenderClient *)
Definition: TrVisRendition.h:456
OdTrVisRendition::ClientSettings::isSupportNonPow2Textures
bool isSupportNonPow2Textures() const
Definition: TrVisRendition.h:212
OdTrVisRendition::kViewportModOrientation
@ kViewportModOrientation
Definition: TrVisRendition.h:69
OdTrVisRendition::ClientSettings::isSupportBGRA
bool isSupportBGRA() const
Definition: TrVisRendition.h:221
OdTrVisRenditionRecorder::onLayerDeleted
virtual void onLayerDeleted(OdTrVisLayerId layerId)
OdTrVisRenditionRedir::onHlBranchAdded
virtual void onHlBranchAdded(OdTrVisHlBranchId hlBranchId, const OdTrVisHlBranchDef &pDef)
Definition: TrVisRendition.h:977
OdTrVisRendition::kOverlayPropsData
@ kOverlayPropsData
Definition: TrVisRendition.h:99
OdTrVisRendition::loadRenditionState
virtual bool loadRenditionState(OdGsFiler *pFiler, OdTrVisIdMap *pIdMap)=0
TrVisMetafileDef.h
OdTrVisRenditionDef::onMetafileVisibilityChanged
virtual void onMetafileVisibilityChanged(OdTrVisMetafileId, bool)
Definition: TrVisRendition.h:563
OdTrVisRenditionMt::IdRegistratorMt
Definition: TrVisRendition.h:1259
OdTrVisRenditionMt::IdRegistratorMt::reg
virtual void reg(DataType type, OdTrVisId id, OdDbStub *pPersId)
OdTrVisRendition::onHlBranchDeleted
virtual void onHlBranchDeleted(OdTrVisHlBranchId hlBranchId)=0
OdTrVisRenditionMt::m_mtRegistrator
OdTrVisRenditionMt::IdRegistratorMt m_mtRegistrator
OdTrVisUniqueID
Definition: TrVisUniqueId.h:38
OdTrVisRenditionRecorder::onVisualStyleAdded
virtual void onVisualStyleAdded(OdTrVisVisualStyleId visualStyleId, const OdTrVisVisualStyle &pDef)
OdTrVisRenditionRedir::queryRenditionCaps
virtual OdUInt32 queryRenditionCaps(OdUInt32 requestFor=0xFFFFFFFF) const
Definition: TrVisRendition.h:712
OdTrVisViewportDef::kViewportModVisibility
@ kViewportModVisibility
Definition: TrVisViewportDef.h:55
OdTrVisRenditionMt::onMetafileVisibilityChanged
virtual void onMetafileVisibilityChanged(OdTrVisMetafileId metafileId, bool bVisibility)
OdTrVisRendition::queryProgramId
virtual OdTrVisProgramId queryProgramId(OdGsView::RenderMode mode, OdTrVisVisualStyleId vsId=kTrVisNegativeId, OdTrVisGeomType geomType=OdTrVisGeomType_Default, OdUInt32 shadingFlags=0) const =0
OdTrVisRenditionRedir::setInformationalRedirection
void setInformationalRedirection(OdTrVisRendition *pRedir)
Definition: TrVisRendition.h:674
OdTrVisRenditionRecorder::onMetafileHighlightingChanged
virtual void onMetafileHighlightingChanged(OdTrVisMetafileId metafileId, bool bHighlight)
OdArray< OdGsDCRect, OdMemoryAllocator< OdGsDCRect > >
OdTrVisRendition::kExtentsData
@ kExtentsData
Definition: TrVisRendition.h:91
OdTrVisRenditionRecorder::m_pLastRecord
CallRecord * m_pLastRecord
Definition: TrVisRendition.h:1090
OdTrVisRenditionRedir::obtainClientSettings
virtual void obtainClientSettings(ClientSettings &clientSets)
Definition: TrVisRendition.h:799
OdTrVisRenditionRedir::onMaterialAdded
virtual void onMaterialAdded(OdTrVisMaterialId materialId, const OdTrVisMaterialDef &pDef)
Definition: TrVisRendition.h:1014
OdTrVisRenditionRedir::m_pRedir
OdTrVisRendition * m_pRedir
Definition: TrVisRendition.h:626
TD_PackPop.h
OdTrVisRenditionRecorder::onLayerAdded
virtual void onLayerAdded(OdTrVisLayerId layerId, const OdTrVisLayerDef &pDef)
TrVisViewportDef.h
OdTrVisViewportDef::kViewportModLineweights
@ kViewportModLineweights
Definition: TrVisViewportDef.h:67
OdTrVisRenditionDef::onOverlayRenderOrderChanged
virtual void onOverlayRenderOrderChanged(OdTrVisOverlayId, OdInt16)
Definition: TrVisRendition.h:510
OdTrVisRenditionMt::onVisualStyleDeleted
virtual void onVisualStyleDeleted(OdTrVisVisualStyleId visualStyleId)
OdTrVisRenditionRecorder::onTextureAdded
virtual void onTextureAdded(OdTrVisTextureId textureId, const OdTrVisTextureDef &pDef)
OdTrVisRenditionRedir::onOverlayDeleted
virtual void onOverlayDeleted(OdTrVisOverlayId overlayId)
Definition: TrVisRendition.h:822
OdTrVisRendition::kLayerData
@ kLayerData
Definition: TrVisRendition.h:98
OdTrVisRendition::IdRegistrator::reg
void reg(DataType type, OdTrVisId id, OdDbStub *pPersId, const void *pTransId)
Definition: TrVisRendition.h:144
OdTrVisRenditionRedir::onMetafileHighlightingChanged
virtual void onMetafileHighlightingChanged(OdTrVisMetafileId metafileId, bool bHighlight)
Definition: TrVisRendition.h:950
OdTrVisRenditionMt::onMaterialAdded
virtual void onMaterialAdded(OdTrVisMaterialId materialId, const OdTrVisMaterialDef &pDef)
OdTrVisViewportDef::kViewportModContextual
@ kViewportModContextual
Definition: TrVisViewportDef.h:61
OdTrVisRenditionDef::saveRenditionState
virtual bool saveRenditionState(OdGsFiler *) const
Definition: TrVisRendition.h:488
OdTrVisRendition::saveRenditionState
virtual bool saveRenditionState(OdGsFiler *pFiler) const =0
OdTrVisRenditionRecorder::kill
virtual void kill(DataType type, OdTrVisId id)
OdTrVisRendition::kSupportSnapshotQueries
@ kSupportSnapshotQueries
Definition: TrVisRendition.h:128
OdTrVisRendition::onMaterialDeleted
virtual void onMaterialDeleted(OdTrVisMaterialId materialId)=0
OdTrVisRenditionRecorder::onMetafileHlBranchAttached
virtual void onMetafileHlBranchAttached(OdTrVisMetafileId metafileId, OdTrVisHlBranchId hlBranchId)
OdTrVisRenditionMt::onMaterialDeleted
virtual void onMaterialDeleted(OdTrVisMaterialId materialId)
OdTrVisRenditionDef::onPartialUpdateInvalidRects
virtual void onPartialUpdateInvalidRects(OdTrVisOverlayId, const OdGsDCRectArray &, bool=false)
Definition: TrVisRendition.h:463
OdTrVisRendition::IdRegistrator::reg
virtual void reg(DataType type, OdTrVisId id, OdDbStub *pPersId)=0
OdTrVisRendition::ClientSettings::m_nMaxTextureSize
OdUInt32 m_nMaxTextureSize
Definition: TrVisRendition.h:187
OdTrVisRenditionRecorder::OdTrVisRenditionRecorder
OdTrVisRenditionRecorder()
OdTrVisRenditionMt::m_skipRenditionHandler
OdStaticRxObject< OdTrVisRenditionDef > m_skipRenditionHandler
Definition: TrVisRendition.h:1254
OdTrVisRenditionRedir::IdRegistratorRedir::kill
virtual void kill(DataType type, OdTrVisId id)
Definition: TrVisRendition.h:654
TrVisSurfaceDef.h
OdUInt32
unsigned int OdUInt32
Definition: OdPlatformSettings.h:783
OdTrVisRenditionRedir::onMetafileAdded
virtual OdTrVisDisplayId onMetafileAdded(OdTrVisMetafileId metafileId, const OdTrVisMetafileDef &pDef)
Definition: TrVisRendition.h:925
OdInt16
short OdInt16
Definition: OdPlatformSettings.h:756
OdTrVisRendition::onLightsListChanged
virtual void onLightsListChanged(OdTrVisViewportId viewportId, float ambientLight[4], bool bDefaultLightsOn, const OdTrVisLightDef *pList, OdUInt32 nEntries)=0
OdTrVisRenditionRecorder
Definition: TrVisRendition.h:1079
OdTrVisRendition::ClientSettings::kOverrideLut
@ kOverrideLut
Definition: TrVisRendition.h:178
OdTrVisRenditionRedir::OdTrVisRenditionRedir
OdTrVisRenditionRedir()
Definition: TrVisRendition.h:667
OdTrVisRenditionRedir::onLayerAdded
virtual void onLayerAdded(OdTrVisLayerId layerId, const OdTrVisLayerDef &pDef)
Definition: TrVisRendition.h:1050
OdTrVisRenditionRedir::onOverlayVisibilityChanged
virtual void onOverlayVisibilityChanged(OdTrVisOverlayId overlayId, bool bVisibility)
Definition: TrVisRendition.h:828
OdTrVisRenditionRedir::IdRegistratorRedir::reg
virtual void reg(DataType type, OdTrVisId id, OdDbStub *pPersId)
Definition: TrVisRendition.h:639
OdTrVisRendition::IdRegistrator::get
virtual OdTrVisUniqueID * get(DataType type, OdTrVisId id, bool bKill=false) const =0
OdTrVisRenditionDef::onLayerViewportPropsOverride
virtual void onLayerViewportPropsOverride(OdTrVisViewportId viewportId, OdTrVisLayerId layerId, bool bOverride, const OdTrVisLayerProps &pProps=OdTrVisLayerProps())
Definition: TrVisRendition.h:615
OdTrVisRendition::kViewportModNrcClip
@ kViewportModNrcClip
Definition: TrVisRendition.h:77
OdTrVisRendition::onOverlayRenderOrderChanged
virtual void onOverlayRenderOrderChanged(OdTrVisOverlayId overlayId, OdInt16 nRenderOrder)=0
OdTrVisRenditionRecorder::onBackgroundChanged
virtual void onBackgroundChanged(OdTrVisViewportId viewportId, OdTrVisFlatMetafileContainerPtr pStream, OdTrVisProgramId baseProgramId=kTrVisNegativeId)
OdTrVisRenditionMt::onTextureDeleted
virtual void onTextureDeleted(OdTrVisTextureId textureId)
OdTrVisRendition::kUpdateClientSectionOnly
@ kUpdateClientSectionOnly
Definition: TrVisRendition.h:133
OdTrVisRenditionRecorder::CallRecord::CallRecord
CallRecord()
Definition: TrVisRendition.h:1084
OdTrVisRenditionDef::onMetafileHlBranchDetached
virtual void onMetafileHlBranchDetached(OdTrVisMetafileId)
Definition: TrVisRendition.h:571
OdTrVisRenditionDef::onOverlayAdded
virtual void onOverlayAdded(OdTrVisOverlayId, const OdTrVisOverlayDef &)
Definition: TrVisRendition.h:504
OdTrVisRendition::ClientSettings::m_uFlags
OdUInt32 m_uFlags
Definition: TrVisRendition.h:186
OdTrVisOverlayDef
Definition: TrVisOverlayDef.h:36
OdTrVisRenditionMt::DataTypeEntry::m_handler
MtHandlerType m_handler
Definition: TrVisRendition.h:1246
OdTrVisRenditionRedir::onPartialUpdateList
virtual void onPartialUpdateList(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisDisplayId *pList, OdUInt32 nEntries)
Definition: TrVisRendition.h:727
OdTrVisRendition::ClientSettings::setRequireBGR
void setRequireBGR(bool bSet)
Definition: TrVisRendition.h:225
OdTrVisRenditionMt::DataTypeEntry::m_pMutex
OdMutexPtr * m_pMutex
Definition: TrVisRendition.h:1249
OdTrVisRendition::IdRegistrator::reg
virtual void reg(DataType type, OdTrVisId id, const OdTrVisUniqueID &uId)=0
OdTrVisRenditionRecorder::onOverlayViewParamsOverride
virtual void onOverlayViewParamsOverride(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, bool bOverride, const OdTrVisViewParamsDef &pDef=OdTrVisViewParamsDef())
OdTrVisRenditionMt::onHlBranchModified
virtual void onHlBranchModified(OdTrVisHlBranchId hlBranchId, const OdTrVisHlBranchDef &pDef, bool bChildsModified, bool bMarkersModified)
OdTrVisRenditionRedir::onBackgroundChanged
virtual void onBackgroundChanged(OdTrVisViewportId viewportId, OdTrVisFlatMetafileContainerPtr pStream, OdTrVisProgramId baseProgramId=kTrVisNegativeId)
Definition: TrVisRendition.h:896
OdTrVisRenditionMt::onMetafileFadingChanged
virtual void onMetafileFadingChanged(OdTrVisMetafileId metafileId, bool bFade)
OdTrVisRendition::ClientSettings::isLutMonochrome
bool isLutMonochrome() const
Definition: TrVisRendition.h:230
OdTrVisRenditionDef::idRegistrator
virtual IdRegistrator * idRegistrator() const
Definition: TrVisRendition.h:477
OdTrVisRenditionRedir::onPartialUpdateInvalidRects
virtual void onPartialUpdateInvalidRects(OdTrVisOverlayId overlayId, const OdGsDCRectArray &invalidRects, bool bOverlayInvalid=false)
Definition: TrVisRendition.h:721
OdTrVisFlatMetafileContainer
Definition: TrVisMetafileStream.h:405
OdTrVisRendition::queryRenditionCaps
virtual OdUInt32 queryRenditionCaps(OdUInt32 requestFor=0xFFFFFFFF) const =0
OdTrVisRenditionDef::onMetafileAdded
virtual OdTrVisDisplayId onMetafileAdded(OdTrVisMetafileId metafileId, const OdTrVisMetafileDef &)
Definition: TrVisRendition.h:557
OdTrVisRenditionRedir::m_pInformationalRedir
OdTrVisRendition * m_pInformationalRedir
Definition: TrVisRendition.h:627
OdTrVisRenditionDef::IdRegistratorStub::reg
virtual void reg(DataType, OdTrVisId, OdDbStub *)
Definition: TrVisRendition.h:444
OdTrVisViewportDef::kViewportModBorder
@ kViewportModBorder
Definition: TrVisViewportDef.h:71
OdTrVisRenditionRedir::onHlBranchDeleted
virtual void onHlBranchDeleted(OdTrVisHlBranchId hlBranchId)
Definition: TrVisRendition.h:990
OdTrVisRendition::kViewportModShader
@ kViewportModShader
Definition: TrVisRendition.h:81
OdTrVisRenditionRecorder::onViewportDeleted
virtual void onViewportDeleted(OdTrVisViewportId viewportId)
OdTrVisRendition::ClientSettings::isLutOverride
bool isLutOverride() const
Definition: TrVisRendition.h:227
OdTrVisRenditionRedir::onLayerModified
virtual void onLayerModified(OdTrVisLayerId layerId, const OdTrVisLayerDef &pDef)
Definition: TrVisRendition.h:1056
OdTrVisRendition::ClientSettings::setSupportNonPow2Textures
void setSupportNonPow2Textures(bool bSet)
Definition: TrVisRendition.h:213
TrVisLightDef.h
OdTrVisRendition::querySnapshot
virtual void querySnapshot(OdUInt8 *pScanlines, long minX, long minY, long nWidth, long nHeight)=0
OdTrVisRenditionRecorder::onOverlayAdded
virtual void onOverlayAdded(OdTrVisOverlayId overlayId, const OdTrVisOverlayDef &pDef)
OdTrVisRenditionRecorder::onMaterialDeleted
virtual void onMaterialDeleted(OdTrVisMaterialId materialId)
OdTrVisRendition::kMtRedirect
@ kMtRedirect
Definition: TrVisRendition.h:107
OdTrVisRendition::ClientSettings
Definition: TrVisRendition.h:165
OdTrVisRenditionRedir::onViewportDeleted
virtual void onViewportDeleted(OdTrVisViewportId viewportId)
Definition: TrVisRendition.h:849
ThreadsCounter.h
OdTrVisRenditionMt::IdRegistratorMt::reg
virtual void reg(DataType type, OdTrVisId id, const OdGiDrawable *pTransId)
OdTrVisRenditionDef::onHlBranchModified
virtual void onHlBranchModified(OdTrVisHlBranchId, const OdTrVisHlBranchDef &, bool, bool)
Definition: TrVisRendition.h:578
OdTrVisRendition::ClientSettings::kLutMonochrome
@ kLutMonochrome
Definition: TrVisRendition.h:179
OdTrVisRenditionRecorder::mtDataTypeProcessing
virtual MtHandlerType mtDataTypeProcessing(DataType &) const
Definition: TrVisRendition.h:1103
OdTrVisRendition::onMetafileOrderChanged
virtual void onMetafileOrderChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, OdUInt32 nInvalidFrom, OdUInt32 nInvalidLen, const OdTrVisDisplayId *pValidFrom, OdUInt32 nValidLen)=0
OdSmartPtr
Definition: SmartPtr.h:58
OdTrVisRenditionDef::obtainClientSettings
virtual void obtainClientSettings(ClientSettings &)
Definition: TrVisRendition.h:495
OdTrVisRendition::ClientSettings::setShadeByVertex
void setShadeByVertex(bool bSet)
Definition: TrVisRendition.h:243
OdTrVisRenditionRedir::onMaterialDeleted
virtual void onMaterialDeleted(OdTrVisMaterialId materialId)
Definition: TrVisRendition.h:1020
OdTrVisRenditionDef::IdRegistratorStub
Definition: TrVisRendition.h:443
OdTrVisRendition::onPartialUpdateList
virtual void onPartialUpdateList(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisDisplayId *pList, OdUInt32 nEntries)=0
OdTrVisRendition::kDisplayCodeSelMarkers
@ kDisplayCodeSelMarkers
Definition: TrVisRendition.h:120
OdTrVisRenditionRecorder::onMetafileHlBranchDetached
virtual void onMetafileHlBranchDetached(OdTrVisMetafileId metafileId)
OdTrVisViewportDef::kViewportModNrcClip
@ kViewportModNrcClip
Definition: TrVisViewportDef.h:65
OdTrVisRenditionMt::onOverlayAdded
virtual void onOverlayAdded(OdTrVisOverlayId overlayId, const OdTrVisOverlayDef &pDef)
OdTrVisRenditionDef::onVisualStyleModified
virtual void onVisualStyleModified(OdTrVisVisualStyleId, const OdTrVisVisualStyle &)
Definition: TrVisRendition.h:602
OdTrVisRendition::ClientSettings::kNonPow2Wrapping
@ kNonPow2Wrapping
Definition: TrVisRendition.h:174
OdTrVisRenditionMt::onOverlayRenderOrderChanged
virtual void onOverlayRenderOrderChanged(OdTrVisOverlayId overlayId, OdInt16 nRenderOrder)
OdTrVisRendition::kDisplayCodeZero
@ kDisplayCodeZero
Definition: TrVisRendition.h:115
OdTrVisRenditionRedir::getInformationalRedirection
const OdTrVisRendition * getInformationalRedirection() const
Definition: TrVisRendition.h:681
OdTrVisInfoString
Definition: TrVisInfoString.h:36
OdTrVisRenditionDef::onVisualStyleAdded
virtual void onVisualStyleAdded(OdTrVisVisualStyleId, const OdTrVisVisualStyle &)
Definition: TrVisRendition.h:600
OdTrVisRendition::kLightsData
@ kLightsData
Definition: TrVisRendition.h:91
OdTrVisRenditionDef::onPartialUpdateList
virtual void onPartialUpdateList(OdTrVisViewportId, OdTrVisOverlayId, const OdTrVisDisplayId *, OdUInt32)
Definition: TrVisRendition.h:465
OdTrVisRendition::kSupportOverlayBuffers
@ kSupportOverlayBuffers
Definition: TrVisRendition.h:132
OdTrVisRendition::kViewportModLineweights
@ kViewportModLineweights
Definition: TrVisRendition.h:79
OdTrVisRenditionRecorder::onMetafileAdded
virtual OdTrVisDisplayId onMetafileAdded(OdTrVisMetafileId metafileId, const OdTrVisMetafileDef &pDef)
OdTrVisRenditionRedir::IdRegistratorRedir::reg
virtual void reg(DataType type, OdTrVisId id, const OdTrVisUniqueID &uId)
Definition: TrVisRendition.h:649
OdTrVisRendition::kMtGlobal
@ kMtGlobal
Definition: TrVisRendition.h:108
OdTrVisRenditionRedir::onTextureDeleted
virtual void onTextureDeleted(OdTrVisTextureId textureId)
Definition: TrVisRendition.h:1005
OdTrVisRenditionRedir::onDeviceUpdateEnd
virtual void onDeviceUpdateEnd(OdTrVisRenderClient *pDevice)
Definition: TrVisRendition.h:705
OdTrVisRenditionDef::queryRenditionCaps
virtual OdUInt32 queryRenditionCaps(OdUInt32=0xFFFFFFFF) const
Definition: TrVisRendition.h:459
OdTrVisRenditionMt::onHlBranchDeleted
virtual void onHlBranchDeleted(OdTrVisHlBranchId hlBranchId)
OdTrVisIdMap
Definition: TrVisIdMap.h:38
OdTrVisRenditionMt::IdRegistratorMt::m_pBaseRegistrator
IdRegistrator * m_pBaseRegistrator
Definition: TrVisRendition.h:1261
OdTrVisRenditionRedir::onSurfaceChanged
virtual void onSurfaceChanged(const OdTrVisSurfaceDef &pDef)
Definition: TrVisRendition.h:807
OdTrVisRendition::kSupportCompositeMetafiles
@ kSupportCompositeMetafiles
Definition: TrVisRendition.h:129
OdTrVisRenditionRedir::hasRedirection
bool hasRedirection() const
Definition: TrVisRendition.h:672
OdTrVisRenditionMt::IdRegistratorMt::setget
IdRegistrator * setget()
Definition: TrVisRendition.h:1269
OdTrVisRendition::onLayerAdded
virtual void onLayerAdded(OdTrVisLayerId layerId, const OdTrVisLayerDef &pDef)=0
TrVisDefs.h
OdTrVisRenditionDef::onLayerAdded
virtual void onLayerAdded(OdTrVisLayerId, const OdTrVisLayerDef &)
Definition: TrVisRendition.h:609
OdTrVisRenditionMt::onExtentsChanged
virtual void onExtentsChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisExtentsDef &pDef)
OdTrVisMetafileDef
Definition: TrVisMetafileDef.h:151
OdTrVisViewportDef::kViewportModShader
@ kViewportModShader
Definition: TrVisViewportDef.h:69
OdGiDrawable
Definition: GiDrawable.h:49
OdTrVisRendition::onTextureAdded
virtual void onTextureAdded(OdTrVisTextureId textureId, const OdTrVisTextureDef &pDef)=0
OdTrVisRendition::onLayerDeleted
virtual void onLayerDeleted(OdTrVisLayerId layerId)=0
OdTrVisRenditionMt::onViewportAdded
virtual void onViewportAdded(OdTrVisViewportId viewportId)
OdTrVisRendition::onMetafileAdded
virtual OdTrVisDisplayId onMetafileAdded(OdTrVisMetafileId metafileId, const OdTrVisMetafileDef &pDef)=0
OdTrVisRenditionRedir::onMetafileDeleted
virtual void onMetafileDeleted(OdTrVisMetafileId metafileId)
Definition: TrVisRendition.h:932
OdTrVisRenditionMt::onOverlayViewParamsOverride
virtual void onOverlayViewParamsOverride(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, bool bOverride, const OdTrVisViewParamsDef &pDef=OdTrVisViewParamsDef())
OdTrVisRenditionRecorder::idRegistrator
virtual OdTrVisRendition::IdRegistrator * idRegistrator() const
OdTrVisRenditionMt::~OdTrVisRenditionMt
~OdTrVisRenditionMt()
OdTrVisRenditionMt::IdRegistratorMt::getset
void getset(IdRegistrator *pBaseRegistrator)
Definition: TrVisRendition.h:1268
OdTrVisRenditionRecorder::reg
virtual void reg(DataType type, OdTrVisId id, const OdTrVisUniqueID &uId)
OdTrVisRenditionRedir::querySnapshot
virtual void querySnapshot(OdUInt8 *pScanlines, long minX, long minY, long nWidth, long nHeight)
Definition: TrVisRendition.h:734
OdTrVisRendition::onTextureDeleted
virtual void onTextureDeleted(OdTrVisTextureId textureId)=0
OdTrVisRenditionMt::DataTypeEntry
Definition: TrVisRendition.h:1245
OdTrVisRenditionDef::onLayerModified
virtual void onLayerModified(OdTrVisLayerId, const OdTrVisLayerDef &)
Definition: TrVisRendition.h:611
OdTrVisRendition::ClientSettings::m_nMaxLineWidth
float m_nMaxLineWidth
Definition: TrVisRendition.h:190
OdTrVisTextureDef
Definition: TrVisTextureDef.h:38
OdTrVisRendition::onOverlayDeleted
virtual void onOverlayDeleted(OdTrVisOverlayId overlayId)=0
OdTrVisRenditionRecorder::onViewportInserted
virtual void onViewportInserted(OdTrVisViewportId viewportId, int nIndex)
OdTrVisRenditionMt::onViewportDeleted
virtual void onViewportDeleted(OdTrVisViewportId viewportId)
OdTrVisRendition::ClientSettings::kNonPow2Textures
@ kNonPow2Textures
Definition: TrVisRendition.h:173
OdTrVisRenditionMt::onOverlayVisibilityChanged
virtual void onOverlayVisibilityChanged(OdTrVisOverlayId overlayId, bool bVisibility)
OdTrVisRenditionDef::onDeviceUpdateBegin
virtual void onDeviceUpdateBegin(OdTrVisRenderClient *)
Definition: TrVisRendition.h:454
OdTrVisRenditionRedir::getInformationalRedirection
OdTrVisRendition * getInformationalRedirection()
Definition: TrVisRendition.h:675
OdTrVisRendition::kViewportModRect
@ kViewportModRect
Definition: TrVisRendition.h:75
OdTrVisRendition::kDisplayCodeHighlight
@ kDisplayCodeHighlight
Definition: TrVisRendition.h:116
OdTrVisRenditionDef::onViewportDeleted
virtual void onViewportDeleted(OdTrVisViewportId)
Definition: TrVisRendition.h:517
OdTrVisRendition::KindOfViewportModification
KindOfViewportModification
Definition: TrVisRendition.h:65
OdTrVisRendition::ClientSettings::isSupportNonPow2TexturesWrapping
bool isSupportNonPow2TexturesWrapping() const
Definition: TrVisRendition.h:215
OdTrVisRendition::onExtentsChanged
virtual void onExtentsChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisExtentsDef &pDef)=0
OdTrVisRenditionMt::OdTrVisRenditionMt
OdTrVisRenditionMt()
OdTrVisRenditionMt::m_pRecordMutex
OdMutexPtr m_pRecordMutex
Definition: TrVisRendition.h:1253
OdTrVisRenditionRecorder::onMaterialAdded
virtual void onMaterialAdded(OdTrVisMaterialId materialId, const OdTrVisMaterialDef &pDef)
OdTrVisRenditionRedir::IdRegistratorRedir
Definition: TrVisRendition.h:630
OdTrVisRenditionRedir::saveRenditionState
virtual bool saveRenditionState(OdGsFiler *pFiler) const
Definition: TrVisRendition.h:782
OdTrVisRenditionRecorder::get
virtual OdTrVisUniqueID * get(DataType type, OdTrVisId id, bool bKill=false) const
OdTrVisRenditionRecorder::onMetafileOrderChanged
virtual void onMetafileOrderChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisDisplayId *pList, OdUInt32 nEntries)
OdTrVisRenditionMt::onHlBranchAdded
virtual void onHlBranchAdded(OdTrVisHlBranchId hlBranchId, const OdTrVisHlBranchDef &pDef)
OdTrVisRenditionRedir::mtDataTypeProcessing
virtual MtHandlerType mtDataTypeProcessing(DataType &type) const
Definition: TrVisRendition.h:749
OdTrVisRenditionRedir::onOverlayAdded
virtual void onOverlayAdded(OdTrVisOverlayId overlayId, const OdTrVisOverlayDef &pDef)
Definition: TrVisRendition.h:816
OdTrVisRenditionMt::IdRegistratorMt::m_pMutex
OdMutexPtr m_pMutex[kNDataTypes]
Definition: TrVisRendition.h:1260
OdTrVisRenditionDef::onTextureDeleted
virtual void onTextureDeleted(OdTrVisTextureId)
Definition: TrVisRendition.h:588
TrVisTextureDef.h
OdTrVisRendition::isSupportPartialUpdate
bool isSupportPartialUpdate() const
Definition: TrVisRendition.h:262
OdTrVisRendition::ClientSettings::m_ciInfo
ClientInfo m_ciInfo
Definition: TrVisRendition.h:168
OdTrVisRendition::onViewportInserted
virtual void onViewportInserted(OdTrVisViewportId viewportId, int nIndex)=0
TD_PackPush.h
OdTrVisLayerProps
Definition: TrVisLayerDef.h:37
OdTrVisRenditionRedir::hasInformationalRedirection
bool hasInformationalRedirection() const
Definition: TrVisRendition.h:687
OdTrVisRendition::updateShareableSectionOnly
bool updateShareableSectionOnly() const
Definition: TrVisRendition.h:276
OdTrVisRenditionMt::onLayerViewportPropsOverride
virtual void onLayerViewportPropsOverride(OdTrVisViewportId viewportId, OdTrVisLayerId layerId, bool bOverride, const OdTrVisLayerProps &pProps=OdTrVisLayerProps())
StaticRxObject.h
OdTrVisRendition::onOverlayAdded
virtual void onOverlayAdded(OdTrVisOverlayId overlayId, const OdTrVisOverlayDef &pDef)=0
OdTrVisRenditionRedir::IdRegistratorRedir::getIdRegRedirection
const IdRegistrator * getIdRegRedirection() const
Definition: TrVisRendition.h:636
OdTrVisRendition::kViewportModAll
@ kViewportModAll
Definition: TrVisRendition.h:85
OdTrVisRenditionDef::mtDataTypeProcessing
virtual MtHandlerType mtDataTypeProcessing(DataType &) const
Definition: TrVisRendition.h:474
OdTrVisRendition::onPartialUpdateInvalidRects
virtual void onPartialUpdateInvalidRects(OdTrVisOverlayId overlayId, const OdGsDCRectArray &invalidRects, bool bOverlayInvalid=false)=0
OdTrVisRenditionRedir::onExtentsChanged
virtual void onExtentsChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisExtentsDef &pDef)
Definition: TrVisRendition.h:906
OdTrVisRenditionRecorder::onOverlayVisibilityChanged
virtual void onOverlayVisibilityChanged(OdTrVisOverlayId overlayId, bool bVisibility)
OdTrVisMaterialDef
Definition: TrVisMaterialDef.h:36
OdTrVisRenditionRecorder::onVisualStyleModified
virtual void onVisualStyleModified(OdTrVisVisualStyleId visualStyleId, const OdTrVisVisualStyle &pDef)
OdTrVisRendition::onHlBranchAdded
virtual void onHlBranchAdded(OdTrVisHlBranchId hlBranchId, const OdTrVisHlBranchDef &pDef)=0
TrVisVisualStyle.h
OdTrVisRenditionDef::createSharingProvider
virtual OdTrVisSharingProviderClientPtr createSharingProvider()
Definition: TrVisRendition.h:471
OdTrVisRendition::kDisplayCodeRange
@ kDisplayCodeRange
Definition: TrVisRendition.h:122
OdTrVisRenditionMt::onVisualStyleAdded
virtual void onVisualStyleAdded(OdTrVisVisualStyleId visualStyleId, const OdTrVisVisualStyle &pDef)
OdTrVisRendition::IdRegistrator::reg
virtual void reg(DataType type, OdTrVisId id, const OdGiDrawable *pTransId)=0
OdTrVisRenditionDef
Definition: TrVisRendition.h:440
OdTrVisRenditionRedir::loadRenditionState
virtual bool loadRenditionState(OdGsFiler *pFiler, OdTrVisIdMap *pIdMap)
Definition: TrVisRendition.h:788
OdTrVisRenditionMt::onDeviceUpdateBegin
virtual void onDeviceUpdateBegin(OdTrVisRenderClient *pDevice)
OdTrVisRenditionRecorder::CallRecord::~CallRecord
virtual ~CallRecord()
Definition: TrVisRendition.h:1085
OdTrVisRenditionMt::IdRegistratorMt::IdRegistratorMt
IdRegistratorMt()
Definition: TrVisRendition.h:1262
OdTrVisRendition::MtHandlerType
MtHandlerType
Definition: TrVisRendition.h:105
OdTrVisRenditionRecorder::reg
virtual void reg(DataType type, OdTrVisId id, const OdGiDrawable *pTransId)
OdTrVisRendition::ClientInfo::m_glVersion
OdTrVisInfoString m_glVersion
Definition: TrVisRendition.h:159
OdTrVisRenditionMt::onTextureAdded
virtual void onTextureAdded(OdTrVisTextureId textureId, const OdTrVisTextureDef &pDef)
OdTrVisRendition::ClientInfo::m_glExtensions
OdTrVisInfoString m_glExtensions
Definition: TrVisRendition.h:161
OdTrVisRenditionRedir::IdRegistratorRedir::getIdRegRedirection
IdRegistrator * getIdRegRedirection()
Definition: TrVisRendition.h:635
OdTrVisRendition::ClientSettings::setSupportBGRA
void setSupportBGRA(bool bSet)
Definition: TrVisRendition.h:222
OdTrVisRenditionMt::m_dataTypes
struct OdTrVisRenditionMt::DataTypeEntry m_dataTypes[kNDataTypes]
OdTrVisRenditionRedir::IdRegistratorRedir::hasIdRegRedirection
bool hasIdRegRedirection() const
Definition: TrVisRendition.h:637
OdTrVisRenditionRedir::onMetafileFadingChanged
virtual void onMetafileFadingChanged(OdTrVisMetafileId metafileId, bool bFade)
Definition: TrVisRendition.h:956
OdTrVisRenderClient
Definition: TrVisRenderClient.h:40
OdTrVisRendition::ClientSettings::m_bObtained
bool m_bObtained
Definition: TrVisRendition.h:166
OdTrVisRenditionRecorder::onSurfaceChanged
virtual void onSurfaceChanged(const OdTrVisSurfaceDef &pDef)
OdTrVisRenditionDef::onVisualStyleDeleted
virtual void onVisualStyleDeleted(OdTrVisVisualStyleId)
Definition: TrVisRendition.h:604
OdTrVisRenditionRedir::onVisualStyleAdded
virtual void onVisualStyleAdded(OdTrVisVisualStyleId visualStyleId, const OdTrVisVisualStyle &pDef)
Definition: TrVisRendition.h:1029
OdTrVisRenditionRecorder::onMetafileVisibilityChanged
virtual void onMetafileVisibilityChanged(OdTrVisMetafileId metafileId, bool bVisibility)
OdTrVisRenditionRedir
Definition: TrVisRendition.h:624
OdTrVisSharingProviderClientPtr
OdSmartPtr< OdTrVisSharingProviderClient > OdTrVisSharingProviderClientPtr
Definition: TrVisSharingProviderClient.h:45
OdTrVisRendition::kMtCompete
@ kMtCompete
Definition: TrVisRendition.h:109
OdTrVisRendition::kVisualStyleData
@ kVisualStyleData
Definition: TrVisRendition.h:97
OdTrVisRenditionDef::onMetafileOrderChanged
virtual void onMetafileOrderChanged(OdTrVisViewportId, OdTrVisOverlayId, OdUInt32, OdUInt32, const OdTrVisDisplayId *, OdUInt32)
Definition: TrVisRendition.h:528
OdTrVisRenditionRedir::setRedirection
void setRedirection(OdTrVisRendition *pRedir)
Definition: TrVisRendition.h:669
OdTrVisRendition::kMtRecord
@ kMtRecord
Definition: TrVisRendition.h:110
OdTrVisRendition::DataType
DataType
Definition: TrVisRendition.h:89
OdTrVisRendition::ClientSettings::setSupportNonPow2TexturesWrapping
void setSupportNonPow2TexturesWrapping(bool bSet)
Definition: TrVisRendition.h:216
OdTrVisRendition::ClientSettings::kSupportsBGR
@ kSupportsBGR
Definition: TrVisRendition.h:175
OdTrVisRendition::ClientInfo
Definition: TrVisRendition.h:156
OdTrVisRendition::ClientSettings::overridenLutPaletteState
bool overridenLutPaletteState(bool bDeviceSetting) const
Definition: TrVisRendition.h:237
OdTrVisRendition::onMetafileOrderChanged
virtual void onMetafileOrderChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisDisplayId *pList, OdUInt32 nEntries)=0
OdTrVisRendition::onDeviceUpdateBegin
virtual void onDeviceUpdateBegin(OdTrVisRenderClient *pDevice)=0
OdTrVisRenditionDef::onHlBranchDeleted
virtual void onHlBranchDeleted(OdTrVisHlBranchId)
Definition: TrVisRendition.h:581
OdTrVisRenditionRecorder::CallRecord::reDrop
virtual void reDrop(OdTrVisRendition *pRendition)=0
OdTrVisRenditionRecorder::onOverlayDeleted
virtual void onOverlayDeleted(OdTrVisOverlayId overlayId)
OdTrVisRendition::IdRegistrator::kill
virtual void kill(DataType type, OdTrVisId id)=0
OdTrVisRenditionMt::onMetafileOrderChanged
virtual void onMetafileOrderChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, OdUInt32 nInvalidFrom, OdUInt32 nInvalidLen, const OdTrVisDisplayId *pValidFrom, OdUInt32 nValidLen)
OdTrVisRendition::ClientInfo::m_glSLVersion
OdTrVisInfoString m_glSLVersion
Definition: TrVisRendition.h:160
OdTrVisRenditionRecorder::onMetafileDeleted
virtual void onMetafileDeleted(OdTrVisMetafileId metafileId)
OdTrVisRenditionMt::isMt
bool isMt() const
OdTrVisRenditionMt::m_pGlobalMutex
OdMutexPtr m_pGlobalMutex
Definition: TrVisRendition.h:1252
OdTrVisRenditionRedir::onMetafileHlBranchDetached
virtual void onMetafileHlBranchDetached(OdTrVisMetafileId metafileId)
Definition: TrVisRendition.h:968
OdTrVisViewportDef::kViewportModAll
@ kViewportModAll
Definition: TrVisViewportDef.h:73
OdStaticRxObject< OdTrVisRenditionDef >
OdTrVisRendition::ClientSettings::setLutPalette
void setLutPalette(bool bSet)
Definition: TrVisRendition.h:236
OdTrVisRendition
Definition: TrVisRendition.h:61
OdTrVisRendition::onMetafileDeleted
virtual void onMetafileDeleted(OdTrVisMetafileId metafileId)=0
OdTrVisRendition::kOverlayData
@ kOverlayData
Definition: TrVisRendition.h:99
OdTrVisRendition::kTextureData
@ kTextureData
Definition: TrVisRendition.h:94
OdTrVisViewParamsDef
Definition: TrVisOverlayDef.h:112
OdTrVisRenditionRecorder::clearRecords
void clearRecords()
OdTrVisRendition::obtainClientSettings
virtual void obtainClientSettings(ClientSettings &clientSets)=0
f
GLfloat f
Definition: gles2_ext.h:564
OdError
Definition: OdError.h:43
OdTrVisRenditionDef::onBackgroundChanged
virtual void onBackgroundChanged(OdTrVisViewportId, OdTrVisFlatMetafileContainerPtr, OdTrVisProgramId=kTrVisNegativeId)
Definition: TrVisRendition.h:540
OdTrVisRendition::kViewportData
@ kViewportData
Definition: TrVisRendition.h:91
OdTrVisRenditionRecorder::onMetafileOrderChanged
virtual void onMetafileOrderChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, OdUInt32 nInvalidFrom, OdUInt32 nInvalidLen, const OdTrVisDisplayId *pValidFrom, OdUInt32 nValidLen)
OdTrVisRenditionDef::onOverlayVisibilityChanged
virtual void onOverlayVisibilityChanged(OdTrVisOverlayId, bool)
Definition: TrVisRendition.h:508
OdTrVisLightDef
Definition: TrVisLightDef.h:39
OdTrVisRenditionMt::DataTypeEntry::m_pRendition
OdTrVisRendition * m_pRendition
Definition: TrVisRendition.h:1247
OdTrVisRendition::ClientSettings::kLutPalette
@ kLutPalette
Definition: TrVisRendition.h:180
OdTrVisRenditionRecorder::reg
virtual void reg(DataType type, OdTrVisId id, OdDbStub *pPersId)
OdTrVisRendition::kSupportVisualStyles
@ kSupportVisualStyles
Definition: TrVisRendition.h:130
OdTrVisVisualStyle
Definition: TrVisVisualStyle.h:340
OdTrVisRenditionDef::IdRegistratorStub::get
virtual OdTrVisUniqueID * get(DataType, OdTrVisId, bool=false) const
Definition: TrVisRendition.h:448
OdTrVisRenditionRecorder::m_pFirstRecord
CallRecord * m_pFirstRecord
Definition: TrVisRendition.h:1089
OdTrVisRenditionRedir::onMetafileOrderChanged
virtual void onMetafileOrderChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, OdUInt32 nInvalidFrom, OdUInt32 nInvalidLen, const OdTrVisDisplayId *pValidFrom, OdUInt32 nValidLen)
Definition: TrVisRendition.h:876
OdTrVisRendition::kDisplayCodePopMatrix
@ kDisplayCodePopMatrix
Definition: TrVisRendition.h:119
OdTrVisRendition::isSupportSnapshotQueries
bool isSupportSnapshotQueries() const
Definition: TrVisRendition.h:264
OdTrVisRendition::~OdTrVisRendition
~OdTrVisRendition()
Definition: TrVisRendition.h:249
OdTrVisRendition::kViewportModBorder
@ kViewportModBorder
Definition: TrVisRendition.h:83
OdTrVisRenditionRecorder::onExtentsChanged
virtual void onExtentsChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisExtentsDef &pDef)
OdTrVisRenditionMt::idRegistrator
virtual IdRegistrator * idRegistrator() const
OdTrVisRendition::ClientSettings::isLutPalette
bool isLutPalette() const
Definition: TrVisRendition.h:235
OdTrVisRenditionDef::onMetafileFadingChanged
virtual void onMetafileFadingChanged(OdTrVisMetafileId, bool)
Definition: TrVisRendition.h:567
OdTrVisGeomType_Default
@ OdTrVisGeomType_Default
Definition: TrVisMetafileStream.h:185
OdTrVisRendition::idRegistrator
virtual IdRegistrator * idRegistrator() const =0
OdTrVisRenditionRecorder::onLayerModified
virtual void onLayerModified(OdTrVisLayerId layerId, const OdTrVisLayerDef &pDef)
OdTrVisRendition::isSupportVisualStyles
bool isSupportVisualStyles() const
Definition: TrVisRendition.h:268
TrVisExtentsDef.h
OdTrVisRendition::onMetafileFadingChanged
virtual void onMetafileFadingChanged(OdTrVisMetafileId metafileId, bool bFade)=0
OdTrVisRendition::queryMetafileStream
virtual bool queryMetafileStream(OdTrVisDisplayId displayId, const OdTrVisFlatMetafileContainer **pStream) const =0
OdTrVisRenditionMt::IdRegistratorMt::get
virtual OdTrVisUniqueID * get(DataType type, OdTrVisId id, bool bKill=false) const
OdTrVisRenditionMt::onViewportModified
virtual void onViewportModified(OdTrVisViewportId viewportId, const OdTrVisViewportDef &pDef, OdUInt32 kindOfMod=kViewportModAll)
TrVisLayerDef.h
OdTrVisRendition::onViewportDeleted
virtual void onViewportDeleted(OdTrVisViewportId viewportId)=0
OdTrVisRendition::kProgramData
@ kProgramData
Definition: TrVisRendition.h:96
OdTrVisRenditionRedir::onOverlayViewParamsOverride
virtual void onOverlayViewParamsOverride(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, bool bOverride, const OdTrVisViewParamsDef &pDef=OdTrVisViewParamsDef())
Definition: TrVisRendition.h:915
OdTrVisViewportDef::kViewportModOrientation
@ kViewportModOrientation
Definition: TrVisViewportDef.h:57
OdTrVisRenditionMt::IdRegistratorMt::kill
virtual void kill(DataType type, OdTrVisId id)
OdTrVisRenditionRedir::onViewportAdded
virtual void onViewportAdded(OdTrVisViewportId viewportId)
Definition: TrVisRendition.h:843
OdTrVisRenditionMt::m_cliSets
ClientSettings m_cliSets
Definition: TrVisRendition.h:1256
OdTrVisRenditionRecorder::hasRecords
bool hasRecords() const
Definition: TrVisRendition.h:1098
OdTrVisRenditionRecorder::CallRecord::m_pNextRecord
CallRecord * m_pNextRecord
Definition: TrVisRendition.h:1083
OdTrVisRenditionRecorder::onViewportAdded
virtual void onViewportAdded(OdTrVisViewportId viewportId)
OdMutexPtr
Definition: ThreadsCounter.h:38
OdTrVisRendition::ClientSettings::m_nMaxFragShadUniformVecs
OdUInt32 m_nMaxFragShadUniformVecs
Definition: TrVisRendition.h:193
OdTrVisRenditionRecorder::onHlBranchDeleted
virtual void onHlBranchDeleted(OdTrVisHlBranchId hlBranchId)
OdTrVisRenditionRedir::onDeviceUpdateBegin
virtual void onDeviceUpdateBegin(OdTrVisRenderClient *pDevice)
Definition: TrVisRendition.h:699
OdTrVisRenditionMt::onLayerAdded
virtual void onLayerAdded(OdTrVisLayerId layerId, const OdTrVisLayerDef &pDef)
OdTrVisRendition::kMaterialData
@ kMaterialData
Definition: TrVisRendition.h:95
OdTrVisRendition::onDeviceUpdateEnd
virtual void onDeviceUpdateEnd(OdTrVisRenderClient *pDevice)=0
OdTrVisRenditionDef::onViewportAdded
virtual void onViewportAdded(OdTrVisViewportId)
Definition: TrVisRendition.h:515
OdTrVisRenditionRecorder::onTextureDeleted
virtual void onTextureDeleted(OdTrVisTextureId textureId)
OdTrVisRenditionRecorder::CallRecord
Definition: TrVisRendition.h:1082
OdTrVisRenditionDef::onViewportModified
virtual void onViewportModified(OdTrVisViewportId, const OdTrVisViewportDef &, OdUInt32=kViewportModAll)
Definition: TrVisRendition.h:521
OdTrVisRendition::onBackgroundChanged
virtual void onBackgroundChanged(OdTrVisViewportId viewportId, OdTrVisFlatMetafileContainerPtr pStream, OdTrVisProgramId baseProgramId=kTrVisNegativeId)=0
OdTrVisRenditionDef::onHlBranchAdded
virtual void onHlBranchAdded(OdTrVisHlBranchId, const OdTrVisHlBranchDef &)
Definition: TrVisRendition.h:576
OdTrVisRendition::kViewportModVisibility
@ kViewportModVisibility
Definition: TrVisRendition.h:67
OdTrVisRenditionDef::queryMetafileStream
virtual bool queryMetafileStream(OdTrVisDisplayId, const OdTrVisFlatMetafileContainer **) const
Definition: TrVisRendition.h:480
OdTrVisRenditionRedir::IdRegistratorRedir::m_pIdRegRedir
IdRegistrator * m_pIdRegRedir
Definition: TrVisRendition.h:631
OdTrVisRenditionRedir::onMetafileVisibilityChanged
virtual void onMetafileVisibilityChanged(OdTrVisMetafileId metafileId, bool bVisibility)
Definition: TrVisRendition.h:944
OdTrVisRenditionMt::onMetafileDeleted
virtual void onMetafileDeleted(OdTrVisMetafileId metafileId)
OdTrVisRenditionRedir::hasRedirections
bool hasRedirections() const
Definition: TrVisRendition.h:694
OdTrVisRendition::isSupportCompositeMetafiles
bool isSupportCompositeMetafiles() const
Definition: TrVisRendition.h:266
OdTrVisRendition::onViewportModified
virtual void onViewportModified(OdTrVisViewportId viewportId, const OdTrVisViewportDef &pDef, OdUInt32 kindOfMod=kViewportModAll)=0
OdTrVisRendition::onMetafileHlBranchAttached
virtual void onMetafileHlBranchAttached(OdTrVisMetafileId metafileId, OdTrVisHlBranchId hlBranchId)=0
OdTrVisRenditionRedir::onLayerViewportPropsOverride
virtual void onLayerViewportPropsOverride(OdTrVisViewportId viewportId, OdTrVisLayerId layerId, bool bOverride, const OdTrVisLayerProps &pProps=OdTrVisLayerProps())
Definition: TrVisRendition.h:1068
OdTrVisRenditionRedir::onOverlayRenderOrderChanged
virtual void onOverlayRenderOrderChanged(OdTrVisOverlayId overlayId, OdInt16 nRenderOrder)
Definition: TrVisRendition.h:834
OdTrVisSurfaceDef
Definition: TrVisSurfaceDef.h:36
OdGsFiler
Definition: GsFiler.h:63
OdTrVisRendition::onOverlayVisibilityChanged
virtual void onOverlayVisibilityChanged(OdTrVisOverlayId overlayId, bool bVisibility)=0
OdTrVisRendition::kUpdateShareableSectionOnly
@ kUpdateShareableSectionOnly
Definition: TrVisRendition.h:134
OdTrVisRenditionDef::IdRegistratorStub::reg
virtual void reg(DataType, OdTrVisId, const OdTrVisUniqueID &)
Definition: TrVisRendition.h:446
OdTrVisHlBranchDef
Definition: TrVisHlBranchDef.h:37
OdTrVisRendition::ClientSettings::overridenLutMonochromeState
bool overridenLutMonochromeState(bool bDeviceSetting) const
Definition: TrVisRendition.h:232
OdTrVisRendition::kSurfaceData
@ kSurfaceData
Definition: TrVisRendition.h:90
OdTrVisRenditionDef::onExtentsChanged
virtual void onExtentsChanged(OdTrVisViewportId, OdTrVisOverlayId, const OdTrVisExtentsDef &)
Definition: TrVisRendition.h:546
OdTrVisRenditionMt::DataTypeEntry::m_ownMutex
OdMutexPtr m_ownMutex
Definition: TrVisRendition.h:1248
OdTrVisRendition::onVisualStyleAdded
virtual void onVisualStyleAdded(OdTrVisVisualStyleId visualStyleId, const OdTrVisVisualStyle &pDef)=0
OdTrVisRendition::onSurfaceChanged
virtual void onSurfaceChanged(const OdTrVisSurfaceDef &pDef)=0
OdTrVisRenditionMt::obtainClientSettings
virtual void obtainClientSettings(ClientSettings &clientSets)
OdTrVisRendition::ClientSettings::isRequireBGR
bool isRequireBGR() const
Definition: TrVisRendition.h:224
OdTrVisRendition::kViewportModPersistent
@ kViewportModPersistent
Definition: TrVisRendition.h:71
OdTrVisRenditionMt::onLayerModified
virtual void onLayerModified(OdTrVisLayerId layerId, const OdTrVisLayerDef &pDef)
OdTrVisRenditionRedir::onVisualStyleModified
virtual void onVisualStyleModified(OdTrVisVisualStyleId visualStyleId, const OdTrVisVisualStyle &pDef)
Definition: TrVisRendition.h:1035
OdTrVisRendition::RenditionFlags
RenditionFlags
Definition: TrVisRendition.h:126
OdTrVisRenditionDef::onSurfaceChanged
virtual void onSurfaceChanged(const OdTrVisSurfaceDef &)
Definition: TrVisRendition.h:499
OdTrVisRendition::onOverlayViewParamsOverride
virtual void onOverlayViewParamsOverride(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, bool bOverride, const OdTrVisViewParamsDef &pDef=OdTrVisViewParamsDef())=0
OdTrVisRendition::onLayerViewportPropsOverride
virtual void onLayerViewportPropsOverride(OdTrVisViewportId viewportId, OdTrVisLayerId layerId, bool bOverride, const OdTrVisLayerProps &pProps=OdTrVisLayerProps())=0
OdTrVisRendition::kHlBranchData
@ kHlBranchData
Definition: TrVisRendition.h:93
OdTrVisRenditionDef::onTextureAdded
virtual void onTextureAdded(OdTrVisTextureId, const OdTrVisTextureDef &)
Definition: TrVisRendition.h:586
OdTrVisRenditionRedir::onViewportInserted
virtual void onViewportInserted(OdTrVisViewportId viewportId, int nIndex)
Definition: TrVisRendition.h:855
OdTrVisGeomType
OdTrVisGeomType
Definition: TrVisMetafileStream.h:184
OdTrVisRenditionRedir::onVisualStyleDeleted
virtual void onVisualStyleDeleted(OdTrVisVisualStyleId visualStyleId)
Definition: TrVisRendition.h:1041
OdTrVisRenditionPtr
OdSmartPtr< OdTrVisRendition > OdTrVisRenditionPtr
Definition: TrVisRendition.h:434
OdTrVisRendition::kMetafileData
@ kMetafileData
Definition: TrVisRendition.h:92
OdTrVisRenditionRedir::onLightsListChanged
virtual void onLightsListChanged(OdTrVisViewportId viewportId, float ambientLight[4], bool bDefaultLightsOn, const OdTrVisLightDef *pList, OdUInt32 nEntries)
Definition: TrVisRendition.h:886
OdTrVisRenditionMt::onVisualStyleModified
virtual void onVisualStyleModified(OdTrVisVisualStyleId visualStyleId, const OdTrVisVisualStyle &pDef)
OdTrVisRendition::kMetafilePropsData
@ kMetafilePropsData
Definition: TrVisRendition.h:92
OdTrVisRendition::ClientInfo::m_glRenderer
OdTrVisInfoString m_glRenderer
Definition: TrVisRendition.h:158
OdTrVisRenditionMt::onViewportInserted
virtual void onViewportInserted(OdTrVisViewportId viewportId, int nIndex)
OdTrVisRendition::ClientSettings::kShadeByVertex
@ kShadeByVertex
Definition: TrVisRendition.h:182
OdTrVisRenditionDef::onMetafileOrderChanged
virtual void onMetafileOrderChanged(OdTrVisViewportId, OdTrVisOverlayId, const OdTrVisDisplayId *, OdUInt32)
Definition: TrVisRendition.h:526
OdTrVisRenditionDef::onMaterialAdded
virtual void onMaterialAdded(OdTrVisMaterialId, const OdTrVisMaterialDef &)
Definition: TrVisRendition.h:593
OdTrVisRenditionRecorder::onVisualStyleDeleted
virtual void onVisualStyleDeleted(OdTrVisVisualStyleId visualStyleId)
OdTrVisRenditionRedir::onMetafileOrderChanged
virtual void onMetafileOrderChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisDisplayId *pList, OdUInt32 nEntries)
Definition: TrVisRendition.h:870
OdTrVisRenditionRecorder::onHlBranchAdded
virtual void onHlBranchAdded(OdTrVisHlBranchId hlBranchId, const OdTrVisHlBranchDef &pDef)
GsDCRectArray.h
OdTrVisRenditionDef::m_IdRegistratorStub
OdTrVisRenditionDef::IdRegistratorStub m_IdRegistratorStub
OdTrVisRenditionDef::queryProgramId
virtual OdTrVisProgramId queryProgramId(OdGsView::RenderMode, OdTrVisVisualStyleId=kTrVisNegativeId, OdTrVisGeomType=OdTrVisGeomType_Default, OdUInt32=0) const
Definition: TrVisRendition.h:483
OdTrVisRenditionRecorder::~OdTrVisRenditionRecorder
~OdTrVisRenditionRecorder()
OdTrVisRenditionMt::onSurfaceChanged
virtual void onSurfaceChanged(const OdTrVisSurfaceDef &pDef)
OdTrVisRenditionMt::queryProgramId
virtual OdTrVisProgramId queryProgramId(OdGsView::RenderMode mode, OdTrVisVisualStyleId vsId=kTrVisNegativeId, OdTrVisGeomType geomType=OdTrVisGeomType_Default, OdUInt32 shadingFlags=0) const
OdTrVisViewportDef::kViewportModPersistent
@ kViewportModPersistent
Definition: TrVisViewportDef.h:59
OdTrVisRenditionRecorder::onLayerViewportPropsOverride
virtual void onLayerViewportPropsOverride(OdTrVisViewportId viewportId, OdTrVisLayerId layerId, bool bOverride, const OdTrVisLayerProps &pProps=OdTrVisLayerProps())
OdTrVisRendition::onVisualStyleModified
virtual void onVisualStyleModified(OdTrVisVisualStyleId visualStyleId, const OdTrVisVisualStyle &pDef)=0
OdTrVisRenditionRedir::onMetafileHlBranchAttached
virtual void onMetafileHlBranchAttached(OdTrVisMetafileId metafileId, OdTrVisHlBranchId hlBranchId)
Definition: TrVisRendition.h:962
OdTrVisRendition::ClientSettings::setLutMonochrome
void setLutMonochrome(bool bSet)
Definition: TrVisRendition.h:231
OdUInt64
Definition: Int64.h:137
OdTrVisRendition::ClientSettings::ClientSettings
ClientSettings()
Definition: TrVisRendition.h:196
OdTrVisRendition::onHlBranchModified
virtual void onHlBranchModified(OdTrVisHlBranchId hlBranchId, const OdTrVisHlBranchDef &pDef, bool bChildsModified, bool bMarkersModified)=0
OdTrVisRenditionMt::onDeviceUpdateEnd
virtual void onDeviceUpdateEnd(OdTrVisRenderClient *pDevice)
OdTrVisRenditionMt::onMetafileHlBranchDetached
virtual void onMetafileHlBranchDetached(OdTrVisMetafileId metafileId)