CFx SDK Documentation  2020SP3
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
OdGiClipBoundary::m_dFrontClipZ
double m_dFrontClipZ
Definition: GiClipBoundary.h:53
OdGeVector3d
Definition: GeVector3d.h:54
OdGiClipBoundary::m_bClippingBack
bool m_bClippingBack
Definition: GiClipBoundary.h:57
false
false
Definition: DimVarDefs.h:165
OdArray< OdGePoint2d, OdMemoryAllocator< OdGePoint2d > >
TD_PackPop.h
OdGiClipBoundary::m_xToClipSpace
OdGeMatrix3d m_xToClipSpace
Definition: GiClipBoundary.h:51
RxObject.h
OdGeMatrix3d
Definition: GeMatrix3d.h:73
ODGI_EXPORT
#define ODGI_EXPORT
Definition: GiExport.h:35
OdGiClipBoundary
Definition: GiClipBoundary.h:41
OdGiClipBoundary::m_ptPoint
OdGePoint3d m_ptPoint
Definition: GiClipBoundary.h:49
odgiEmptyClipBoundary
ODGI_EXPORT void odgiEmptyClipBoundary(OdGiClipBoundary &clipBoundary)
OdGePoint3d
Definition: GePoint3d.h:55
OdGiClipBoundary::m_vNormal
OdGeVector3d m_vNormal
Definition: GiClipBoundary.h:48
TD_PackPush.h
OdGiClipBoundary::OdGiClipBoundary
OdGiClipBoundary()
Definition: GiClipBoundary.h:43
OdGiClipBoundary::m_xInverseBlockRefXForm
OdGeMatrix3d m_xInverseBlockRefXForm
Definition: GiClipBoundary.h:52
GeVector3d.h
GePoint2dArray.h
GiExport.h
OdGiClipBoundary::m_bClippingFront
bool m_bClippingFront
Definition: GiClipBoundary.h:55
GeMatrix3d.h
OdGiClipBoundary::m_bDrawBoundary
bool m_bDrawBoundary
Definition: GiClipBoundary.h:56
odgiIsValidClipBoundary
ODGI_EXPORT bool odgiIsValidClipBoundary(const OdGePoint2dArray &points)
OdGiClipBoundary::m_Points
OdGePoint2dArray m_Points
Definition: GiClipBoundary.h:50
OdGiClipBoundary::m_dBackClipZ
double m_dBackClipZ
Definition: GiClipBoundary.h:54