CFx SDK Documentation  2020SP3
GeExternalSurface.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 OD_GEEXTSF_H
25 #define OD_GEEXTSF_H
27 #include "Ge/GeSurface.h"
28 
29 #include "TD_PackPush.h"
30 
31 class OdGePlane;
32 class OdGeCylinder;
33 class OdGeCone;
34 class OdGeSphere;
35 class OdGeTorus;
36 class OdGeNurbSurface;
37 class OdGeEllipCone; // AE 03.09.2003
38 class OdGeEllipCylinder; // AE 09.09.2003
39 
56 {
57 public:
58 
59 
76  void* pSurfaceDef,
77  OdGe::ExternalEntityKind surfaceKind,
78  bool makeCopy = true);
81 
91  void*& pSurfaceDef) const;
92 
93  // Type of the external surface.
94  //
95 
107 
111  bool isPlane() const;
112 
116  bool isSphere() const;
117 
121  bool isCylinder() const;
122 
126  bool isCone() const;
127 
131  bool isEllipCylinder() const;
132 
136  bool isEllipCone() const;
137 
141  bool isTorus() const;
142 
146  bool isNurbSurface() const;
147 
151  bool isDefined() const;
152 
163  OdGeSurface*& nativeSurface) const;
164 
165  // Assignment operator.
166  //
167 
169  const OdGeExternalSurface& extSurf);
170 
171  // Reset surface
172  //
173 
183  void* pSurfaceDef,
184  OdGe::ExternalEntityKind surfaceKind,
185  bool makeCopy = true);
186 
194  bool isOwnerOfSurface() const;
195 
204 
206 };
207 
208 #include "TD_PackPop.h"
209 
210 #endif // OD_GEEXTSF_H
211 
OdGeExternalSurface::isCone
bool isCone() const
OdGeSurface
Definition: GeSurface.h:48
OdGePlane
Definition: GePlane.h:45
OdGeExternalSurface::set
OdGeExternalSurface & set(void *pSurfaceDef, OdGe::ExternalEntityKind surfaceKind, bool makeCopy=true)
OdGeExternalSurface::OdGeExternalSurface
OdGeExternalSurface()
OdGeExternalSurface::isTorus
bool isTorus() const
OdGeExternalSurface::isSphere
bool isSphere() const
OdGeExternalSurface::isEllipCylinder
bool isEllipCylinder() const
OdGeSurface::operator=
OdGeSurface & operator=(const OdGeSurface &surf)
source
GLsizei GLsizei GLchar * source
Definition: gles2_ext.h:282
OdGeExternalSurface::getExternalSurface
void getExternalSurface(void *&pSurfaceDef) const
OdGeExternalSurface
Definition: GeExternalSurface.h:56
TD_PackPop.h
OdGeCylinder
Definition: GeCylinder.h:78
OdGeExternalSurface::isNativeSurface
bool isNativeSurface(OdGeSurface *&nativeSurface) const
OdGeExternalSurface::isCylinder
bool isCylinder() const
OdGeExternalSurface::isEllipCone
bool isEllipCone() const
OdGeExternalSurface::isDefined
bool isDefined() const
OdGeEllipCylinder
Definition: GeEllipCylinder.h:89
OdGeEllipCone
Definition: GeEllipCone.h:104
OdGeTorus
Definition: GeTorus.h:73
OdGeSphere
Definition: GeSphere.h:72
OdGeExternalSurface::isOwnerOfSurface
bool isOwnerOfSurface() const
OdGeExternalSurface::isNurbSurface
bool isNurbSurface() const
OdGe::ExternalEntityKind
ExternalEntityKind
Definition: Ge.h:152
OdGeExternalSurface::isPlane
bool isPlane() const
OdGeCone
Definition: GeCone.h:91
TD_PackPush.h
OdGeExternalSurface::OdGeExternalSurface
OdGeExternalSurface(const OdGeExternalSurface &source)
OdGeExternalSurface::externalSurfaceKind
OdGe::ExternalEntityKind externalSurfaceKind() const
OdGeExternalSurface::setToOwnSurface
OdGeExternalSurface & setToOwnSurface()
GE_TOOLKIT_EXPORT
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
OdGeExternalSurface::OdGeExternalSurface
OdGeExternalSurface(void *pSurfaceDef, OdGe::ExternalEntityKind surfaceKind, bool makeCopy=true)
OdGeNurbSurface
Definition: GeNurbSurface.h:57