CFx SDK Documentation  2020SP3
FxViewDrawInfo.h
Go to the documentation of this file.
1 //
2 // (C) Copyright 2005-2020 by Graebert GmbH.
3 //
4 // Permission to use, copy, modify, and distribute this software in
5 // object code form for any purpose and without fee is hereby granted,
6 // provided that the above copyright notice appears in all copies and
7 // that both that copyright notice and the limited warranty and
8 // restricted rights notice below appear in all supporting
9 // documentation.
10 //
11 // GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
12 // GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
13 // MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
14 // DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
15 // UNINTERRUPTED OR ERROR FREE.
16 
17 #pragma once
18 
19 #include "FxPragmaPush.h"
20 
21 #include "DDKERNEL.h"
22 #include "FxDebug.h"
23 #include "FxDatabase.h"
24 #include <Ge/GeExtents3d.h>
25 #include <Gi/GiClipBoundary.h>
26 #include <Gi/GiCommonDraw.h>
27 #include <Gs/Gs.h>
28 
29 #include <DbObjectId.h>
30 #include <DbRasterVariables.h>
31 #include <StringArray.h>
32 #include <DbStubPtrArray.h>
33 
40 class CFxView;
41 class CFxDatabase;
42 class CFxPicture;
43 
44 const double kMAX_VALID_DEPTH_RANGE = 1.0e+250;
45 
47 {
48 public:
50 
51  virtual ~CFxViewDrawInfo(void);
52 
54  const OdGePoint3d& position,
55  const OdGePoint3d& target,
56  const OdGeVector3d& upVector,
57  double fieldWidth,
58  double fieldHeight,
59  OdGsView::Projection projectionType = OdGsView::kParallel);
60 
61  void InitializeViewByExtents( const OdGeExtents3d& extents );
62 
63  void InitializeOutputSize( double width, double height );
64 
65  void InitializePalette( const ODCOLORREF* pPalette );
66 
67  void InitializeDatabase( const CFxDatabase* pDatabase );
68 
69  bool InitializeFromFxView( const CFxView* pFxView );
70 
75  bool InitializeFromDbViewport( OdDbObjectId idViewport, int width, int height, bool isPlotGeneration );
76  inline bool GetFILLMODE() const
77  {
78  return m_bFillMode;
79  }
80 
81  inline bool GetQTEXTMODE() const
82  {
83  return m_bQTextMode;
84  }
85 
86  inline bool GetXCLIPFRAME() const
87  {
88  return m_bXClipFrame;
89  }
90 
91  inline bool GetDrawImages() const
92  {
93  return m_bDrawImages;
94  }
95 
96  void SetDrawImages(bool bVal)
97  {
98  m_bDrawImages = bVal;
99  }
100 
101  inline bool GetTEXTFILL() const
102  {
103  return m_bTextFill;
104  }
105 
106  inline OdInt16 GetFxCadWindowId() const
107  {
108  return m_FxCadWindowId;
109  }
110 
112  {
113  return m_idViewport;
114  }
115 
117  {
118  return m_iImageFrame;
119  }
120 
122  {
123  m_iImageFrame = frameSettings;
124  }
125 
126  inline bool IsPlotGeneration() const
127  {
128  ASSERT( m_bPlotGeneration ? !IsExtentsCalculationActive() : true );
129  return m_bPlotGeneration;
130  }
131 
132  inline bool UseGsModel() const
133  {
134  if ( !m_pFxDatabase )
135  return( true );
136  return m_bUseGsModel;
137  }
138 
139  virtual void SetUseGsModel( bool bVal )
140  {
141  m_bUseGsModel = bVal;
142  }
143 
145  {
146  m_bUseTransparency = value;
147  }
148 
149  inline bool UseTransparency() const
150  {
151  return m_bUseTransparency;
152  }
153 
154  inline bool IsInitialUpdate() const
155  {
156  return m_bInitialUpdate;
157  }
158 
159  inline bool IsDrawSkipped() const
160  {
161  return m_bDrawSkipped;
162  }
163 
164  inline void SetDrawSkipped( bool bVal )
165  {
166  m_bDrawSkipped = bVal;
167  }
168 
169  inline bool IsInsideSelect() const
170  {
171  return m_bIsInsideSelect;
172  }
173 
174  void SetInsideSelect( bool bVal )
175  {
176  m_bIsInsideSelect = bVal;
177  }
178 
179  inline OdUInt16 GetVIEWRES() const
180  {
181  return m_VIEWRES;
182  }
183 
184  inline bool IsPerspective() const
185  {
186  return m_bPerspective;
187  }
188 
189  inline double GetPixelWidth() const
190  {
191  return m_dPixelWidth;
192  }
193 
194  inline double GetPixelHeight() const
195  {
196  return m_dPixelHeight;
197  }
198 
199  inline double GetVisiblePixelWidth() const
200  {
201  return m_dVisiblePixelWidth;
202  }
203 
204  inline double GetVisiblePixelHeight() const
205  {
206  return m_dVisiblePixelHeight;
207  }
208 
209  inline double GetFrontClip() const
210  {
211  return m_dFrontClip;
212  }
213 
214  inline double GetBackClip() const
215  {
216  return m_dBackClip;
217  }
218 
219  inline void SetFrontClip( const double& z )
220  {
221  m_dFrontClip = z;
222  }
223 
224  inline void SetBackClip( const double& z )
225  {
226  m_dBackClip = z;
227  }
228 
229  inline bool IsFrontClipped() const
230  {
231  return m_bFrontClipped;
232  }
233 
234  inline bool IsBackClipped() const
235  {
236  return m_bBackClipped;
237  }
238 
239  inline double GetFocalLength() const
240  {
241  return m_dFocalLength;
242  }
243 
244  inline const OdGeVector3d& GetViewDir() const
245  {
246  return m_ViewDir;
247  }
248 
249  inline const OdGePoint3d& GetPosition() const
250  {
251  return m_Position;
252  }
253 
254  inline const OdGeVector3d& GetUpVector() const
255  {
256  return m_UpVector;
257  }
258 
259  inline const OdGePoint3d& GetTarget() const
260  {
261  return m_Target;
262  }
263 
264  inline double GetFieldWidth() const
265  {
266  return m_FieldWidth;
267  }
268 
269  inline double GetFieldHeight() const
270  {
271  return m_FieldHeight;
272  }
273 
274  inline bool IsRapidMode() const
275  {
276  return m_bRapidMode;
277  }
278 
280  {
281  return m_InitialActiveAreaInViewCoordinates;
282  }
283 
285  {
286  ASSERT( rect.maxPoint().x > rect.minPoint().x );
287  ASSERT( rect.maxPoint().y > rect.minPoint().y );
288  m_InitialActiveAreaInViewCoordinates = rect;
289  }
290 
291  virtual void SetInitialActiveAreaByViewport( const CFxView* );
292 
293  void SetInitialActiveAreaByWCSContour( const CFxView* pFxView, const OdGePoint3d* pointsWCS, int nPoints );
294  void SetInitialActiveAreaByEYEContour( const CFxView* pFxView, const OdGePoint2d* pointsEYE, int nPoints );
295 
297  {
298  const ODCOLORREF* pPalette = GetPalette();
299  ODCOLORREF odColor = pPalette[0];
300  return odColor;
301  }
302 
304  {
305  const ODCOLORREF* pPalette = GetPalette();
306  ODCOLORREF odColor = pPalette[7];
307  return odColor;
308  }
309 
310  const ODCOLORREF* GetPalette() const
311  {
312  return (const ODCOLORREF*)(&m_Palette);
313  }
314 
315  ODCOLORREF GetColor( OdUInt16 colorIndex ) const
316  {
317  return GetPalette()[colorIndex];
318  }
319 
321  {
322  return m_RenderMode;
323  }
325  {
326  m_RenderMode = mode;
327  }
328 
329  inline bool IsDragging() const
330  {
331  return m_bDragging;
332  }
333 
334  void SetIsDragging( bool bVal )
335  {
336  m_bDragging = bVal;
337  }
338 
339  inline bool IsFadeMode() const
340  {
341  return m_bFadeMode;
342  }
343 
344  void SetFadeMode( bool bVal )
345  {
346  m_bFadeMode = bVal;
347  }
348 
350  {
351  kNone = 0,
352  kHidden = 1,
353  kHighlight = 2, // use dashed lines
354  kNegativeHighlight = 4, // use dashed lines and background color
355  kTrackHighlight = 8, // use thick hatched lines
356  kDrawAttDefs = 16, // draw attdefs
357  kDisableDepth = 32, // disable depth
358  kRenderMode2D = 64, // forces 2d render mode to be used
359  kFaded = 128, // use faded lines
360  kXeDangling = 256, // dangling dimension highlight
361  kXeDragHighlight = 512 // entities being dragged
362  };
363 
365  {
366  return m_eDrawDecoration;
367  }
368 
370  {
371  m_eDrawDecoration = eDD;
372  }
373 
378  inline bool IsExtentsCalculationActive() const
379  {
380  return m_bExtentsCalculation;
381  }
382 
387  void SetExtentsCalculationActive( bool bVal )
388  {
389  m_bExtentsCalculation = bVal;
390  }
391 
396  inline OdInt32 GetDebugMode() const
397  {
398  return m_DebugMode;
399  }
400 
401  inline const CFxDatabase* GetFxDatabase() const
402  {
403  return m_pFxDatabase;
404  }
405 
407 
409 
411  {
412  return m_FrozenLayerList;
413  }
414 
416  {
417  m_FrozenLayerList = ids;
418  }
419 
420  inline bool UseLinetyper() const
421  {
422  return m_bUseLinetyper;
423  }
424  void SetUseLinetyper( bool bUse)
425  {
426  m_bUseLinetyper = bUse;
427  }
428 
429  inline bool UseLineWeights() const
430  {
431  return m_bUseLineWeights;
432  }
433  void SetUseLineWeights( bool bUse)
434  {
435  m_bUseLineWeights = bUse;
436  }
437 
439  {
440  return m_dLineweightToDcScaleOverride;
441  }
442 
443  void SetLineweightToDCScaleOverride(double dLineweightToDCScale = 0)
444  {
445  m_dLineweightToDcScaleOverride = dLineweightToDCScale;
446  }
447 
448  //it is not recommended to use this member
449  inline const CFxView* GetFxView() const
450  {
451  return m_pFxView;
452  }
453 
454  inline int GetPDFFRAME() const
455  {
456  return m_iPDFFrame;
457  }
458 
459  inline double GetLensLength() const
460  {
461  return m_dLensLength;
462  }
463  void SetLensLength(double dLensLength)
464  {
465  m_dLensLength = dLensLength;
466  }
467 
469  {
470  return m_EyeToOutput;
471  }
472 
473  void SetEyeToOutput( const OdGeMatrix3d& rMatrix )
474  {
475  m_EyeToOutput = rMatrix;
476  }
477 
478  inline const OdGsDCRectDouble& GetScreenRect() const
479  {
480  return m_dScreenRect;
481  }
482 
484  {
485  return m_visibleScreenRect;
486  }
487 
489  {
490  return m_visibleScreenRectInViewCoordinates;
491  }
492 
493  static int GetCadWindowId( OdDbObjectId idViewport );
494 
496 
497  static OdGeMatrix3d GetAdjustedProjectionMatrix( const CFxViewDrawInfo* pInfo, double dNearEye, double dFarEye );
498 
501 
502  void SetScalePixelSize( double scale );
503 
504  inline bool HardwareTransformationsAllowed() const
505  {
506  return m_bHardwareTransformationsAllowed;
507  }
508 
509  void AllowHardwareTransformations( bool bVal );
510 
511  const OdDbObjectId& GetLayoutId( bool &isModel ) const;
512 
513  bool IsScalingLineweights() const;
514 
515  void SetClipBoundary( const OdGiClipBoundary * pClipBoundary );
516 
518 
519 protected:
522 
525 
526  ODCOLORREF m_Palette[256];
527 
529 
531 
533 
535 
536  double m_FieldWidth;
537 
539 
541 
543 
545 
547 
549 
551 
553 
555 
557 
559 
561 
563 
565 
567 
569 
571 
573 
574  double m_dFrontClip;
575 
576  double m_dBackClip;
577 
579 
581 
583 
585 
587 
589 
591 
593 
595 
597 
599 
601 
605 
607 
609 
610  //it is not recommended to use this member
612 
614 
616 
618 
620 
622 
624 
626 
628 
630 
632 };
633 
634 #include "FxPragmaPop.h"
CFxViewDrawInfo::DrawDecoration
DrawDecoration
Definition: FxViewDrawInfo.h:350
CFxViewDrawInfo::m_VIEWRES
OdUInt16 m_VIEWRES
Definition: FxViewDrawInfo.h:548
CFxViewDrawInfo::m_LayoutId
OdDbObjectId m_LayoutId
Definition: FxViewDrawInfo.h:627
FxPragmaPop.h
CFxViewDrawInfo::m_ViewDir
OdGeVector3d m_ViewDir
Definition: FxViewDrawInfo.h:528
OdGsView::kParallel
@ kParallel
Definition: Gs.h:152
CFxViewDrawInfo::m_EyeToOutput
OdGeMatrix3d m_EyeToOutput
Definition: FxViewDrawInfo.h:613
CFxViewDrawInfo::GetForeground
ODCOLORREF GetForeground() const
Definition: FxViewDrawInfo.h:303
OdGeVector3d
Definition: GeVector3d.h:54
CFxViewDrawInfo::GetBackClip
double GetBackClip() const
Definition: FxViewDrawInfo.h:214
CFxViewDrawInfo::m_FieldHeight
double m_FieldHeight
Definition: FxViewDrawInfo.h:538
CFxViewDrawInfo::GetViewportId
OdDbObjectId GetViewportId() const
Definition: FxViewDrawInfo.h:111
OdGsView::RenderMode
RenderMode
Definition: Gs.h:138
kHighlight
@ kHighlight
Definition: BrEnums.h:116
CFxViewDrawInfo::SetInitialActiveAreaByWCSContour
void SetInitialActiveAreaByWCSContour(const CFxView *pFxView, const OdGePoint3d *pointsWCS, int nPoints)
CFxViewDrawInfo::m_dLensLength
double m_dLensLength
Definition: FxViewDrawInfo.h:540
ASSERT
#define ASSERT(x)
Definition: FxDebug.h:257
CFxViewDrawInfo::m_FrozenLayerList
OdDbObjectIdArray m_FrozenLayerList
Definition: FxViewDrawInfo.h:602
CFxViewDrawInfo::m_bTextFill
bool m_bTextFill
Definition: FxViewDrawInfo.h:558
scale
scale
Definition: DimVarDefs.h:1684
CFxViewDrawInfo::IsInitialUpdate
bool IsInitialUpdate() const
Definition: FxViewDrawInfo.h:154
OdGsDCRectDouble
Definition: GsDefs.h:242
CFxViewDrawInfo::SetLensLength
void SetLensLength(double dLensLength)
Definition: FxViewDrawInfo.h:463
CFxViewDrawInfo::SetUseLinetyper
void SetUseLinetyper(bool bUse)
Definition: FxViewDrawInfo.h:424
CFxDatabase
Definition: FxDatabase.h:48
CFxViewDrawInfo::GetTEXTFILL
bool GetTEXTFILL() const
Definition: FxViewDrawInfo.h:101
CFxViewDrawInfo::GetFrozenLayerStubs
OdDbStubPtrArray GetFrozenLayerStubs() const
CFxViewDrawInfo::m_idViewport
OdDbObjectId m_idViewport
Definition: FxViewDrawInfo.h:568
CFxViewDrawInfo::IsFadeMode
bool IsFadeMode() const
Definition: FxViewDrawInfo.h:339
CFxViewDrawInfo::HardwareTransformationsAllowed
bool HardwareTransformationsAllowed() const
Definition: FxViewDrawInfo.h:504
CFxViewDrawInfo::InitializeViewByExtents
void InitializeViewByExtents(const OdGeExtents3d &extents)
CFxViewDrawInfo::GetQTEXTMODE
bool GetQTEXTMODE() const
Definition: FxViewDrawInfo.h:81
StringArray.h
CFxViewDrawInfo::SetClipBoundary
void SetClipBoundary(const OdGiClipBoundary *pClipBoundary)
OdDbObjectId
Definition: DbObjectId.h:99
GeExtents3d.h
CFxViewDrawInfo::m_iImageFrame
OdDbRasterVariables::FrameSettings m_iImageFrame
Definition: FxViewDrawInfo.h:586
OdDbRasterVariables::FrameSettings
FrameSettings
Definition: DbRasterVariables.h:59
CFxViewDrawInfo::GetScreenRect
const OdGsDCRectDouble & GetScreenRect() const
Definition: FxViewDrawInfo.h:478
CFxPicture
Definition: FxPicture.h:37
CFxViewDrawInfo::m_Target
OdGePoint3d m_Target
Definition: FxViewDrawInfo.h:534
CFxViewDrawInfo::SetUseGsModel
virtual void SetUseGsModel(bool bVal)
Definition: FxViewDrawInfo.h:139
CFxViewDrawInfo
Definition: FxViewDrawInfo.h:47
CFxViewDrawInfo::GetDrawDecoration
DrawDecoration GetDrawDecoration() const
Definition: FxViewDrawInfo.h:364
CFxViewDrawInfo::SetInsideSelect
void SetInsideSelect(bool bVal)
Definition: FxViewDrawInfo.h:174
CFxViewDrawInfo::GetLineweightToDcScaleOverride
double GetLineweightToDcScaleOverride() const
Definition: FxViewDrawInfo.h:438
OdGePoint3d::y
double y
Definition: GePoint3d.h:368
CFxViewDrawInfo::m_bQTextMode
bool m_bQTextMode
Definition: FxViewDrawInfo.h:560
DDKERNEL.h
OdArray< OdDbStub *, OdMemoryAllocator< OdDbStub * > >
CFxViewDrawInfo::IsInsideSelect
bool IsInsideSelect() const
Definition: FxViewDrawInfo.h:169
OdGePoint3d::x
double x
Definition: GePoint3d.h:367
CFxViewDrawInfo::m_bDragging
bool m_bDragging
Definition: FxViewDrawInfo.h:592
CFxViewDrawInfo::SetBackClip
void SetBackClip(const double &z)
Definition: FxViewDrawInfo.h:224
CFxViewDrawInfo::m_bUseTransparency
bool m_bUseTransparency
Definition: FxViewDrawInfo.h:623
CFxViewDrawInfo::GetLensLength
double GetLensLength() const
Definition: FxViewDrawInfo.h:459
CFxViewDrawInfo::m_bFillMode
bool m_bFillMode
Definition: FxViewDrawInfo.h:556
CFxViewDrawInfo::GetPDFFRAME
int GetPDFFRAME() const
Definition: FxViewDrawInfo.h:454
OdUInt16
unsigned short OdUInt16
Definition: OdPlatformSettings.h:760
CFxViewDrawInfo::GetFocalLength
double GetFocalLength() const
Definition: FxViewDrawInfo.h:239
CFxViewDrawInfo::GetVisibleScreenRectInViewCoordinates
const OdGsDCRectDouble & GetVisibleScreenRectInViewCoordinates() const
Definition: FxViewDrawInfo.h:488
CFxViewDrawInfo::m_bDrawSkipped
bool m_bDrawSkipped
Definition: FxViewDrawInfo.h:570
CFxViewDrawInfo::GetTarget
const OdGePoint3d & GetTarget() const
Definition: FxViewDrawInfo.h:259
CFxViewDrawInfo::m_dPixelWidth
double m_dPixelWidth
Definition: FxViewDrawInfo.h:520
CFxViewDrawInfo::GetFrozenLayerList
const OdDbObjectIdArray & GetFrozenLayerList() const
Definition: FxViewDrawInfo.h:410
CFxViewDrawInfo::InitializeOutputSize
void InitializeOutputSize(double width, double height)
OdGeMatrix3d
Definition: GeMatrix3d.h:73
OdInt16
short OdInt16
Definition: OdPlatformSettings.h:756
CFxViewDrawInfo::m_dVisiblePixelWidth
double m_dVisiblePixelWidth
Definition: FxViewDrawInfo.h:523
CFxViewDrawInfo::GetPixelHeight
double GetPixelHeight() const
Definition: FxViewDrawInfo.h:194
CFxViewDrawInfo::IsDrawSkipped
bool IsDrawSkipped() const
Definition: FxViewDrawInfo.h:159
CFxViewDrawInfo::GetFILLMODE
bool GetFILLMODE() const
Definition: FxViewDrawInfo.h:76
CFxViewDrawInfo::GetVIEWRES
OdUInt16 GetVIEWRES() const
Definition: FxViewDrawInfo.h:179
OdGeExtents3d::minPoint
const OdGePoint3d & minPoint() const
Definition: GeExtents3d.h:237
CFxViewDrawInfo::GetColor
ODCOLORREF GetColor(OdUInt16 colorIndex) const
Definition: FxViewDrawInfo.h:315
CFxViewDrawInfo::InitializeView
void InitializeView(const OdGePoint3d &position, const OdGePoint3d &target, const OdGeVector3d &upVector, double fieldWidth, double fieldHeight, OdGsView::Projection projectionType=OdGsView::kParallel)
CFxViewDrawInfo::UseTransparency
bool UseTransparency() const
Definition: FxViewDrawInfo.h:149
CFxViewDrawInfo::m_FieldWidth
double m_FieldWidth
Definition: FxViewDrawInfo.h:536
CFxViewDrawInfo::m_DebugMode
OdInt32 m_DebugMode
Definition: FxViewDrawInfo.h:598
CFxViewDrawInfo::GetVisiblePixelWidth
double GetVisiblePixelWidth() const
Definition: FxViewDrawInfo.h:199
OdGiClipBoundary
Definition: GiClipBoundary.h:41
OdPdfPublish::Lighting::kNone
@ kNone
Light mode is inherited from the annotation.
Definition: PdfPublishCommon.h:160
CFxViewDrawInfo::m_bUseLinetyper
bool m_bUseLinetyper
Definition: FxViewDrawInfo.h:606
CFxViewDrawInfo::m_pFxView
const CFxView * m_pFxView
Definition: FxViewDrawInfo.h:611
CFxViewDrawInfo::m_dPixelHeight
double m_dPixelHeight
Definition: FxViewDrawInfo.h:521
CFxViewDrawInfo::m_bFrontClipped
bool m_bFrontClipped
Definition: FxViewDrawInfo.h:578
DbRasterVariables.h
CFxViewDrawInfo::GetXCLIPFRAME
bool GetXCLIPFRAME() const
Definition: FxViewDrawInfo.h:86
CFxViewDrawInfo::IsRapidMode
bool IsRapidMode() const
Definition: FxViewDrawInfo.h:274
CFxViewDrawInfo::SetLineweightToDCScaleOverride
void SetLineweightToDCScaleOverride(double dLineweightToDCScale=0)
Definition: FxViewDrawInfo.h:443
CFxViewDrawInfo::m_bPlotGeneration
bool m_bPlotGeneration
Definition: FxViewDrawInfo.h:554
CFxViewDrawInfo::GetLayoutId
const OdDbObjectId & GetLayoutId(bool &isModel) const
CFxViewDrawInfo::m_FxCadWindowId
OdInt16 m_FxCadWindowId
Definition: FxViewDrawInfo.h:566
CFxViewDrawInfo::UseGsModel
bool UseGsModel() const
Definition: FxViewDrawInfo.h:132
CFxViewDrawInfo::GetAdjustedViewportMatrix
static OdGeMatrix3d GetAdjustedViewportMatrix(const CFxViewDrawInfo *pInfo)
CFxViewDrawInfo::SetEyeToOutput
void SetEyeToOutput(const OdGeMatrix3d &rMatrix)
Definition: FxViewDrawInfo.h:473
CFxViewDrawInfo::GetInitialActiveAreaInViewCoordinates
virtual const OdGeExtents3d & GetInitialActiveAreaInViewCoordinates() const
Definition: FxViewDrawInfo.h:279
CFxViewDrawInfo::GetFxCadWindowId
OdInt16 GetFxCadWindowId() const
Definition: FxViewDrawInfo.h:106
FxDatabase.h
CFxViewDrawInfo::m_iPDFFrame
int m_iPDFFrame
Definition: FxViewDrawInfo.h:546
OdGePoint3d
Definition: GePoint3d.h:55
CFxViewDrawInfo::m_dScreenRect
OdGsDCRectDouble m_dScreenRect
Definition: FxViewDrawInfo.h:615
CFxViewDrawInfo::InitializeFromDbViewport
bool InitializeFromDbViewport(OdDbObjectId idViewport, int width, int height, bool isPlotGeneration)
CFxViewDrawInfo::GetUpVector
const OdGeVector3d & GetUpVector() const
Definition: FxViewDrawInfo.h:254
CFxViewDrawInfo::GetDrawImages
bool GetDrawImages() const
Definition: FxViewDrawInfo.h:91
CFxViewDrawInfo::GetAdjustedProjectionMatrix
static OdGeMatrix3d GetAdjustedProjectionMatrix(const CFxViewDrawInfo *pInfo, double dNearEye, double dFarEye)
CFxViewDrawInfo::m_visibleScreenRect
OdGsDCRectDouble m_visibleScreenRect
Definition: FxViewDrawInfo.h:617
CFxViewDrawInfo::m_bRapidMode
bool m_bRapidMode
Definition: FxViewDrawInfo.h:584
OdInt32
int OdInt32
Definition: OdPlatformSettings.h:782
CFxViewDrawInfo::IsPerspective
bool IsPerspective() const
Definition: FxViewDrawInfo.h:184
CFxViewDrawInfo::m_pFxDatabase
CFxDatabase * m_pFxDatabase
Definition: FxViewDrawInfo.h:600
CFxViewDrawInfo::m_dFrontClip
double m_dFrontClip
Definition: FxViewDrawInfo.h:574
CFxViewDrawInfo::GetVisibleScreenRect
const OdGsDCRectDouble & GetVisibleScreenRect() const
Definition: FxViewDrawInfo.h:483
CFxViewDrawInfo::m_bIsInsideSelect
bool m_bIsInsideSelect
Definition: FxViewDrawInfo.h:544
DbObjectId.h
CFxViewDrawInfo::SetScalePixelSize
void SetScalePixelSize(double scale)
CFxViewDrawInfo::m_bPerspective
bool m_bPerspective
Definition: FxViewDrawInfo.h:550
CFxViewDrawInfo::m_bUseLineWeights
bool m_bUseLineWeights
Definition: FxViewDrawInfo.h:608
Gs.h
CFxViewDrawInfo::GetFxView
const CFxView * GetFxView() const
Definition: FxViewDrawInfo.h:449
CFxViewDrawInfo::m_Position
OdGePoint3d m_Position
Definition: FxViewDrawInfo.h:530
CFxViewDrawInfo::m_dLineweightToDcScaleOverride
double m_dLineweightToDcScaleOverride
Definition: FxViewDrawInfo.h:629
CFxViewDrawInfo::SetFrozenLayerList
void SetFrozenLayerList(const OdDbObjectIdArray &ids)
Definition: FxViewDrawInfo.h:415
CFxViewDrawInfo::m_UpVector
OdGeVector3d m_UpVector
Definition: FxViewDrawInfo.h:532
CFxViewDrawInfo::GetEyeToOutput
const OdGeMatrix3d & GetEyeToOutput() const
Definition: FxViewDrawInfo.h:468
FxDebug.h
CFxViewDrawInfo::GetWorldToEyeMatrix
static OdGeMatrix3d GetWorldToEyeMatrix(const CFxViewDrawInfo *pInfo)
CFxViewDrawInfo::SetFrontClip
void SetFrontClip(const double &z)
Definition: FxViewDrawInfo.h:219
CFxViewDrawInfo::AllowHardwareTransformations
void AllowHardwareTransformations(bool bVal)
height
GLint GLenum GLsizei GLsizei height
Definition: gles2_ext.h:110
CFxViewDrawInfo::m_bFadeMode
bool m_bFadeMode
Definition: FxViewDrawInfo.h:590
width
GLint GLenum GLsizei width
Definition: gles2_ext.h:110
CFxViewDrawInfo::SetInitialActiveAreaByViewport
virtual void SetInitialActiveAreaByViewport(const CFxView *)
GiCommonDraw.h
CFxViewDrawInfo::GetViewportMatrix
static OdGeMatrix3d GetViewportMatrix(const CFxViewDrawInfo *pInfo)
DDKERNEL_API
#define DDKERNEL_API
Definition: DDKERNEL.h:32
CFxViewDrawInfo::GetFrozenLayerListNames
const OdStringArray & GetFrozenLayerListNames() const
CFxViewDrawInfo::IsBackClipped
bool IsBackClipped() const
Definition: FxViewDrawInfo.h:234
CFxView
Definition: FxView.h:265
CFxViewDrawInfo::m_RenderMode
OdGsView::RenderMode m_RenderMode
Definition: FxViewDrawInfo.h:542
CFxViewDrawInfo::GetPalette
const ODCOLORREF * GetPalette() const
Definition: FxViewDrawInfo.h:310
CFxViewDrawInfo::SetIsDragging
void SetIsDragging(bool bVal)
Definition: FxViewDrawInfo.h:334
CFxViewDrawInfo::SetExtentsCalculationActive
void SetExtentsCalculationActive(bool bVal)
Definition: FxViewDrawInfo.h:387
CFxViewDrawInfo::GetVisiblePixelHeight
double GetVisiblePixelHeight() const
Definition: FxViewDrawInfo.h:204
GiClipBoundary.h
CFxViewDrawInfo::m_dBackClip
double m_dBackClip
Definition: FxViewDrawInfo.h:576
CFxViewDrawInfo::IsFrontClipped
bool IsFrontClipped() const
Definition: FxViewDrawInfo.h:229
CFxViewDrawInfo::UseLinetyper
bool UseLinetyper() const
Definition: FxViewDrawInfo.h:420
CFxViewDrawInfo::SetDrawDecoration
void SetDrawDecoration(DrawDecoration eDD)
Definition: FxViewDrawInfo.h:369
CFxViewDrawInfo::m_bInitalizeLayerList
bool m_bInitalizeLayerList
Definition: FxViewDrawInfo.h:604
CFxViewDrawInfo::IsExtentsCalculationActive
bool IsExtentsCalculationActive() const
Definition: FxViewDrawInfo.h:378
OdGeExtents3d::maxPoint
const OdGePoint3d & maxPoint() const
Definition: GeExtents3d.h:242
CFxViewDrawInfo::m_bIsModel
bool m_bIsModel
Definition: FxViewDrawInfo.h:625
CFxViewDrawInfo::InitializeDatabase
void InitializeDatabase(const CFxDatabase *pDatabase)
CFxViewDrawInfo::m_bHardwareTransformationsAllowed
bool m_bHardwareTransformationsAllowed
Definition: FxViewDrawInfo.h:621
CFxViewDrawInfo::GetFrontClip
double GetFrontClip() const
Definition: FxViewDrawInfo.h:209
CFxViewDrawInfo::m_bUseGsModel
bool m_bUseGsModel
Definition: FxViewDrawInfo.h:588
CFxViewDrawInfo::GetBackground
ODCOLORREF GetBackground() const
Definition: FxViewDrawInfo.h:296
CFxViewDrawInfo::m_FrozenLayerListNames
OdStringArray m_FrozenLayerListNames
Definition: FxViewDrawInfo.h:603
OdGeExtents3d
Definition: GeExtents3d.h:45
CFxViewDrawInfo::GetFxDatabase
const CFxDatabase * GetFxDatabase() const
Definition: FxViewDrawInfo.h:401
CFxViewDrawInfo::m_bInitialUpdate
bool m_bInitialUpdate
Definition: FxViewDrawInfo.h:552
value
GLsizei const GLfloat * value
Definition: gles2_ext.h:302
CFxViewDrawInfo::GetPosition
const OdGePoint3d & GetPosition() const
Definition: FxViewDrawInfo.h:249
CFxViewDrawInfo::GetCadWindowId
static int GetCadWindowId(OdDbObjectId idViewport)
ODCOLORREF
#define ODCOLORREF
Definition: OdPlatform.h:883
CFxViewDrawInfo::SetUseLineWeights
void SetUseLineWeights(bool bUse)
Definition: FxViewDrawInfo.h:433
CFxViewDrawInfo::SetDrawSkipped
void SetDrawSkipped(bool bVal)
Definition: FxViewDrawInfo.h:164
CFxViewDrawInfo::m_InitialActiveAreaInViewCoordinates
OdGeExtents3d m_InitialActiveAreaInViewCoordinates
Definition: FxViewDrawInfo.h:572
CFxViewDrawInfo::m_bXClipFrame
bool m_bXClipFrame
Definition: FxViewDrawInfo.h:562
CFxViewDrawInfo::SetFadeMode
void SetFadeMode(bool bVal)
Definition: FxViewDrawInfo.h:344
CFxViewDrawInfo::GetRenderMode
OdGsView::RenderMode GetRenderMode() const
Definition: FxViewDrawInfo.h:320
CFxViewDrawInfo::m_bDrawImages
bool m_bDrawImages
Definition: FxViewDrawInfo.h:564
CFxViewDrawInfo::IsDragging
bool IsDragging() const
Definition: FxViewDrawInfo.h:329
CFxViewDrawInfo::IsScalingLineweights
bool IsScalingLineweights() const
CFxViewDrawInfo::GetDebugMode
OdInt32 GetDebugMode() const
Definition: FxViewDrawInfo.h:396
FxPragmaPush.h
OdGsView::Projection
Projection
Definition: Gs.h:151
CFxViewDrawInfo::UseLineWeights
bool UseLineWeights() const
Definition: FxViewDrawInfo.h:429
CFxViewDrawInfo::GetFieldWidth
double GetFieldWidth() const
Definition: FxViewDrawInfo.h:264
CFxViewDrawInfo::GetViewDir
const OdGeVector3d & GetViewDir() const
Definition: FxViewDrawInfo.h:244
CFxViewDrawInfo::m_pClipBoundary
const OdGiClipBoundary * m_pClipBoundary
Definition: FxViewDrawInfo.h:631
CFxViewDrawInfo::m_visibleScreenRectInViewCoordinates
OdGsDCRectDouble m_visibleScreenRectInViewCoordinates
Definition: FxViewDrawInfo.h:619
DbStubPtrArray.h
CFxViewDrawInfo::GetClipBoundary
const OdGiClipBoundary * GetClipBoundary() const
CFxViewDrawInfo::m_eDrawDecoration
DrawDecoration m_eDrawDecoration
Definition: FxViewDrawInfo.h:596
CFxViewDrawInfo::CFxViewDrawInfo
CFxViewDrawInfo()
CFxViewDrawInfo::SetRenderMode
void SetRenderMode(OdGsView::RenderMode mode)
Definition: FxViewDrawInfo.h:324
CFxViewDrawInfo::SetIMAGEFRAME
void SetIMAGEFRAME(OdDbRasterVariables::FrameSettings frameSettings)
Definition: FxViewDrawInfo.h:121
CFxViewDrawInfo::m_dVisiblePixelHeight
double m_dVisiblePixelHeight
Definition: FxViewDrawInfo.h:524
CFxViewDrawInfo::m_bBackClipped
bool m_bBackClipped
Definition: FxViewDrawInfo.h:580
CFxViewDrawInfo::SetInitialActiveAreaInViewCoordinates
virtual void SetInitialActiveAreaInViewCoordinates(const OdGeExtents3d &rect)
Definition: FxViewDrawInfo.h:284
CFxViewDrawInfo::~CFxViewDrawInfo
virtual ~CFxViewDrawInfo(void)
CFxViewDrawInfo::InitializeFromFxView
bool InitializeFromFxView(const CFxView *pFxView)
z
GLfloat GLfloat GLfloat z
Definition: gles2_ext.h:318
CFxViewDrawInfo::GetFieldHeight
double GetFieldHeight() const
Definition: FxViewDrawInfo.h:269
CFxViewDrawInfo::GetIMAGEFRAME
OdDbRasterVariables::FrameSettings GetIMAGEFRAME() const
Definition: FxViewDrawInfo.h:116
CFxViewDrawInfo::SetDrawImages
void SetDrawImages(bool bVal)
Definition: FxViewDrawInfo.h:96
CFxViewDrawInfo::SetUseTransparency
void SetUseTransparency(bool value)
Definition: FxViewDrawInfo.h:144
CFxViewDrawInfo::SetInitialActiveAreaByEYEContour
void SetInitialActiveAreaByEYEContour(const CFxView *pFxView, const OdGePoint2d *pointsEYE, int nPoints)
CFxViewDrawInfo::m_dFocalLength
double m_dFocalLength
Definition: FxViewDrawInfo.h:582
kMAX_VALID_DEPTH_RANGE
const double kMAX_VALID_DEPTH_RANGE
Definition: FxViewDrawInfo.h:44
CFxViewDrawInfo::m_bExtentsCalculation
bool m_bExtentsCalculation
Definition: FxViewDrawInfo.h:594
CFxViewDrawInfo::GetPixelWidth
double GetPixelWidth() const
Definition: FxViewDrawInfo.h:189
CFxViewDrawInfo::InitializePalette
void InitializePalette(const ODCOLORREF *pPalette)
CFxViewDrawInfo::IsPlotGeneration
bool IsPlotGeneration() const
Definition: FxViewDrawInfo.h:126
OdGePoint2d
Definition: GePoint2d.h:60