CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdRcsPointDataIterator.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#if !defined(OD_RCSPOINTDATAITERATOR_H__FD54AD4F_D4D4_48E8_9BD9_7E75B75E0C9F__INCLUDED)
25#define OD_RCSPOINTDATAITERATOR_H__FD54AD4F_D4D4_48E8_9BD9_7E75B75E0C9F__INCLUDED
26
27#if _MSC_VER > 1000
28#pragma once
29#endif // _MSC_VER > 1000
30
31#include "TD_PackPush.h"
32
33#include "RootExport.h"
34#include "SharedPtr.h"
35
36#include "Ge/GePoint3d.h"
37#include "Ge/GePoint3dArray.h"
38#include "CmEntityColorArray.h"
39#include "Ge/GeVector3dArray.h"
40#include "UInt16Array.h"
41#include "UInt8Array.h"
42
52{
53public:
58
64 virtual void setNumberOfPoints(OdUInt32 /*numberOfPoints*/) {}
65
79 virtual void setPoint(OdUInt32 index, float x, float y, float z,
80 OdUInt8 r, OdUInt8 g, OdUInt8 b, OdUInt16 normalIndex, OdUInt8 intensity) = 0;
81};
82
92{
93public:
94
99
104 virtual void start() = 0;
105
113 virtual bool done() const = 0;
114
126 OdUInt32 requiredNumberOfPoints) = 0;
127
141 OdGeVector3dArray& normals,
142 OdUInt32 requiredNumberOfPoints) = 0;
143
158 OdUInt16Array& normalIndexes, OdUInt8Array& intensities,
159 OdUInt32 requiredNumberOfPoints) = 0;
160
171 OdUInt32 requiredNumberOfPoints) = 0;
172};
173
178
179#include "TD_PackPop.h"
180
181#endif
OdArray< OdGePoint3d, OdMemoryAllocator< OdGePoint3d > > OdGePoint3dArray
OdArray< OdCmEntityColor, OdMemoryAllocator< OdCmEntityColor > > OdCmEntityColorArray
OdArray< OdGeVector3d, OdMemoryAllocator< OdGeVector3d > > OdGeVector3dArray
unsigned int OdUInt32
unsigned short OdUInt16
#define ODRX_ABSTRACT
unsigned char OdUInt8
OdSharedPtr< OdRcsPointDataIterator > OdRcsPointDataIteratorPtr
#define FIRSTDLL_EXPORT
Definition RootExport.h:39
OdArray< OdUInt16, OdMemoryAllocator< OdUInt16 > > OdUInt16Array
Definition UInt16Array.h:34
OdArray< OdUInt8, OdMemoryAllocator< OdUInt8 > > OdUInt8Array
Definition UInt8Array.h:35
virtual OdUInt32 getPoints(OdGePoint3dArray &coordinates, OdCmEntityColorArray &colors, OdUInt16Array &normalIndexes, OdUInt8Array &intensities, OdUInt32 requiredNumberOfPoints)=0
virtual bool done() const =0
virtual OdUInt32 getPoints(OdGePoint3dArray &coordinates, OdCmEntityColorArray &colors, OdUInt32 requiredNumberOfPoints)=0
virtual OdUInt32 getPoints(OdGePoint3dArray &coordinates, OdCmEntityColorArray &colors, OdGeVector3dArray &normals, OdUInt32 requiredNumberOfPoints)=0
virtual void start()=0
virtual OdUInt32 getPoints(OdRcsPointDataReceiver &receiver, OdUInt32 requiredNumberOfPoints)=0
virtual void setPoint(OdUInt32 index, float x, float y, float z, OdUInt8 r, OdUInt8 g, OdUInt8 b, OdUInt16 normalIndex, OdUInt8 intensity)=0
virtual void setNumberOfPoints(OdUInt32)
GLfloat GLfloat GLfloat z
Definition gles2_ext.h:318
GLuint index
Definition gles2_ext.h:265
GLfloat x
Definition gles2_ext.h:314
GLfloat GLfloat y
Definition gles2_ext.h:316