CFx SDK Documentation  2023 SP0
GiClipBoundary.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 #ifndef _GI_CLIP_BOUNDARY_H_INCLUDED_
25 #define _GI_CLIP_BOUNDARY_H_INCLUDED_
26 
27 #include "TD_PackPush.h"
28 
29 #include "Gi/GiExport.h"
30 #include "RxObject.h"
31 #include "Ge/GePoint2dArray.h"
32 #include "Ge/GeVector3d.h"
33 #include "Ge/GeMatrix3d.h"
34 
41 {
42 // FELIX_CHANGE_BEGIN
45  {
46  }
47 // FELIX_CHANGE_END
48  OdGeVector3d m_vNormal; // Normal vector that defines the plane in which the clip boundary lies.
49  OdGePoint3d m_ptPoint; // Origin of the clip boundary.
50  OdGePoint2dArray m_Points; // Array of points that defines the clip boundary.
51  OdGeMatrix3d m_xToClipSpace; // Transformation matrix from ModelSpace to ClipSpace.
52  OdGeMatrix3d m_xInverseBlockRefXForm; // Transformation matrix from BlockSpace to WorldSpace.
53  double m_dFrontClipZ; // Distance from target point to FrontClip plane.
54  double m_dBackClipZ; // Distance from target point to BackClip plane.
55  bool m_bClippingFront; // Enables front clipping.
56  bool m_bDrawBoundary; // Enables clipping boundary to be drawn.
57  bool m_bClippingBack; // Enables back clipping.
58 };
59 
64 
69 
70 #include "TD_PackPop.h"
71 
72 #endif
false
Definition: DimVarDefs.h:165
ODGI_EXPORT bool odgiIsValidClipBoundary(const OdGePoint2dArray &points)
ODGI_EXPORT void odgiEmptyClipBoundary(OdGiClipBoundary &clipBoundary)
#define ODGI_EXPORT
Definition: GiExport.h:35
OdGeMatrix3d m_xToClipSpace
OdGePoint2dArray m_Points
OdGeMatrix3d m_xInverseBlockRefXForm
OdGePoint3d m_ptPoint
OdGeVector3d m_vNormal