FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
AcDbPersSubentManager.h
Go to the documentation of this file.
1#pragma once
2
3//
4// (C) Copyright 2005-2024 by Graebert GmbH.
5//
6// Permission to use, copy, modify, and distribute this software in
7// object code form for any purpose and without fee is hereby granted,
8// provided that the above copyright notice appears in all copies and
9// that both that copyright notice and the limited warranty and
10// restricted rights notice below appear in all supporting
11// documentation.
12//
13// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
14// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
15// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
16// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
17// UNINTERRUPTED OR ERROR FREE.
18
19#include "..\acad\Acad.h"
20
21template < typename Param1 > class AcArrayMemCopyReallocator;
22class AcDbAuditInfo;
23class AcDbObjectId;
24class AcRxClass;
25class BODY;
26class EDGE;
27class ENTITY;
28class FACE;
29
31{
32public:
33 enum Status
34 {
35 };
36public:
37
39{
40public:
42 {
43 };
44public:
46 virtual ~AcCloner(void);
47 virtual unsigned int clonePersSubent(unsigned int, AcDbObjectId);
48 virtual unsigned int cloneStep(unsigned int, AcDbObjectId);
49 virtual void performCloning(void);
52
53};
54
55public:
57 ARX_API_STATIC static unsigned int const kNullId;
58
59public:
61 Acad::ErrorStatus auditBody( BODY const *, AcDbAuditInfo *);
62 Acad::ErrorStatus auditPersSubent(unsigned int, AcDbAuditInfo *);
63 Acad::ErrorStatus auditStep(unsigned int, AcDbAuditInfo *);
64
65
66
68 virtual bool doesBodyHavePersSubentNamingData( BODY const *)const ;
69
70 virtual Status status(void)const ;
71 virtual unsigned int createNewPersSubent( BODY const *, ENTITY const *);
72 virtual unsigned int createNewStep(void);
73 virtual void convertToPrimitive( BODY *,unsigned int);
74 virtual void deletePersSubent(unsigned int);
75 virtual void deleteStep(unsigned int);
76 virtual void findEntitiesInOtherBody( ENTITY const *, BODY const *, AcArray< ENTITY *, AcArrayMemCopyReallocator< ENTITY *> > &)const ;
77 virtual void findEntitiesWithStepId( BODY const *,unsigned int,bool, AcArray< ENTITY *, AcArrayMemCopyReallocator< ENTITY *> > &)const ;
78 virtual void getEntitiesFromPersSubentId(unsigned int, BODY const *, AcArray< ENTITY *, AcArrayMemCopyReallocator< ENTITY *> > &);
79 virtual void getProfileEdgesFromProfileBody( BODY const *, AcArray< EDGE *, AcArrayMemCopyReallocator< EDGE *> > &, AcArray<bool, AcArrayMemCopyReallocator<bool> > &);
80 virtual void getStepIdsFromEntity( ENTITY const *,bool, AcArray<unsigned int, AcArrayMemCopyReallocator<unsigned int> > &)const ;
81 virtual void mirror( AcArray<unsigned int, AcArrayMemCopyReallocator<unsigned int> > const &);
82 virtual void reevaluateBlend(unsigned int, BODY *, BODY *);
83 virtual void reevaluateExtrude(unsigned int, BODY *, FACE * * const, AcArray< EDGE *, AcArrayMemCopyReallocator< EDGE *> > const &, AcArray<unsigned int, AcArrayMemCopyReallocator<unsigned int> > const &);
84 virtual void reevaluateLoft(unsigned int, BODY *,bool,bool, FACE * * const, AcArray< AcArray< EDGE *, AcArrayMemCopyReallocator< EDGE *> >, AcArrayMemCopyReallocator< AcArray< EDGE *, AcArrayMemCopyReallocator< EDGE *> > > > const &, AcArray< AcArray<bool, AcArrayMemCopyReallocator<bool> >, AcArrayMemCopyReallocator< AcArray<bool, AcArrayMemCopyReallocator<bool> > > > const &, AcArray< AcArray<unsigned int, AcArrayMemCopyReallocator<unsigned int> >, AcArrayMemCopyReallocator< AcArray<unsigned int, AcArrayMemCopyReallocator<unsigned int> > > > const &);
85 virtual void reevaluatePrimitive(unsigned int, BODY *);
86 virtual void reevaluateRevolve(unsigned int, BODY *,bool, FACE * * const, AcArray< EDGE *, AcArrayMemCopyReallocator< EDGE *> > const &, AcArray<unsigned int, AcArrayMemCopyReallocator<unsigned int> > const &);
87 virtual void reevaluateSweep(unsigned int, BODY *,bool, FACE * * const, AcArray< EDGE *, AcArrayMemCopyReallocator< EDGE *> > const &, AcArray<bool, AcArrayMemCopyReallocator<bool> > const &, AcArray<unsigned int, AcArrayMemCopyReallocator<unsigned int> > const &, AcArray< AcArray<unsigned int, AcArrayMemCopyReallocator<unsigned int> >, AcArrayMemCopyReallocator< AcArray<unsigned int, AcArrayMemCopyReallocator<unsigned int> > > > const &);
88 virtual void reevaluateTweak(unsigned int, BODY *);
89 virtual void removePersSubentNamingDataFromBody( BODY *)const ;
90 virtual void setStatus( Status);
91
92};
#define ARX_API_STATIC
Definition FxARXAPI.h:25
Acad::ErrorStatus ErrorStatus
Definition acdbabb.h:21
#define ACRX_DECLARE_MEMBERS(classname)
Definition addmacro.h:756
AcCloner(AcDbPersSubentManager const *, AcDbPersSubentManager *)
virtual void remapStepIdsInClonedBody(BODY *)
virtual unsigned int cloneStep(unsigned int, AcDbObjectId)
virtual void performCloning(void)
virtual unsigned int clonePersSubent(unsigned int, AcDbObjectId)
virtual void setNotClonedIdHandling(NotClonedIdHandling, bool)