CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
GeExternalSurface.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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-2022 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
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:
58
63
72 void* pSurfaceDef,
73 OdGe::ExternalEntityKind surfaceKind,
74 bool makeCopy = true);
75
83
93 void*& pSurfaceDef) const;
94
95 // Type of the external surface.
96 //
97
109
113 bool isPlane() const;
114
118 bool isSphere() const;
119
123 bool isCylinder() const;
124
128 bool isCone() const;
129
133 bool isEllipCylinder() const;
134
138 bool isEllipCone() const;
139
143 bool isTorus() const;
144
148 bool isNurbSurface() const;
149
153 bool isDefined() const;
154
165 OdGeSurface*& nativeSurface) const;
166
167 // Assignment operator.
168 //
169
179 const OdGeExternalSurface& extSurf);
180
181 // Reset surface
182 //
183
193 void* pSurfaceDef,
194 OdGe::ExternalEntityKind surfaceKind,
195 bool makeCopy = true);
196
204 bool isOwnerOfSurface() const;
205
214
216};
217
218#include "TD_PackPop.h"
219
220#endif // OD_GEEXTSF_H
221
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
bool isDefined() const
bool isCylinder() const
bool isTorus() const
bool isCone() const
OdGeExternalSurface(const OdGeExternalSurface &source)
void getExternalSurface(void *&pSurfaceDef) const
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:260