CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
GiShmDataStorage.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_GI_SHM_DATA_STORAGE__
25#define __OD_GI_SHM_DATA_STORAGE__
26
27#include "Gi/GiGeometry.h"
28#include "Ge/GeVector3dArray.h"
29#include "DbStubPtrArray.h"
30#include "CmEntityColorArray.h"
31#include "CmTransparencyArray.h"
32#include "UInt8Array.h"
33#include "UInt32Array.h"
34#include "Int32Array.h"
35#include "UInt16Array.h"
36#include "GsMarkerArray.h"
37
44{
45 protected:
46 //DOM-IGNORE-BEGIN
53 //DOM-IGNORE-END
54 public:
59
60
67 const OdUInt16Array &colorsArray() const { return m_colors; }
68
76
81
91 OdUInt16 *resizeColorsArray(OdUInt32 nSize, bool bSetPtr = true) { m_colors.resize(nSize); if (bSetPtr) setColorsArray(); return m_colors.asArrayPtr(); }
92
93
101
109
114
124 OdCmEntityColor *resizeTrueColorsArray(OdUInt32 nSize, bool bSetPtr = true) { m_trueColors.resize(nSize); if (bSetPtr) setTrueColorsArray(); return m_trueColors.asArrayPtr(); }
125
126
133 const OdDbStubPtrArray &layerIdsArray() const { return m_layers; }
134
142
146 void setLayersArray() { setLayers(const_cast<OdDbStub**>(m_layers.getPtr())); }
147
157 OdDbStub **resizeLayerIdsArray(OdUInt32 nSize, bool bSetPtr = true) { m_layers.resize(nSize); if (bSetPtr) setLayersArray(); return m_layers.asArrayPtr(); }
158
159
167
175
179 void setLinetypesArray() { setLinetypes(const_cast<OdDbStub**>(m_linetypes.getPtr())); }
180
190 OdDbStub **resizeLinetypeIdsArray(OdUInt32 nSize, bool bSetPtr = true) { m_linetypes.resize(nSize); if (bSetPtr) setLinetypesArray(); return m_linetypes.asArrayPtr(); }
191
192
200
208
213
224
225
232 const OdUInt8Array &visibilityArray() const { return m_visibilities; }
233
241
246
256 OdUInt8 *resizeVisibilityArray(OdUInt32 nSize, bool bSetPtr = true) { m_visibilities.resize(nSize); if (bSetPtr) setVisibilityArray(); return m_visibilities.asArrayPtr(); }
257
258
264 void cloneData(const OdGiEdgeData *pData) { *(OdGiEdgeData*)this = *pData; }
265
274 {
275 setColors(NULL);
276 setTrueColors(NULL);
277 setLayers(NULL);
278 setLinetypes(NULL);
280 setVisibility(NULL);
281 }
282
293 void setPointersArray(const OdGiEdgeData *pEdgeData = NULL)
294 {
295 if (!pEdgeData || pEdgeData->colors()) setColorsArray();
296 if (!pEdgeData || pEdgeData->trueColors()) setTrueColorsArray();
297 if (!pEdgeData || pEdgeData->layerIds()) setLayersArray();
298 if (!pEdgeData || pEdgeData->linetypeIds()) setLinetypesArray();
299 if (!pEdgeData || pEdgeData->selectionMarkers()) setSelectionMarkersArray();
300 if (!pEdgeData || pEdgeData->visibility()) setVisibilityArray();
301 }
302
312 void clearArrays(const OdGiEdgeData *pEdgeData = NULL)
313 {
314 if (!pEdgeData || pEdgeData->colors()) m_colors.clear();
315 if (!pEdgeData || pEdgeData->trueColors()) m_trueColors.clear();
316 if (!pEdgeData || pEdgeData->layerIds()) m_layers.clear();
317 if (!pEdgeData || pEdgeData->linetypeIds()) m_linetypes.clear();
318 if (!pEdgeData || pEdgeData->selectionMarkers()) m_selMarkers.clear();
319 if (!pEdgeData || pEdgeData->visibility()) m_visibilities.clear();
320 }
321
331 void deleteArrays(const OdGiEdgeData *pEdgeData = NULL)
332 {
333 if (!pEdgeData || pEdgeData->colors()) m_colors.setPhysicalLength(0);
334 if (!pEdgeData || pEdgeData->trueColors()) m_trueColors.setPhysicalLength(0);
335 if (!pEdgeData || pEdgeData->layerIds()) m_layers.setPhysicalLength(0);
336 if (!pEdgeData || pEdgeData->linetypeIds()) m_linetypes.setPhysicalLength(0);
337 if (!pEdgeData || pEdgeData->selectionMarkers()) m_selMarkers.setPhysicalLength(0);
338 if (!pEdgeData || pEdgeData->visibility()) m_visibilities.setPhysicalLength(0);
339 }
340
351 void reserveArrays(const OdGiEdgeData *pEdgeData, OdUInt32 nReserve)
352 {
353 if (!pEdgeData || pEdgeData->colors()) m_colors.reserve(nReserve);
354 if (!pEdgeData || pEdgeData->trueColors()) m_trueColors.reserve(nReserve);
355 if (!pEdgeData || pEdgeData->layerIds()) m_layers.reserve(nReserve);
356 if (!pEdgeData || pEdgeData->linetypeIds()) m_linetypes.reserve(nReserve);
357 if (!pEdgeData || pEdgeData->selectionMarkers()) m_selMarkers.reserve(nReserve);
358 if (!pEdgeData || pEdgeData->visibility()) m_visibilities.reserve(nReserve);
359 }
360
373 void copyFrom(const OdGiEdgeData *pEdgeData, OdUInt32 nEdge)
374 {
375 if (pEdgeData && pEdgeData->colors()) m_colors.push_back(pEdgeData->colors()[nEdge]);
376 if (pEdgeData && pEdgeData->trueColors()) m_trueColors.push_back(pEdgeData->trueColors()[nEdge]);
377 if (pEdgeData && pEdgeData->layerIds()) m_layers.push_back(pEdgeData->layerIds()[nEdge]);
378 if (pEdgeData && pEdgeData->linetypeIds()) m_linetypes.push_back(pEdgeData->linetypeIds()[nEdge]);
379 if (pEdgeData && pEdgeData->selectionMarkers()) m_selMarkers.push_back(pEdgeData->selectionMarkers()[nEdge]);
380 if (pEdgeData && pEdgeData->visibility()) m_visibilities.push_back(pEdgeData->visibility()[nEdge]);
381 }
382};
383
390{
391 public:
396 protected:
397 //DOM-IGNORE-BEGIN
407 //DOM-IGNORE-END
408 public:
409
414
415
422 const OdUInt16Array &colorsArray() const { return m_colors; }
423
431
436
446 OdUInt16 *resizeColorsArray(OdUInt32 nSize, bool bSetPtr = true) { m_colors.resize(nSize); if (bSetPtr) setColorsArray(); return m_colors.asArrayPtr(); }
447
448
456
464
469
479 OdCmEntityColor *resizeTrueColorsArray(OdUInt32 nSize, bool bSetPtr = true) { m_trueColors.resize(nSize); if (bSetPtr) setTrueColorsArray(); return m_trueColors.asArrayPtr(); }
480
481
488 const OdDbStubPtrArray &layerIdsArray() const { return m_layers; }
489
497
501 void setLayersArray() { setLayers(const_cast<OdDbStub**>(m_layers.getPtr())); }
502
512 OdDbStub **resizeLayerIdsArray(OdUInt32 nSize, bool bSetPtr = true) { m_layers.resize(nSize); if (bSetPtr) setLayersArray(); return m_layers.asArrayPtr(); }
513
514
522
530
535
545 OdGsMarker *resizeSelectionMarkersArray(OdUInt32 nSize, bool bSetPtr = true) { m_markers.resize(nSize); if (bSetPtr) setSelectionMarkersArray(); return m_markers.asArrayPtr(); }
546
547
554 const OdGeVector3dArray &normalsArray() const { return m_normals; }
555
563
568
578 OdGeVector3d *resizeNormalsArray(OdUInt32 nSize, bool bSetPtr = true) { m_normals.resize(nSize); if (bSetPtr) setNormalsArray(); return m_normals.asArrayPtr(); }
579
580
587 const OdUInt8Array &visibilityArray() const { return m_visibilities; }
588
596
601
611 OdUInt8 *resizeVisibilityArray(OdUInt32 nSize, bool bSetPtr = true) { m_visibilities.resize(nSize); if (bSetPtr) setVisibilityArray(); return m_visibilities.asArrayPtr(); }
612
613
620 const OdDbStubPtrArray &materialsArray() const { return m_materials; }
621
629
633 void setMaterialsArray() { setMaterials(const_cast<OdDbStub**>(m_materials.getPtr())); }
634
644 OdDbStub **resizeMaterialsArray(OdUInt32 nSize, bool bSetPtr = true) { m_materials.resize(nSize); if (bSetPtr) setMaterialsArray(); return m_materials.asArrayPtr(); }
645
646
653 const OdGiMapperArray &mappersArray() const { return m_mappers; }
654
662
667
677 OdGiMapper *resizeMappersArray(OdUInt32 nSize, bool bSetPtr = true) { m_mappers.resize(nSize); if (bSetPtr) setMappersArray(); return m_mappers.asArrayPtr(); }
678
679
687
695
700
711
712
718 void cloneData(const OdGiFaceData *pData) { *(OdGiFaceData*)this = *pData; }
719
729 {
730 setColors(NULL);
731 setTrueColors(NULL);
732 setLayers(NULL);
734 setNormals(NULL);
735 setVisibility(NULL);
736 setMaterials(NULL);
737 setMappers(NULL);
738 setTransparency(NULL);
739 }
740
752 void setPointersArray(const OdGiFaceData *pFaceData = NULL)
753 {
754 if (!pFaceData || pFaceData->colors()) setColorsArray();
755 if (!pFaceData || pFaceData->trueColors()) setTrueColorsArray();
756 if (!pFaceData || pFaceData->layerIds()) setLayersArray();
757 if (!pFaceData || pFaceData->selectionMarkers()) setSelectionMarkersArray();
758 if (!pFaceData || pFaceData->normals()) setNormalsArray();
759 if (!pFaceData || pFaceData->visibility()) setVisibilityArray();
760 if (!pFaceData || pFaceData->materials()) setMaterialsArray();
761 if (!pFaceData || pFaceData->mappers()) setMappersArray();
762 if (!pFaceData || pFaceData->transparency()) setTransparencyArray();
763 }
764
775 void clearArrays(const OdGiFaceData *pFaceData = NULL)
776 {
777 if (!pFaceData || pFaceData->colors()) m_colors.clear();
778 if (!pFaceData || pFaceData->trueColors()) m_trueColors.clear();
779 if (!pFaceData || pFaceData->layerIds()) m_layers.clear();
780 if (!pFaceData || pFaceData->selectionMarkers()) m_markers.clear();
781 if (!pFaceData || pFaceData->normals()) m_normals.clear();
782 if (!pFaceData || pFaceData->visibility()) m_visibilities.clear();
783 if (!pFaceData || pFaceData->materials()) m_materials.clear();
784 if (!pFaceData || pFaceData->mappers()) m_mappers.clear();
785 if (!pFaceData || pFaceData->transparency()) m_transparencies.clear();
786 }
787
798 void deleteArrays(const OdGiFaceData *pFaceData = NULL)
799 {
800 if (!pFaceData || pFaceData->colors()) m_colors.setPhysicalLength(0);
801 if (!pFaceData || pFaceData->trueColors()) m_trueColors.setPhysicalLength(0);
802 if (!pFaceData || pFaceData->layerIds()) m_layers.setPhysicalLength(0);
803 if (!pFaceData || pFaceData->selectionMarkers()) m_markers.setPhysicalLength(0);
804 if (!pFaceData || pFaceData->normals()) m_normals.setPhysicalLength(0);
805 if (!pFaceData || pFaceData->visibility()) m_visibilities.setPhysicalLength(0);
806 if (!pFaceData || pFaceData->materials()) m_materials.setPhysicalLength(0);
807 if (!pFaceData || pFaceData->mappers()) m_mappers.setPhysicalLength(0);
808 if (!pFaceData || pFaceData->transparency()) m_transparencies.setPhysicalLength(0);
809 }
810
822 void reserveArrays(const OdGiFaceData *pFaceData, OdUInt32 nReserve)
823 {
824 if (!pFaceData || pFaceData->colors()) m_colors.reserve(nReserve);
825 if (!pFaceData || pFaceData->trueColors()) m_trueColors.reserve(nReserve);
826 if (!pFaceData || pFaceData->layerIds()) m_layers.reserve(nReserve);
827 if (!pFaceData || pFaceData->selectionMarkers()) m_markers.reserve(nReserve);
828 if (!pFaceData || pFaceData->normals()) m_normals.reserve(nReserve);
829 if (!pFaceData || pFaceData->visibility()) m_visibilities.reserve(nReserve);
830 if (!pFaceData || pFaceData->materials()) m_materials.reserve(nReserve);
831 if (!pFaceData || pFaceData->mappers()) m_mappers.reserve(nReserve);
832 if (!pFaceData || pFaceData->transparency()) m_transparencies.reserve(nReserve);
833 }
834
848 void copyFrom(const OdGiFaceData *pFaceData, OdUInt32 nFace)
849 {
850 if (pFaceData && pFaceData->colors()) m_colors.push_back(pFaceData->colors()[nFace]);
851 if (pFaceData && pFaceData->trueColors()) m_trueColors.push_back(pFaceData->trueColors()[nFace]);
852 if (pFaceData && pFaceData->layerIds()) m_layers.push_back(pFaceData->layerIds()[nFace]);
853 if (pFaceData && pFaceData->selectionMarkers()) m_markers.push_back(pFaceData->selectionMarkers()[nFace]);
854 if (pFaceData && pFaceData->normals()) m_normals.push_back(pFaceData->normals()[nFace]);
855 if (pFaceData && pFaceData->visibility()) m_visibilities.push_back(pFaceData->visibility()[nFace]);
856 if (pFaceData && pFaceData->materials()) m_materials.push_back(pFaceData->materials()[nFace]);
857 if (pFaceData && pFaceData->mappers()) m_mappers.push_back(pFaceData->mappers()[nFace]);
858 if (pFaceData && pFaceData->transparency()) m_transparencies.push_back(pFaceData->transparency()[nFace]);
859 }
860};
861
868{
869 protected:
870 //DOM-IGNORE-BEGIN
874 //DOM-IGNORE-END
875 public:
876
881
882
889 const OdGeVector3dArray &normalsArray() const { return m_normals; }
890
898
903
913 OdGeVector3d *resizeNormalsArray(OdUInt32 nSize, bool bSetPtr = true) { m_normals.resize(nSize); if (bSetPtr) setNormalsArray(); return m_normals.asArrayPtr(); }
914
915
923
931
936
946 OdCmEntityColor *resizeTrueColorsArray(OdUInt32 nSize, bool bSetPtr = true) { m_trueColors.resize(nSize); if (bSetPtr) setTrueColorsArray(); return m_trueColors.asArrayPtr(); }
947
948
958 const OdGePoint3dArray &mappingCoordsArray(MapChannel /*channel*/) const { return m_texCoords; }
959
970
977
988 OdGePoint3d *resizeMappingCoordsArray(MapChannel channel, OdUInt32 nSize, bool bSetPtr = true) { m_texCoords.resize(nSize); if (bSetPtr) setMappingCoordsArray(channel); return m_texCoords.asArrayPtr(); }
989
990
996 void cloneData(const OdGiVertexData *pData) { *(OdGiVertexData*)this = *pData; }
997
1006 {
1007 setNormals(NULL);
1008 setTrueColors(NULL);
1010 }
1011
1021 void setPointersArray(const OdGiVertexData *pVertexData = NULL)
1022 {
1023 if (!pVertexData || pVertexData->normals()) setNormalsArray();
1024 if (!pVertexData || pVertexData->trueColors()) setTrueColorsArray();
1025 if (!pVertexData || pVertexData->mappingCoords(OdGiVertexData::kAllChannels)) setMappingCoordsArray(OdGiVertexData::kAllChannels);
1026 }
1027
1036 void clearArrays(const OdGiVertexData *pVertexData = NULL)
1037 {
1038 if (!pVertexData || pVertexData->normals()) m_normals.clear();
1039 if (!pVertexData || pVertexData->trueColors()) m_trueColors.clear();
1040 if (!pVertexData || pVertexData->mappingCoords(OdGiVertexData::kAllChannels)) m_texCoords.clear();
1041 }
1042
1051 void deleteArrays(const OdGiVertexData *pVertexData = NULL)
1052 {
1053 if (!pVertexData || pVertexData->normals()) m_normals.setPhysicalLength(0);
1054 if (!pVertexData || pVertexData->trueColors()) m_trueColors.setPhysicalLength(0);
1055 if (!pVertexData || pVertexData->mappingCoords(OdGiVertexData::kAllChannels)) m_texCoords.setPhysicalLength(0);
1056 }
1057
1068 void reserveArrays(const OdGiVertexData *pVertexData, OdUInt32 nReserve)
1069 {
1070 if (!pVertexData || pVertexData->normals()) m_normals.reserve(nReserve);
1071 if (!pVertexData || pVertexData->trueColors()) m_trueColors.reserve(nReserve);
1072 if (!pVertexData || pVertexData->mappingCoords(OdGiVertexData::kAllChannels)) m_texCoords.reserve(nReserve);
1073 }
1074
1087 void copyFrom(const OdGiVertexData *pVertexData, OdUInt32 nVertex)
1088 {
1089 if (pVertexData && pVertexData->normals()) m_normals.push_back(pVertexData->normals()[nVertex]);
1090 if (pVertexData && pVertexData->trueColors()) m_trueColors.push_back(pVertexData->trueColors()[nVertex]);
1091 if (pVertexData && pVertexData->mappingCoords(OdGiVertexData::kAllChannels))
1093 }
1094};
1095
1102{
1103 protected:
1104 //DOM-IGNORE-BEGIN
1115 //DOM-IGNORE-END
1116 public:
1117
1122 : m_pVertexList(NULL)
1123 , m_pFaceList(NULL)
1124 , m_pEdgeData(NULL)
1125 , m_pFaceData(NULL)
1126 , m_pVertexData(NULL)
1127 { }
1128
1129
1135 void setVertexList(const OdGePoint3d *pVertexList) { m_pVertexList = pVertexList; }
1136
1143 const OdGePoint3d *vertexList() const { return m_pVertexList; }
1144
1152
1160
1165
1175 OdGePoint3d *resizeVertexListArray(OdUInt32 nSize, bool bSetPtr = true) { m_vertexList.resize(nSize); if (bSetPtr) setVertexListArray(); return m_vertexList.asArrayPtr(); }
1176
1177
1183 void setFaceList(const OdInt32 *pFaceList) { m_pFaceList = pFaceList; }
1184
1191 const OdInt32 *faceList() const { return m_pFaceList; }
1192
1199 const OdInt32Array &faceListArray() const { return m_faceList; }
1200
1208
1213
1223 OdInt32 *resizeFaceListArray(OdUInt32 nSize, bool bSetPtr = true) { m_faceList.resize(nSize); if (bSetPtr) setFaceListArray(); return m_faceList.asArrayPtr(); }
1224
1225
1231 void setEdgeData(const OdGiEdgeData *pEdgeData) { m_pEdgeData = pEdgeData; }
1232
1239 const OdGiEdgeData *edgeData() const { return m_pEdgeData; }
1240
1248
1256
1261
1265 void resetEdgeData() { m_pEdgeData = NULL; }
1266
1273 void cloneEdgeData(const OdGiEdgeData *pEdgeData) { if (pEdgeData) { m_edgeData.cloneData(pEdgeData); setEdgeDataStorage(); } else resetEdgeData(); }
1274
1275
1281 void setFaceData(const OdGiFaceData *pFaceData) { m_pFaceData = pFaceData; }
1282
1289 const OdGiFaceData *faceData() const { return m_pFaceData; }
1290
1298
1306
1311
1315 void resetFaceData() { m_pFaceData = NULL; }
1316
1323 void cloneFaceData(const OdGiFaceData *pFaceData) { if (pFaceData) { m_faceData.cloneData(pFaceData); setFaceDataStorage(); } else resetFaceData(); }
1324
1325
1331 void setVertexData(const OdGiVertexData *pVertexData) { m_pVertexData = pVertexData; }
1332
1339 const OdGiVertexData *vertexData() const { return m_pVertexData; }
1340
1348
1356
1361
1366
1373 void cloneVertexData(const OdGiVertexData *pVertexData) { if (pVertexData) { m_vertexData.cloneData(pVertexData); setVertexDataStorage(); } else resetVertexData(); }
1374
1375
1385 {
1386 setVertexList(NULL);
1387 setFaceList(NULL);
1388 resetEdgeData();
1389 resetFaceData();
1394 }
1395
1406 void setPointersArray(const OdGiFaceData *pFaceData = NULL, const OdGiEdgeData *pEdgeData = NULL, const OdGiVertexData *pVertexData = NULL)
1407 {
1410 if (pEdgeData) setEdgeDataStorage();
1411 if (pFaceData) setFaceDataStorage();
1412 if (pVertexData) setVertexDataStorage();
1413 m_edgeData.setPointersArray(pEdgeData);
1414 m_faceData.setPointersArray(pFaceData);
1415 m_vertexData.setPointersArray(pVertexData);
1416 }
1417
1429 void clearArrays(const OdGiFaceData *pFaceData = NULL, const OdGiEdgeData *pEdgeData = NULL, const OdGiVertexData *pVertexData = NULL)
1430 {
1432 m_faceList.clear();
1433 m_edgeData.clearArrays(pEdgeData);
1434 m_faceData.clearArrays(pFaceData);
1435 m_vertexData.clearArrays(pVertexData);
1436 }
1437
1450 void deleteArrays(const OdGiFaceData *pFaceData = NULL, const OdGiEdgeData *pEdgeData = NULL, const OdGiVertexData *pVertexData = NULL)
1451 {
1454 m_edgeData.deleteArrays(pEdgeData);
1455 m_faceData.deleteArrays(pFaceData);
1456 m_vertexData.deleteArrays(pVertexData);
1457 }
1458};
1459
1460#endif // __OD_GI_SHM_DATA_STORAGE__
ptrdiff_t OdGsMarker
unsigned int OdUInt32
unsigned short OdUInt16
int OdInt32
unsigned char OdUInt8
const T * asArrayPtr() const
Definition: OdArray.h:1590
void clear()
Definition: OdArray.h:1400
OdArray & setPhysicalLength(size_type physLength)
Definition: OdArray.h:2223
void push_back(const T &value)
Definition: OdArray.h:1411
void reserve(size_type reserveLength)
Definition: OdArray.h:1281
const T * getPtr() const
Definition: OdArray.h:1600
void resize(size_type logicalLength, const T &value)
Definition: OdArray.h:1185
OdDbStub ** linetypeIds() const
Definition: GiGeometry.h:226
const OdUInt16 * colors() const
Definition: GiGeometry.h:186
void setTrueColors(const OdCmEntityColor *colors)
Definition: GiGeometry.h:114
void setColors(const OdUInt16 *colors)
Definition: GiGeometry.h:100
const OdCmEntityColor * trueColors() const
Definition: GiGeometry.h:199
const OdGsMarker * selectionMarkers() const
Definition: GiGeometry.h:238
OdDbStub ** layerIds() const
Definition: GiGeometry.h:212
void setVisibility(const OdUInt8 *visibilities)
Definition: GiGeometry.h:172
void setSelectionMarkers(const OdGsMarker *selectionMarkers)
Definition: GiGeometry.h:151
void setLayers(OdDbStub **layerIds)
Definition: GiGeometry.h:127
void setLinetypes(OdDbStub **linetypeIds)
Definition: GiGeometry.h:140
const OdUInt8 * visibility() const
Definition: GiGeometry.h:260
const OdCmEntityColorArray & trueColorsArray() const
OdUInt16Array m_colors
OdDbStubPtrArray m_linetypes
const OdGsMarkerArray & selectionMarkersArray() const
OdDbStub ** resizeLinetypeIdsArray(OdUInt32 nSize, bool bSetPtr=true)
OdDbStub ** resizeLayerIdsArray(OdUInt32 nSize, bool bSetPtr=true)
void cloneData(const OdGiEdgeData *pData)
OdUInt8Array & visibilityArray()
const OdUInt16Array & colorsArray() const
const OdDbStubPtrArray & linetypeIdsArray() const
OdCmEntityColorArray m_trueColors
OdCmEntityColorArray & trueColorsArray()
const OdDbStubPtrArray & layerIdsArray() const
OdCmEntityColor * resizeTrueColorsArray(OdUInt32 nSize, bool bSetPtr=true)
OdUInt16Array & colorsArray()
void deleteArrays(const OdGiEdgeData *pEdgeData=NULL)
void clearArrays(const OdGiEdgeData *pEdgeData=NULL)
const OdUInt8Array & visibilityArray() const
void reserveArrays(const OdGiEdgeData *pEdgeData, OdUInt32 nReserve)
OdGsMarkerArray m_selMarkers
OdGsMarkerArray & selectionMarkersArray()
OdGsMarker * resizeSelectionMarkersArray(OdUInt32 nSize, bool bSetPtr=true)
OdDbStubPtrArray & layerIdsArray()
OdUInt8Array m_visibilities
OdUInt8 * resizeVisibilityArray(OdUInt32 nSize, bool bSetPtr=true)
void copyFrom(const OdGiEdgeData *pEdgeData, OdUInt32 nEdge)
OdDbStubPtrArray m_layers
void setPointersArray(const OdGiEdgeData *pEdgeData=NULL)
OdUInt16 * resizeColorsArray(OdUInt32 nSize, bool bSetPtr=true)
OdDbStubPtrArray & linetypeIdsArray()
const OdUInt16 * colors() const
Definition: GiGeometry.h:469
void setLayers(OdDbStub **layerIds)
Definition: GiGeometry.h:345
void setNormals(const OdGeVector3d *normals)
Definition: GiGeometry.h:367
const OdCmEntityColor * trueColors() const
Definition: GiGeometry.h:482
void setSelectionMarkers(const OdGsMarker *selectionMarkers)
Definition: GiGeometry.h:356
void setMaterials(OdDbStub **materialIds)
Definition: GiGeometry.h:400
void setColors(const OdUInt16 *colors)
Definition: GiGeometry.h:317
void setTrueColors(const OdCmEntityColor *colors)
Definition: GiGeometry.h:332
const OdGeVector3d * normals() const
Definition: GiGeometry.h:517
const OdGiMapper * mappers() const
Definition: GiGeometry.h:563
const OdUInt8 * visibility() const
Definition: GiGeometry.h:537
void setMappers(const OdGiMapper *mappers)
Definition: GiGeometry.h:414
const OdGsMarker * selectionMarkers() const
Definition: GiGeometry.h:506
void setTransparency(const OdCmTransparency *transparencies)
Definition: GiGeometry.h:429
const OdCmTransparency * transparency() const
Definition: GiGeometry.h:578
OdDbStub ** materials() const
Definition: GiGeometry.h:550
OdDbStub ** layerIds() const
Definition: GiGeometry.h:495
void setVisibility(const OdUInt8 *visibilities)
Definition: GiGeometry.h:387
OdArray< OdGiMapper, OdMemoryAllocator< OdGiMapper > > OdGiMapperArray
void setPointersArray(const OdGiFaceData *pFaceData=NULL)
OdUInt8Array & visibilityArray()
OdGsMarkerArray & selectionMarkersArray()
OdCmEntityColorArray & trueColorsArray()
OdCmEntityColorArray m_trueColors
OdGiMapperArray m_mappers
OdGiMapperArray & mappersArray()
OdCmTransparencyArray m_transparencies
void clearArrays(const OdGiFaceData *pFaceData=NULL)
OdDbStubPtrArray & materialsArray()
void deleteArrays(const OdGiFaceData *pFaceData=NULL)
OdDbStubPtrArray m_layers
OdDbStub ** resizeMaterialsArray(OdUInt32 nSize, bool bSetPtr=true)
OdDbStubPtrArray & layerIdsArray()
const OdDbStubPtrArray & layerIdsArray() const
OdCmTransparencyArray & transparencyArray()
const OdCmEntityColorArray & trueColorsArray() const
const OdCmTransparencyArray & transparencyArray() const
OdGeVector3d * resizeNormalsArray(OdUInt32 nSize, bool bSetPtr=true)
OdDbStub ** resizeLayerIdsArray(OdUInt32 nSize, bool bSetPtr=true)
OdUInt8Array m_visibilities
OdGeVector3dArray & normalsArray()
void copyFrom(const OdGiFaceData *pFaceData, OdUInt32 nFace)
OdGsMarkerArray m_markers
const OdDbStubPtrArray & materialsArray() const
OdUInt16 * resizeColorsArray(OdUInt32 nSize, bool bSetPtr=true)
const OdGiMapperArray & mappersArray() const
const OdUInt16Array & colorsArray() const
OdUInt16Array m_colors
OdGsMarker * resizeSelectionMarkersArray(OdUInt32 nSize, bool bSetPtr=true)
void reserveArrays(const OdGiFaceData *pFaceData, OdUInt32 nReserve)
OdCmTransparency * resizeTransparencyArray(OdUInt32 nSize, bool bSetPtr=true)
OdDbStubPtrArray m_materials
OdUInt16Array & colorsArray()
const OdGeVector3dArray & normalsArray() const
OdGeVector3dArray m_normals
const OdGsMarkerArray & selectionMarkersArray() const
OdUInt8 * resizeVisibilityArray(OdUInt32 nSize, bool bSetPtr=true)
void cloneData(const OdGiFaceData *pData)
OdGiMapper * resizeMappersArray(OdUInt32 nSize, bool bSetPtr=true)
const OdUInt8Array & visibilityArray() const
OdCmEntityColor * resizeTrueColorsArray(OdUInt32 nSize, bool bSetPtr=true)
void clearArrays(const OdGiFaceData *pFaceData=NULL, const OdGiEdgeData *pEdgeData=NULL, const OdGiVertexData *pVertexData=NULL)
OdGiFaceDataStorage & faceDataStorage()
void setPointersArray(const OdGiFaceData *pFaceData=NULL, const OdGiEdgeData *pEdgeData=NULL, const OdGiVertexData *pVertexData=NULL)
OdGePoint3dArray & vertexListArray()
void setFaceList(const OdInt32 *pFaceList)
OdGiVertexDataStorage m_vertexData
const OdInt32Array & faceListArray() const
void setVertexList(const OdGePoint3d *pVertexList)
OdGiEdgeDataStorage m_edgeData
const OdGiVertexData * vertexData() const
void deleteArrays(const OdGiFaceData *pFaceData=NULL, const OdGiEdgeData *pEdgeData=NULL, const OdGiVertexData *pVertexData=NULL)
OdGiEdgeDataStorage & edgeDataStorage()
void setEdgeData(const OdGiEdgeData *pEdgeData)
const OdGePoint3d * vertexList() const
OdInt32 * resizeFaceListArray(OdUInt32 nSize, bool bSetPtr=true)
void setFaceData(const OdGiFaceData *pFaceData)
void cloneEdgeData(const OdGiEdgeData *pEdgeData)
const OdGePoint3d * m_pVertexList
const OdGiFaceData * faceData() const
const OdGiEdgeData * edgeData() const
OdInt32Array & faceListArray()
const OdInt32 * m_pFaceList
void setVertexData(const OdGiVertexData *pVertexData)
const OdGiFaceData * m_pFaceData
OdGePoint3dArray m_vertexList
void cloneVertexData(const OdGiVertexData *pVertexData)
OdGiVertexDataStorage & vertexDataStorage()
const OdGiEdgeDataStorage & edgeDataStorage() const
const OdGiEdgeData * m_pEdgeData
const OdGiVertexData * m_pVertexData
const OdGiFaceDataStorage & faceDataStorage() const
OdGiFaceDataStorage m_faceData
const OdInt32 * faceList() const
const OdGiVertexDataStorage & vertexDataStorage() const
OdGePoint3d * resizeVertexListArray(OdUInt32 nSize, bool bSetPtr=true)
const OdGePoint3dArray & vertexListArray() const
void cloneFaceData(const OdGiFaceData *pFaceData)
void setMappingCoords(MapChannel channel, const OdGePoint3d *coords)
Definition: GiGeometry.h:711
const OdGePoint3d * mappingCoords(MapChannel channel) const
Definition: GiGeometry.h:767
const OdCmEntityColor * trueColors() const
Definition: GiGeometry.h:752
void setNormals(const OdGeVector3d *normals)
Definition: GiGeometry.h:664
const OdGeVector3d * normals() const
Definition: GiGeometry.h:724
void setTrueColors(const OdCmEntityColor *colors)
Definition: GiGeometry.h:697
OdGePoint3d * resizeMappingCoordsArray(MapChannel channel, OdUInt32 nSize, bool bSetPtr=true)
void setMappingCoordsArray(MapChannel channel)
OdGePoint3dArray m_texCoords
void setPointersArray(const OdGiVertexData *pVertexData=NULL)
OdGePoint3dArray & mappingCoordsArray(MapChannel)
OdGeVector3d * resizeNormalsArray(OdUInt32 nSize, bool bSetPtr=true)
void clearArrays(const OdGiVertexData *pVertexData=NULL)
OdCmEntityColorArray m_trueColors
const OdCmEntityColorArray & trueColorsArray() const
const OdGeVector3dArray & normalsArray() const
const OdGePoint3dArray & mappingCoordsArray(MapChannel) const
OdCmEntityColorArray & trueColorsArray()
void reserveArrays(const OdGiVertexData *pVertexData, OdUInt32 nReserve)
void deleteArrays(const OdGiVertexData *pVertexData=NULL)
OdCmEntityColor * resizeTrueColorsArray(OdUInt32 nSize, bool bSetPtr=true)
OdGeVector3dArray m_normals
void copyFrom(const OdGiVertexData *pVertexData, OdUInt32 nVertex)
void cloneData(const OdGiVertexData *pData)
OdGeVector3dArray & normalsArray()