CFx SDK Documentation  2023 SP0
AveMapping.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 
25 
26 #ifndef OD_AVEMAPPING_H
27 #define OD_AVEMAPPING_H
28 
29 #include "TD_PackPush.h"
30 
31 #include "Ve/AveDefs.h"
32 #include "Ge/GePoint3d.h"
33 #include "Ge/GeMatrix3d.h"
34 
41 {
42 public:
50  bool getMapping(const OdDbObjectId& objectId);
56  void setMapping(const OdDbObjectId& objectId);
57 
62  static void clearMapping(const OdDbObjectId& objectId);
63 
64  OdAve::SetuvType m_MappingType; // Description: kSetuvPlanar=1, kSetuvCylindrical=2, kSetuvSpherical=3, kSetuvSolid=6
65  OdGePoint3d m_Pt1; // Description: Lower-left corner of mapping plane.
66  OdGePoint3d m_Pt2; // Description: Lower-right corner of mapping plane.
67  OdGePoint3d m_Pt3; // Description: Upper left corner of mapping plane.
68  OdGePoint3d m_Pt4; // Description: Upper-right corner of mapping plane.
69  OdAve::TileMethod m_Tile; // Description: kTmDefault=0, kTmTile=1, kTmClamp=2
70  OdGePoint3d m_Scale; // Description: Mapping scale.
71  OdGePoint3d m_Offset; // Description: Mapping offset.
72  OdGeMatrix3d m_Transform; // Description: Transformation matrix from UCS to mapping plane.
73 };
74 
75 #include "TD_PackPop.h"
76 
77 #endif // OD_AVEMAPPING_H
#define AVE_EXPORT
Definition: AveExport.h:37
OdGePoint3d m_Pt1
Definition: AveMapping.h:65
static void clearMapping(const OdDbObjectId &objectId)
OdAve::TileMethod m_Tile
Definition: AveMapping.h:69
OdGePoint3d m_Pt2
Definition: AveMapping.h:66
bool getMapping(const OdDbObjectId &objectId)
OdGePoint3d m_Pt3
Definition: AveMapping.h:67
OdGePoint3d m_Scale
Definition: AveMapping.h:70
OdGePoint3d m_Offset
Definition: AveMapping.h:71
void setMapping(const OdDbObjectId &objectId)
OdGeMatrix3d m_Transform
Definition: AveMapping.h:72
OdGePoint3d m_Pt4
Definition: AveMapping.h:68
OdAve::SetuvType m_MappingType
Definition: AveMapping.h:64
TileMethod
Definition: AveDefs.h:125
SetuvType
Definition: AveDefs.h:133