/////////////////////////////////////////////////////////////////////////////// // 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 __DGMESHPROPS__H__ #define __DGMESHPROPS__H__ #include "DgProperties.h" #include "DgMesh.h" // Class OdDgMesh properties. // Category "Mesh": /* 1 - Style */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgMesh, Style, OdDgMesh::StyleValues, "Mesh", 1, "Style"); // Class OdDgMeshFaceLoops properties. // Category "Mesh Face Loops": /* 1 - UseColorTableIndexesFlag */ ODRX_DECLARE_RX_PROPERTY(OdDgMeshFaceLoops, UseColorTableIndexesFlag, bool, "Mesh Face Loops", 1, "Use color table indexes flag", ""); /* 2 - UseDoubleColorsFlag */ ODRX_DECLARE_RX_PROPERTY(OdDgMeshFaceLoops, UseDoubleColorsFlag, bool, "Mesh Face Loops", 2, "Use double colors flag", ""); /* 3 - UseNormalsFlag */ ODRX_DECLARE_RX_PROPERTY(OdDgMeshFaceLoops, UseNormalsFlag, bool, "Mesh Face Loops", 3, "Use normals flag", ""); /* 4 - UseTextureCoordinatesFlag */ ODRX_DECLARE_RX_PROPERTY(OdDgMeshFaceLoops, UseTextureCoordinatesFlag, bool, "Mesh Face Loops", 4, "Use texture coordinates flag", ""); /* 5 - Points */ ODRX_DECLARE_RX_PROPERTY_INDEXED(OdDgMeshFaceLoops, Points, OdGePoint3d, "Mesh Face Loops", 5, "Points", ""); /* 6 - FacesPoints */ ODRX_DECLARE_RX_PROPERTY_INDEXED(OdDgMeshFaceLoops, FacesPoints, OdDgMeshFaceLoops::FacePoint, "Mesh Face Loops", 6, "FacesPoints", ""); // Class OdDgMeshPointCloud properties. // Category "Mesh Point Cloud": /* 1 - Points */ ODRX_DECLARE_RX_PROPERTY_INDEXED(OdDgMeshPointCloud, Points, OdGePoint3d, "Mesh Point Cloud", 1, "Points", ""); // Class OdDgMeshQuadGrid properties. // Category "Mesh Quad Grid": /* 1 - Rows */ ODRX_DECLARE_RX_PROPERTY(OdDgMeshQuadGrid, Rows, OdUInt32, "Mesh Quad Grid", 1, "Rows", ""); /* 2 - Columns */ ODRX_DECLARE_RX_PROPERTY(OdDgMeshQuadGrid, Columns, OdUInt32, "Mesh Quad Grid", 2, "Columns", ""); /* 3 - Points */ ODRX_DECLARE_RX_PROPERTY_INDEXED(OdDgMeshQuadGrid, Points, OdGePoint3d, "Mesh Quad Grid", 3, "Points", ""); // Class OdDgMeshQuadList properties. // Category "Mesh Quad List": /* 1 - QuadsPoints */ ODRX_DECLARE_RX_PROPERTY_INDEXED(OdDgMeshQuadList, QuadsPoints, OdGePoint3d, "Mesh Quad List", 1, "Quads points", ""); // Class OdDgMeshTriangleGrid properties. // Category "Mesh Triangle Grid": /* 1 - Rows */ ODRX_DECLARE_RX_PROPERTY(OdDgMeshTriangleGrid, Rows, OdUInt32, "Mesh Triangle Grid", 1, "Rows", ""); /* 2 - Columns */ ODRX_DECLARE_RX_PROPERTY(OdDgMeshTriangleGrid, Columns, OdUInt32, "Mesh Triangle Grid", 2, "Columns", ""); /* 3 - Points */ ODRX_DECLARE_RX_PROPERTY_INDEXED(OdDgMeshTriangleGrid, Points, OdGePoint3d, "Mesh Triangle Grid", 3, "Points", ""); // Class OdDgMeshTriangleList properties. // Category "Mesh Triangle List": /* 1 - TrianglesPoints */ ODRX_DECLARE_RX_PROPERTY_INDEXED(OdDgMeshTriangleList, TrianglesPoints, OdGePoint3d, "Mesh Triangle List", 1, "Triangles points", ""); #endif // __DGMESHPROPS__H__