CFx SDK Documentation  2023 SP0
DbGripPoints.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 _ODDBGPIPPOINTS_INCLUDED_
27 #define _ODDBGPIPPOINTS_INCLUDED_
28 
29 #include "RxObject.h"
30 #include "RxModule.h"
31 #include "IntArray.h"
32 #include "DbEntity.h"
33 #include "Gi/GiDrawable.h"
34 
35 
44 {
45 public:
47 
62  const OdDbEntity* pEntity,
63  OdGePoint3dArray& gripPoints ) const;
64 
81  OdDbEntity* pEntity,
82  const OdIntArray& indices,
83  const OdGeVector3d& offset );
84 
97  const OdDbEntity* pEntity,
98  OdDbGripDataPtrArray& grips,
99  const double curViewUnitSize,
100  const int gripSize,
101  const OdGeVector3d& curViewDir,
102  const int bitFlags ) const;
103 
115  OdDbEntity* pEntity,
116  const OdDbVoidPtrArray& grips,
117  const OdGeVector3d& offset,
118  int bitFlags );
119 
133  const OdDbEntity* pEntity,
134  OdGePoint3dArray& stretchPoints ) const;
150  OdDbEntity* pEntity,
151  const OdIntArray& indices,
152  const OdGeVector3d& offset );
153 
191  const OdDbEntity* pEntity,
192  OdDb::OsnapMode osnapMode,
193  OdGsMarker gsSelectionMark,
194  const OdGePoint3d& pickPoint,
195  const OdGePoint3d& lastPoint,
196  const OdGeMatrix3d& xWorldToEye,
197  OdGePoint3dArray& snapPoints ) const;
198 
237  const OdDbEntity* pEntity,
238  OdDb::OsnapMode osnapMode,
239  OdGsMarker gsSelectionMark,
240  const OdGePoint3d& pickPoint,
241  const OdGePoint3d& lastPoint,
242  const OdGeMatrix3d& xWorldToEye,
243  OdGePoint3dArray& snapPoints,
244  const OdGeMatrix3d& insert) const;
245 
259  const OdDbFullSubentPath& path, OdDbGripDataPtrArray& grips,
260  const double curViewUnitSize, const int gripSize,
261  const OdGeVector3d& curViewDir, const OdUInt32 bitflags) const;
262 
274  const OdDbFullSubentPathArray& paths, const OdDbVoidPtrArray& gripAppData,
275  const OdGeVector3d& offset, const OdUInt32 bitflags);
276 };
277 
282 
283 #endif //_ODDBGPIPPOINTS_INCLUDED_
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdSmartPtr< OdDbGripPointsPE > OdDbGripPointsPEPtr
Definition: DbGripPoints.h:281
ptrdiff_t OdGsMarker
unsigned int OdUInt32
OdResult
Definition: OdResult.h:29
virtual OdResult getGripPointsAtSubentPath(const OdDbEntity *pEntity, const OdDbFullSubentPath &path, OdDbGripDataPtrArray &grips, const double curViewUnitSize, const int gripSize, const OdGeVector3d &curViewDir, const OdUInt32 bitflags) const
virtual OdResult getGripPoints(const OdDbEntity *pEntity, OdGePoint3dArray &gripPoints) const
virtual OdResult moveGripPointsAtSubentPaths(OdDbEntity *pEntity, const OdDbFullSubentPathArray &paths, const OdDbVoidPtrArray &gripAppData, const OdGeVector3d &offset, const OdUInt32 bitflags)
virtual OdResult getGripPoints(const OdDbEntity *pEntity, OdDbGripDataPtrArray &grips, const double curViewUnitSize, const int gripSize, const OdGeVector3d &curViewDir, const int bitFlags) const
ODRX_DECLARE_MEMBERS(OdDbGripPointsPE)
virtual OdResult moveGripPointsAt(OdDbEntity *pEntity, const OdIntArray &indices, const OdGeVector3d &offset)
virtual OdResult moveStretchPointsAt(OdDbEntity *pEntity, const OdIntArray &indices, const OdGeVector3d &offset)
virtual OdResult getStretchPoints(const OdDbEntity *pEntity, OdGePoint3dArray &stretchPoints) const
virtual OdResult getOsnapPoints(const OdDbEntity *pEntity, OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &xWorldToEye, OdGePoint3dArray &snapPoints, const OdGeMatrix3d &insert) const
virtual OdResult getOsnapPoints(const OdDbEntity *pEntity, OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &xWorldToEye, OdGePoint3dArray &snapPoints) const
virtual OdResult moveGripPointsAt(OdDbEntity *pEntity, const OdDbVoidPtrArray &grips, const OdGeVector3d &offset, int bitFlags)
GLintptr offset
Definition: gles2_ext.h:183
OsnapMode
Definition: OdaDefs.h:480