CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
GeExternalSurface.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, 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 Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2024 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
26
27#include "Ge/GeSurface.h"
28
29#include "TD_PackPush.h"
30
31class OdGePlane;
32class OdGeCylinder;
33class OdGeCone;
34class OdGeSphere;
35class OdGeTorus;
36class OdGeNurbSurface;
37class OdGeEllipCone; // AE 03.09.2003
38class OdGeEllipCylinder; // AE 09.09.2003
39
56{
57public:
59
64
73 void* pSurfaceDef,
74 OdGe::ExternalEntityKind surfaceKind,
75 bool makeCopy = true);
76
84
94 void*& pSurfaceDef) const;
95
96 // Type of the external surface.
97 //
98
110
114 bool isPlane() const;
115
119 bool isSphere() const;
120
124 bool isCylinder() const;
125
129 bool isCone() const;
130
134 bool isEllipCylinder() const;
135
139 bool isEllipCone() const;
140
144 bool isTorus() const;
145
149 bool isNurbSurface() const;
150
154 bool isDefined() const;
155
166 OdGeSurface*& nativeSurface) const;
167
168 // Assignment operator.
169 //
170
180 const OdGeExternalSurface& extSurf);
181
182 // Reset surface
183 //
184
194 void* pSurfaceDef,
195 OdGe::ExternalEntityKind surfaceKind,
196 bool makeCopy = true);
197
205 bool isOwnerOfSurface() const;
206
215
217};
218
219#include "TD_PackPop.h"
220
221#endif // OD_GEEXTSF_H
222
#define GE_TOOLKIT_EXPORT
Definition GeExport.h:35
bool isDefined() const
bool isCylinder() const
bool isTorus() const
bool isCone() const
OdGeExternalSurface(const OdGeExternalSurface &source)
void getExternalSurface(void *&pSurfaceDef) const
GE_OPERATORS_OVERRIDE_3D(OdGeExternalSurface)
OdGe::ExternalEntityKind externalSurfaceKind() const
bool isPlane() const
OdGeExternalSurface(void *pSurfaceDef, OdGe::ExternalEntityKind surfaceKind, bool makeCopy=true)
bool isNativeSurface(OdGeSurface *&nativeSurface) const
bool isOwnerOfSurface() const
bool isEllipCylinder() const
OdGeExternalSurface & setToOwnSurface()
bool isEllipCone() const
OdGeExternalSurface & set(void *pSurfaceDef, OdGe::ExternalEntityKind surfaceKind, bool makeCopy=true)
bool isNurbSurface() const
bool isSphere() const
OdGeSurface & operator=(const OdGeSurface &surf)
GLsizei GLsizei GLchar * source
Definition gles2_ext.h:282
ExternalEntityKind
Definition Ge.h:262