CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
GiEmptyGeometry.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 __ODGIEMPTYGEOMETRY_H__
25#define __ODGIEMPTYGEOMETRY_H__
26
27#include "Gi/GiExport.h"
29
30#include "TD_PackPush.h"
31
38{
39public:
41
51 void plineProc(const OdGiPolyline& polyline,
52 const OdGeMatrix3d* xfm = 0,
53 OdUInt32 fromIndex = 0,
54 OdUInt32 numSegs = 0);
55
67 const OdGePoint3d& center, double radius,
68 const OdGeVector3d& normal,
69 const OdGeVector3d* pExtrusion = 0);
70
82 const OdGePoint3d& firstPoint, const OdGePoint3d& secondPoint, const OdGePoint3d& thirdPoint,
83 const OdGeVector3d* pExtrusion = 0);
84
101 const OdGePoint3d& center,
102 double radius,
103 const OdGeVector3d& normal,
104 const OdGeVector3d& startVector,
105 double sweepAngle,
106 OdGiArcType arcType = kOdGiArcSimple,
107 const OdGeVector3d* pExtrusion = 0);
108
124 const OdGePoint3d& firstPoint,
125 const OdGePoint3d& secondPoint,
126 const OdGePoint3d& thirdPoint,
127 OdGiArcType arcType = kOdGiArcSimple,
128 const OdGeVector3d* pExtrusion = 0);
129
144 OdInt32 numPoints, const OdGePoint3d* vertexList,
145 const OdGeVector3d* pNormal = 0,
146 const OdGeVector3d* pExtrusion = 0, OdGsMarker baseSubEntMarker = -1);
147
161 OdInt32 numPoints, const OdGePoint3d* vertexList,
162 const OdGeVector3d* pNormal = 0, const OdGeVector3d* pExtrusion = 0);
163
177 OdInt32 rows,
178 OdInt32 columns,
179 const OdGePoint3d* vertexList,
180 const OdGiEdgeData* pEdgeData = 0,
181 const OdGiFaceData* pFaceData = 0,
182 const OdGiVertexData* pVertexData = 0);
183
198 OdInt32 numVertices,
199 const OdGePoint3d* vertexList,
200 OdInt32 faceListSize,
201 const OdInt32* faceList,
202 const OdGiEdgeData* pEdgeData = 0,
203 const OdGiFaceData* pFaceData = 0,
204 const OdGiVertexData* pVertexData = 0);
205
221 const OdGePoint3d& position,
222 const OdGeVector3d& direction, const OdGeVector3d& upVector,
223 const OdChar* msg, OdInt32 numChars, bool raw, const OdGiTextStyle* pTextStyle,
224 const OdGeVector3d* pExtrusion = 0);
225
237 const OdGePoint3d& position,
238 const OdGeVector3d& direction, const OdGeVector3d& upVector,
239 int shapeNumber, const OdGiTextStyle* pTextStyle,
240 const OdGeVector3d* pExtrusion = 0);
241
254 const OdGePoint3d& firstPoint, const OdGePoint3d& secondPoint);
255
267 void rayProc( const OdGePoint3d& basePoint, const OdGePoint3d& throughPoint);
268
276 void nurbsProc( const OdGeNurbCurve3d& nurbsCurve);
277
289 const OdGeEllipArc3d& ellipArc,
290 const OdGePoint3d* endPointsOverrides = 0,
291 OdGiArcType arcType = kOdGiArcSimple, const OdGeVector3d* pExtrusion = 0);
292
310 const OdGePoint3d& origin,
311 const OdGeVector3d& u,
312 const OdGeVector3d& v,
313 const OdGiRasterImage* pImage,
314 const OdGePoint2d* uvBoundary,
315 OdUInt32 numBoundPts,
316 bool transparency = false,
317 double brightness = 50.0,
318 double contrast = 50.0,
319 double fade = 0.0);
320
332 const OdGePoint3d& origin,
333 const OdGeVector3d& u,
334 const OdGeVector3d& v,
335 const OdGiMetafile* pMetafile,
336 bool dcAligned = true,
337 bool allowClipping = false);
338
354 OdInt32 numPoints,
355 const OdGePoint3d* vertexList,
356 const OdCmEntityColor* pColors,
357 const OdCmTransparency* pTransparency = 0,
358 const OdGeVector3d* pNormals = 0,
359 const OdGeVector3d* pExtrusions = 0,
360 const OdGsMarker* pSubEntMarkers = 0,
361 OdInt32 nPointSize = 0);
362
370 void rowOfDotsProc(OdInt32 numPoints, const OdGePoint3d& startPoint, const OdGeVector3d& dirToNextPoint);
371
378 void pointCloudProc(const OdGiPointCloud &pCloud, const OdGiPointCloudFilter *pFilter = NULL);
379
386 void edgeProc(const OdGiEdge2dArray& edges, const OdGeMatrix3d* pXform = 0);
387};
388
389#include "TD_PackPop.h"
390
391#endif //#ifndef __ODGIEMPTYGEOMETRY_H__
#define ODGI_EXPORT
Definition: GiExport.h:35
#define ODGI_EXPORT_STATIC
Definition: GiExport.h:36
OdGiArcType
Definition: GiGeometry.h:787
@ kOdGiArcSimple
Definition: GiGeometry.h:788
ptrdiff_t OdGsMarker
unsigned int OdUInt32
int OdInt32
wchar_t OdChar
static ODGI_EXPORT_STATIC OdGiConveyorGeometry & kVoid
void nurbsProc(const OdGeNurbCurve3d &nurbsCurve)
void rayProc(const OdGePoint3d &basePoint, const OdGePoint3d &throughPoint)
void metafileProc(const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, const OdGiMetafile *pMetafile, bool dcAligned=true, bool allowClipping=false)
void polylineProc(OdInt32 numPoints, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal=0, const OdGeVector3d *pExtrusion=0, OdGsMarker baseSubEntMarker=-1)
void circleProc(const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint, const OdGeVector3d *pExtrusion=0)
void polygonProc(OdInt32 numPoints, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal=0, const OdGeVector3d *pExtrusion=0)
void shellProc(OdInt32 numVertices, const OdGePoint3d *vertexList, OdInt32 faceListSize, const OdInt32 *faceList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)
void rowOfDotsProc(OdInt32 numPoints, const OdGePoint3d &startPoint, const OdGeVector3d &dirToNextPoint)
void xlineProc(const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint)
void polypointProc(OdInt32 numPoints, const OdGePoint3d *vertexList, const OdCmEntityColor *pColors, const OdCmTransparency *pTransparency=0, const OdGeVector3d *pNormals=0, const OdGeVector3d *pExtrusions=0, const OdGsMarker *pSubEntMarkers=0, OdInt32 nPointSize=0)
void ellipArcProc(const OdGeEllipArc3d &ellipArc, const OdGePoint3d *endPointsOverrides=0, OdGiArcType arcType=kOdGiArcSimple, const OdGeVector3d *pExtrusion=0)
void circularArcProc(const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint, OdGiArcType arcType=kOdGiArcSimple, const OdGeVector3d *pExtrusion=0)
void pointCloudProc(const OdGiPointCloud &pCloud, const OdGiPointCloudFilter *pFilter=NULL)
void textProc(const OdGePoint3d &position, const OdGeVector3d &direction, const OdGeVector3d &upVector, const OdChar *msg, OdInt32 numChars, bool raw, const OdGiTextStyle *pTextStyle, const OdGeVector3d *pExtrusion=0)
void shapeProc(const OdGePoint3d &position, const OdGeVector3d &direction, const OdGeVector3d &upVector, int shapeNumber, const OdGiTextStyle *pTextStyle, const OdGeVector3d *pExtrusion=0)
void plineProc(const OdGiPolyline &polyline, const OdGeMatrix3d *xfm=0, OdUInt32 fromIndex=0, OdUInt32 numSegs=0)
void circleProc(const OdGePoint3d &center, double radius, const OdGeVector3d &normal, const OdGeVector3d *pExtrusion=0)
void meshProc(OdInt32 rows, OdInt32 columns, const OdGePoint3d *vertexList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)
void edgeProc(const OdGiEdge2dArray &edges, const OdGeMatrix3d *pXform=0)
void circularArcProc(const OdGePoint3d &center, double radius, const OdGeVector3d &normal, const OdGeVector3d &startVector, double sweepAngle, OdGiArcType arcType=kOdGiArcSimple, const OdGeVector3d *pExtrusion=0)
void rasterImageProc(const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, const OdGiRasterImage *pImage, const OdGePoint2d *uvBoundary, OdUInt32 numBoundPts, bool transparency=false, double brightness=50.0, double contrast=50.0, double fade=0.0)
const GLfloat * v
Definition: gles2_ext.h:315