/////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2002-2025, Open Design Alliance (the "Alliance"). // All rights reserved. // // This software and its documentation and related materials are owned by // the Alliance. The software may only be incorporated into application // programs owned by members of the Alliance, subject to a signed // Membership Agreement and Supplemental Software License Agreement with the // Alliance. The structure and organization of this software are the valuable // trade secrets of the Alliance and its suppliers. The software is also // protected by copyright law and international treaty provisions. Application // programs incorporating this software must include the following statement // with their copyright notices: // // This application incorporates Open Design Alliance software pursuant to a license // agreement with Open Design Alliance. // Open Design Alliance Copyright (C) 2002-2025 by Open Design Alliance. // All rights reserved. // // By use of this software, its documentation or related materials, you // acknowledge and accept the above terms. /////////////////////////////////////////////////////////////////////////////// #ifndef __DGTERRAINPROPS__H__ #define __DGTERRAINPROPS__H__ #include "DgProperties.h" // Class OdDgTerrainOptions properties. // Category "Terrain options": /* 1 - Type */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTerrainOptions, Type, OdDgTerrainOptions::OdDgTerrainOptionsType, "Terrain options", 1, "Type of terrain options."); /* 2 - LevelEntryId */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptions, LevelEntryId, OdUInt32, "Terrain options", 2, "Level entry id of terrain options.", ""); /* 3 - ColorIndex */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptions, ColorIndex, OdUInt32, "Terrain options", 3, "Color index of terrain options.", ""); /* 4 - LineStyleEntryId */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptions, LineStyleEntryId, OdUInt32, "Terrain options", 4, "Line style entry id of terrain options.", ""); /* 5 - LineWeight */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptions, LineWeight, OdUInt32, "Terrain options", 5, "Line weight of terrain options.", ""); /* 6 - Transparency */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptions, Transparency, double, "Terrain options", 6, "Transparency of terrain options.", ""); /* 7 - OnFlag */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptions, OnFlag, bool, "Terrain options", 7, "On flag of terrain options.", ""); // Class OdDgTerrainOptionsTriangles properties. // Category "Terrain options": /* 8 - MaterialId */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsTriangles, MaterialId, OdUInt64, "Terrain options", 8, "Material id of terrain options.", ""); /* 9 - DisplayStyleEntryId */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsTriangles, DisplayStyleEntryId, OdUInt32, "Terrain options", 9, "Display style entry id of terrain options.", ""); // Class OdDgTerrainOptionsTriangleVertices properties. // Category "Terrain options": /* 8 - DisplayTextFlag */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsTriangleVertices, DisplayTextFlag, bool, "Terrain options", 8, "Display text flag of terrain options.", ""); /* 9 - CellScale */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsTriangleVertices, CellScale, OdGeScale3d, "Terrain options", 9, "Cell scale of terrain options.", ""); /* 10 - PointDisplayType */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsTriangleVertices, PointDisplayType, OdDgTerrainOptions::OdDgTerrainPointDisplayType, "Terrain options", 10, "Point display type of terrain options.", ""); /* 11 - CharSymbol */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsTriangleVertices, CharSymbol, OdUInt16, "Terrain options", 11, "Char symbol of terrain options.", ""); /* 12 - TextStyleEntryId */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsTriangleVertices, TextStyleEntryId, OdUInt32, "Terrain options", 12, "Text style entry id of terrain options.", ""); /* 13 - CellName */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsTriangleVertices, CellName, OdString, "Terrain options", 13, "Cell name of terrain options.", ""); /* 14 - Prefix */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsTriangleVertices, Prefix, OdString, "Terrain options", 14, "Prefix of terrain options.", ""); /* 15 - Suffix */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsTriangleVertices, Suffix, OdString, "Terrain options", 15, "Suffix of terrain options.", ""); // Class OdDgTerrainOptionsLowPoints properties. // Category "Terrain options": /* 8 - DisplayTextFlag */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsLowPoints, DisplayTextFlag, bool, "Terrain options", 8, "Display text flag of terrain options.", ""); /* 9 - CellScale */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsLowPoints, CellScale, OdGeScale3d, "Terrain options", 9, "Cell scale of terrain options.", ""); /* 10 - PointDisplayType */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsLowPoints, PointDisplayType, OdDgTerrainOptions::OdDgTerrainPointDisplayType, "Terrain options", 10, "Point display type of terrain options.", ""); /* 11 - CharSymbol */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsLowPoints, CharSymbol, OdUInt16, "Terrain options", 11, "Char symbol of terrain options.", ""); /* 12 - TextStyleEntryId */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsLowPoints, TextStyleEntryId, OdUInt32, "Terrain options", 12, "Text style entry id of terrain options.", ""); /* 13 - CellName */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsLowPoints, CellName, OdString, "Terrain options", 13, "Cell name of terrain options.", ""); /* 14 - Prefix */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsLowPoints, Prefix, OdString, "Terrain options", 14, "Prefix of terrain options.", ""); /* 15 - Suffix */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsLowPoints, Suffix, OdString, "Terrain options", 15, "Suffix of terrain options.", ""); /* 16 - MinValue */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsLowPoints, MinValue, double, "Terrain options", 16, "Min value of terrain options.", ""); // Class OdDgTerrainOptionsHighPoints properties. // Category "Terrain options": /* 8 - DisplayTextFlag */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsHighPoints, DisplayTextFlag, bool, "Terrain options", 8, "Display text flag of terrain options.", ""); /* 9 - CellScale */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsHighPoints, CellScale, OdGeScale3d, "Terrain options", 9, "Cell scale of terrain options.", ""); /* 10 - PointDisplayType */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsHighPoints, PointDisplayType, OdDgTerrainOptions::OdDgTerrainPointDisplayType, "Terrain options", 10, "Point display type of terrain options.", ""); /* 11 - CharSymbol */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsHighPoints, CharSymbol, OdUInt16, "Terrain options", 11, "Char symbol of terrain options.", ""); /* 12 - TextStyleEntryId */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsHighPoints, TextStyleEntryId, OdUInt32, "Terrain options", 12, "Text style entry id of terrain options.", ""); /* 13 - CellName */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsHighPoints, CellName, OdString, "Terrain options", 13, "Cell name of terrain options.", ""); /* 14 - Prefix */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsHighPoints, Prefix, OdString, "Terrain options", 14, "Prefix of terrain options.", ""); /* 15 - Suffix */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsHighPoints, Suffix, OdString, "Terrain options", 15, "Suffix of terrain options.", ""); // Class OdDgTerrainOptionsFlowArrows properties. // Category "Terrain options": /* 8 - CellScale */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsFlowArrows, CellScale, OdGeScale3d, "Terrain options", 8, "Cell scale of terrain options.", ""); /* 9 - PointDisplayType */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsFlowArrows, PointDisplayType, OdDgTerrainOptions::OdDgTerrainPointDisplayType, "Terrain options", 9, "Point display type of terrain options.", ""); /* 10 - CharSymbol */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsFlowArrows, CharSymbol, OdUInt16, "Terrain options", 10, "Char symbol of terrain options.", ""); /* 11 - CellName */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsFlowArrows, CellName, OdString, "Terrain options", 11, "Cell name of terrain options.", ""); // Class OdDgTerrainOptionsMinorContour properties. // Category "Terrain options": /* 8 - Interval */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsMinorContour, Interval, double, "Terrain options", 8, "Interval of terrain options.", ""); /* 9 - SmoothingType */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsMinorContour, SmoothingType, OdDgTerrainOptions::OdDgTerrainContourSmoothingType, "Terrain options", 9, "Smoothing type of terrain options.", ""); /* 10 - SmoothingFactor */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsMinorContour, SmoothingFactor, OdUInt32, "Terrain options", 10, "Smoothing factor of terrain options.", ""); /* 11 - DisplayTextFlag */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsMinorContour, DisplayTextFlag, bool, "Terrain options", 11, "Display text flag of terrain options.", ""); /* 12 - TextInterval */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsMinorContour, TextInterval, double, "Terrain options", 12, "Text interval of terrain options.", ""); /* 13 - UORPerWorkingUnitsScale */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsMinorContour, UORPerWorkingUnitsScale, double, "Terrain options", 13, "UOR per working units scale of terrain options.", ""); /* 14 - TextStyleEntryId */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsMinorContour, TextStyleEntryId, OdUInt32, "Terrain options", 14, "Text style entry id of terrain options.", ""); /* 15 - IgnoreMaxSlopesFlag */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsMinorContour, IgnoreMaxSlopesFlag, bool, "Terrain options", 15, "Ignore max slopes flag of terrain options.", ""); /* 16 - MaxSlopeValue */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsMinorContour, MaxSlopeValue, double, "Terrain options", 16, "Max slope value of terrain options.", ""); /* 17 - ContourLabelPrecision */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsMinorContour, ContourLabelPrecision, OdUInt32, "Terrain options", 17, "Contour label precision of terrain options.", ""); /* 18 - DepressionColorIndex */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsMinorContour, DepressionColorIndex, OdUInt32, "Terrain options", 18, "Depression color index of terrain options.", ""); /* 19 - DepressionLineStyleEntryId */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsMinorContour, DepressionLineStyleEntryId, OdUInt32, "Terrain options", 19, "Depression line style entry id of terrain options.", ""); /* 20 - DepressionLineWeight */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsMinorContour, DepressionLineWeight, OdUInt32, "Terrain options", 20, "Depression line weight of terrain options.", ""); // Class OdDgTerrainOptionsMajorContour properties. // Category "Terrain options": /* 8 - Interval */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsMajorContour, Interval, double, "Terrain options", 8, "Interval of terrain options.", ""); /* 9 - SmoothingType */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsMajorContour, SmoothingType, OdDgTerrainOptions::OdDgTerrainContourSmoothingType, "Terrain options", 9, "Smoothing type of terrain options.", ""); /* 10 - SmoothingFactor */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsMajorContour, SmoothingFactor, OdUInt32, "Terrain options", 10, "Smoothing factor of terrain options.", ""); /* 11 - DisplayTextFlag */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsMajorContour, DisplayTextFlag, bool, "Terrain options", 11, "Display text flag of terrain options.", ""); /* 12 - TextInterval */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsMajorContour, TextInterval, double, "Terrain options", 12, "Text interval of terrain options.", ""); /* 13 - UORPerWorkingUnitsScale */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsMajorContour, UORPerWorkingUnitsScale, double, "Terrain options", 13, "UOR per working units scale of terrain options.", ""); /* 14 - TextStyleEntryId */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsMajorContour, TextStyleEntryId, OdUInt32, "Terrain options", 14, "Text style entry id of terrain options.", ""); /* 15 - IgnoreMaxSlopesFlag */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsMajorContour, IgnoreMaxSlopesFlag, bool, "Terrain options", 15, "Ignore max slopes flag of terrain options.", ""); /* 16 - MaxSlopeValue */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsMajorContour, MaxSlopeValue, double, "Terrain options", 16, "Max slope value of terrain options.", ""); /* 17 - ContourLabelPrecision */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsMajorContour, ContourLabelPrecision, OdUInt32, "Terrain options", 17, "Contour label precision of terrain options.", ""); /* 18 - DepressionColorIndex */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsMajorContour, DepressionColorIndex, OdUInt32, "Terrain options", 18, "Depression color index of terrain options.", ""); /* 19 - DepressionLineStyleEntryId */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsMajorContour, DepressionLineStyleEntryId, OdUInt32, "Terrain options", 19, "Depression line style entry id of terrain options.", ""); /* 20 - DepressionLineWeight */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsMajorContour, DepressionLineWeight, OdUInt32, "Terrain options", 20, "Depression line weight of terrain options.", ""); // Class OdDgTerrainOptionsSourceVertices properties. // Category "Terrain options": /* 8 - DisplayTextFlag */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsSourceVertices, DisplayTextFlag, bool, "Terrain options", 8, "Display text flag of terrain options.", ""); /* 9 - CellScale */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsSourceVertices, CellScale, OdGeScale3d, "Terrain options", 9, "Cell scale of terrain options.", ""); /* 10 - PointDisplayType */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsSourceVertices, PointDisplayType, OdDgTerrainOptions::OdDgTerrainPointDisplayType, "Terrain options", 10, "Point display type of terrain options.", ""); /* 11 - CharSymbol */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsSourceVertices, CharSymbol, OdUInt16, "Terrain options", 11, "Char symbol of terrain options.", ""); /* 12 - TextStyleEntryId */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsSourceVertices, TextStyleEntryId, OdUInt32, "Terrain options", 12, "Text style entry id of terrain options.", ""); /* 13 - CellName */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsSourceVertices, CellName, OdString, "Terrain options", 13, "Cell name of terrain options.", ""); /* 14 - Prefix */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsSourceVertices, Prefix, OdString, "Terrain options", 14, "Prefix of terrain options.", ""); /* 15 - Suffix */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainOptionsSourceVertices, Suffix, OdString, "Terrain options", 15, "Suffix of terrain options.", ""); // Class OdDgTerrain properties. // Category "Terrain element": /* 1 - Options */ ODRX_DECLARE_RX_PROPERTY_INDEXED(OdDgTerrain, Options, OdRxObjectPtr, "Terrain element", 1, "Options of terrain element.", "OdDgTerrainOptionsTriangles;OdDgTerrainOptionsTriangleVertices;OdDgTerrainOptionsLowPoints;OdDgTerrainOptionsHighPoints;OdDgTerrainOptionsFlowArrows;OdDgTerrainOptionsMinorContour;OdDgTerrainOptionsMajorContour;OdDgTerrainOptionsSourceVertices;OdDgTerrainOptionsSourceBreakLine;OdDgTerrainOptionsSourceHole;OdDgTerrainOptionsSourceIsland;OdDgTerrainOptionsSourceVoid;OdDgTerrainOptionsSourceBoundary;OdDgTerrainOptionsSourceContour"); /* 2 - TerrainControlElementId */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrain, TerrainControlElementId, OdDgElementId, "Terrain element", 2, "Terrain control element id of terrain element.", ""); /* 3 - Transformation */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrain, Transformation, OdGeMatrix3d, "Terrain element", 3, "Transformation of terrain element.", ""); // Class OdDgTerrainControlElement properties. // Category "Terrain control element": /* 1 - Name */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainControlElement, Name, OdString, "Terrain control element", 1, "Name of terrain control element.", ""); /* 2 - Transformation */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainControlElement, Transformation, OdGeMatrix3d, "Terrain control element", 2, "Transformation of terrain control element.", ""); /* 3 - Boundary */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTerrainControlElement, Boundary, OdUInt32Array, "Terrain control element", 3, "Boundary point indexes of terrain control element."); /* 4 - TerrainElementId */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgTerrainControlElement, TerrainElementId, OdDgElementId, "Terrain control element", 4, "Terrain graphics element that associated with terrain control element."); /* 5 - TerrainVertices */ ODRX_DECLARE_RX_PROPERTY_INDEXED(OdDgTerrainControlElement, TerrainVertices, OdGePoint3d, "Terrain control element", 5, "Vertices of terrain control element.", ""); /* 6 - TerrainNormals */ ODRX_DECLARE_RX_PROPERTY_COLLECTION(OdDgTerrainControlElement, TerrainNormals, OdGeVector3d, "Terrain control element", 6, "Normals of terrain control element."); /* 7 - TerrainHighPoints */ ODRX_DECLARE_RX_PROPERTY_COLLECTION(OdDgTerrainControlElement, TerrainHighPoints, OdGePoint3d, "Terrain control element", 7, "High points of terrain control element."); /* 8 - FeatureSourceVertices */ ODRX_DECLARE_RX_PROPERTY_COLLECTION(OdDgTerrainControlElement, FeatureSourceVertices, OdGePoint3d, "Terrain control element", 8, "Feature source vertices of terrain control element."); /* 9 - Features */ ODRX_DECLARE_RX_PROPERTY_INDEXED(OdDgTerrainControlElement, Features, OdDgTerrainFeature, "Terrain control element", 9, "Features of terrain control element.", ""); /* 10 - Triangles */ ODRX_DECLARE_RX_PROPERTY_INDEXED(OdDgTerrainControlElement, Triangles, OdDgTerrainFeature, "Terrain control element", 10, "Triangles of terrain control element.", ""); /* 11 - EdgeMethod */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainControlElement, EdgeMethod, OdDgTerrainControlElement::OdDgTerrainEdgeMethod, "Terrain control element", 11, "Edge method of terrain control element.", ""); /* 12 - MaxTriangleLength */ ODRX_DECLARE_RX_PROPERTY(OdDgTerrainControlElement, MaxTriangleLength, double, "Terrain control element", 12, "Max triangle length of terrain control element.", ""); #endif // __DGTERRAINPROPS__H__