1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- //
- //////////////////////////////////////////////////////////////////////////////
- //
- // Copyright 2015 Autodesk, Inc. All rights reserved.
- //
- // Use of this software is subject to the terms of the Autodesk license
- // agreement provided at the time of installation or download, or which
- // otherwise accompanies this software in either electronic or hard copy form.
- //
- //////////////////////////////////////////////////////////////////////////////
- //
- // DESCRIPTION: Definition of Selection-related AcEd constructs, which
- // currently consists solely of the AcEdSolidSubentitySelector.
- //
- #ifndef _ACEDSEL_H
- #define _ACEDSEL_H
- #include "AcArray.h"
- #include "dbid.h"
- #include "dbsubeid.h"
- #include "acgitransient.h"
- #pragma pack (push, 8)
- class AcEdSelectedTransientImp;
- class AcGsDCRect;
- class AcEdSolidSubentitySelector
- {
- public:
- AcEdSolidSubentitySelector();
- ~AcEdSolidSubentitySelector();
- Acad::ErrorStatus selectFaces(AcDbObjectId& selectedSolidId,
- AcArray<AcDbSubentId *>& faceSet);
- };
- class AcEdSelectedTransient
- {
- public:
- AcEdSelectedTransient();
- AcEdSelectedTransient(const AcEdSelectedTransient& source);
- AcEdSelectedTransient& operator=(const AcEdSelectedTransient& source);
- ~AcEdSelectedTransient();
- AcGiDrawable* parent();
- AcGiDrawable* drawable();
- Adesk::GsMarker marker();
- AcGiTransientDrawingMode mode();
- int subDrawingMode();
- protected:
- AcEdSelectedTransientImp* mImp;
- friend class AcEdTransientSelectionInternals;
- };
- //This function returns all transients that draw any geometry inside the pickbox.
- Acad::ErrorStatus acedSelectTransients(const AcGsDCRect& rect,
- int viewportNumber,
- AcArray<AcEdSelectedTransient>& result);
- #pragma pack (pop)
- #endif // _ACEDSEL_H
|