CFx SDK Documentation  2022 SP0
RxRcsFileServices.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 // RxRcsFileServices.h - interface of module that handles .rcs files
25 
26 #ifndef __OD_RCSFILESERVICES_MODULE__
27 #define __OD_RCSFILESERVICES_MODULE__
28 
29 #include "RxModule.h"
30 #include "RootExport.h"
31 
32 #include "TD_PackPush.h"
33 #include "SharedPtr.h"
34 #include "Ge/GePoint3d.h"
35 #include "Ge/GePoint3dArray.h"
36 #include "CmEntityColorArray.h"
37 #include "Ge/GeVector3d.h"
38 #include "Ge/GeMatrix3d.h"
39 #include "Ge/GeExtents3d.h"
40 #include "StringArray.h"
41 
49 {
50 public:
52 
56  virtual void start() = 0;
57 
61  virtual bool done() const = 0;
62 
74  OdUInt64 requiredQty) = 0;
75 };
76 
78 
86 {
87 public:
88  virtual ~OdRcsVoxel(){}
89 
94 
98  virtual OdGeExtents3d getBox1() const = 0;
99 
103  virtual OdUInt64 getPointsQty() const = 0;
104 };
105 
107 
115 {
116 public:
118 
122  virtual OdRcsVoxelPtr getVoxel() = 0;
123 
127  virtual void start() = 0;
128 
132  virtual bool done() const = 0;
133 };
134 
136 
144 {
145 public:
146  virtual ~OdRcsFileReader(){}
147 
152 
156  virtual OdGeVector3d getTranslation() const = 0;
157 
161  virtual OdGeVector3d getRotation() const = 0;
162 
166  virtual OdGeVector3d getScale() const = 0;
167 
171  virtual OdGeMatrix3d getTransformMatrix() const = 0;
172 
176  virtual bool hasRGB() const = 0;
177 
181  virtual bool hasNormals() const = 0;
182 
186  virtual bool hasIntensity() const = 0;
187 
191  virtual OdString getScanIdString() const = 0;
192 
196  virtual OdGeExtents3d getExtents() const = 0;
197 
202 };
203 
205 
213 {
214 public:
215  virtual ~OdRcpFileReader(){}
216 
222  virtual void getAllRcsFilePaths( OdStringArray &list ) const = 0;
223 
229  virtual void getAllRcsRelativeFilePaths( OdStringArray &list ) const = 0;
230 
235 
239  virtual OdUInt32 getTotalRegionsCount() const = 0;
240 
244  virtual OdUInt32 getTotalScansCount() const = 0;
245 
249  virtual OdString getCoordinateSystemName() const = 0;
250 
256  virtual OdInt8 hasRGB() const = 0;
257 
263  virtual OdInt8 hasNormals() const = 0;
264 
270  virtual OdInt8 hasIntensity() const = 0;
271 
277  virtual OdString getRcsFilePath(const OdString &guid) const = 0;
278 
284  virtual OdString getRcsRelativeFilePath(const OdString &guid) const = 0;
285 
289  virtual OdUInt64 getTotalAmountOfPoints() const = 0;
290 
294  virtual void writeAllXmlDataToStream(OdStreamBuf* s) = 0;
295 
299  virtual OdGeExtents3d getExtents() const = 0;
300 };
301 
303 
312 {
313 public:
314 
322  virtual OdRcsFileReaderPtr getRcsFileReader(const OdString& filePath) const = 0;
323 
331  virtual OdRcpFileReaderPtr getRcpFileReader(const OdString& filePath) const = 0;
332 };
333 
335 
336 #include "TD_PackPop.h"
337 
338 #endif // __OD_RCSFILESERVICES_MODULE__
unsigned int OdUInt32
signed char OdInt8
#define ODRX_ABSTRACT
#define FIRSTDLL_EXPORT
Definition: RootExport.h:39
OdSharedPtr< OdRcsFileReader > OdRcsFileReaderPtr
OdSharedPtr< OdRcpFileReader > OdRcpFileReaderPtr
OdSharedPtr< OdRcsPointDataIterator > OdRcsPointDataIteratorPtr
OdSharedPtr< OdRcsVoxel > OdRcsVoxelPtr
OdSmartPtr< OdRxRcsFileServices > OdRxRcsFileServicesPtr
OdSharedPtr< OdRcsVoxelDataIterator > OdRcsVoxelDataIteratorPtr
virtual OdUInt32 getTotalRegionsCount() const =0
virtual OdString getCoordinateSystemName() const =0
virtual OdString getRcsRelativeFilePath(const OdString &guid) const =0
virtual void writeAllXmlDataToStream(OdStreamBuf *s)=0
virtual OdInt8 hasIntensity() const =0
virtual OdInt8 hasRGB() const =0
virtual OdInt8 hasNormals() const =0
virtual void getAllRcsRelativeFilePaths(OdStringArray &list) const =0
virtual OdUInt64 getTotalAmountOfPoints() const =0
virtual OdGeMatrix3d getGlobalTransformation() const =0
virtual OdString getRcsFilePath(const OdString &guid) const =0
virtual void getAllRcsFilePaths(OdStringArray &list) const =0
virtual OdGeExtents3d getExtents() const =0
virtual OdUInt32 getTotalScansCount() const =0
virtual ~OdRcpFileReader()
virtual OdRcsVoxelDataIteratorPtr newVoxelDataIterator() const =0
virtual bool hasNormals() const =0
virtual OdGeVector3d getRotation() const =0
virtual OdGeVector3d getTranslation() const =0
virtual ~OdRcsFileReader()
virtual OdGeExtents3d getTransformedExtents() const =0
virtual OdString getScanIdString() const =0
virtual OdGeVector3d getScale() const =0
virtual OdGeExtents3d getExtents() const =0
virtual bool hasRGB() const =0
virtual OdGeMatrix3d getTransformMatrix() const =0
virtual bool hasIntensity() const =0
virtual OdUInt64 getPoints(OdGePoint3dArray &points, OdCmEntityColorArray &colorArray, OdUInt64 requiredQty)=0
virtual bool done() const =0
virtual void start()=0
virtual bool done() const =0
virtual void start()=0
virtual OdRcsVoxelPtr getVoxel()=0
virtual OdUInt64 getPointsQty() const =0
virtual OdRcsPointDataIteratorPtr newPointDataIterator() const =0
virtual ~OdRcsVoxel()
virtual OdGeExtents3d getBox1() const =0
virtual OdRcpFileReaderPtr getRcpFileReader(const OdString &filePath) const =0
virtual OdRcsFileReaderPtr getRcsFileReader(const OdString &filePath) const =0