CFx SDK Documentation  2023 SP0
AECGeCustomGrid.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 #ifndef __AECGECUSTOMGRID_H__
25 #define __AECGECUSTOMGRID_H__
26 
30 
36 class AECBASE_API AECGeCustomGrid : public AECGeGridAssemblyDef
37 {
39 
40  public:
45 
50 
55 
60 
65 
70 
75 
80 
86 
93 
99 
106 
115 
116  /*
117  bool RequiresUpdate() const;
118  void SetRequiresUpdate( bool bRequiresUpdate );
119 
120  bool PersistentSolution() const;
121  void SetPersistentSolution( bool bPersistentSolution );
122  */
123  protected:
124  /* need to make sure that the values are correct
125  enum {
126  kRequiresUpdate = 1,
127  kPersistentSolution = 2
128  }
129  */
130 
131  // Next segment index.
132  // Supposedly next segment index.
134 
135  // Next node index.
137 
138  // Next cell index.
140 
141  // Flags.
143 
144  // Array of grid segments.
146 
147  // Array of grid nodes.
149 
150  // Array of grid cells.
152 };
153 
156 
157 #endif // __AECGECUSTOMGRID_H__
AECSubPtr< AECGeCustomGrid > AECGeCustomGridSubPtr
OdSmartPtr< AECGeCustomGrid > AECGeCustomGridPtr
#define AEC_DECLARE_MEMBERS(ClassName)
Definition: AECMacros.h:54
unsigned int OdUInt32
AECImpArraySubPtr GetSegments() const
AECCustomGridNodeSubPtr GetNodeByIndex(OdUInt32 iIndex) const
AECGeCustomGridSegmentSubPtr GetSegmentByPosition(OdUInt32 iIndex) const
OdUInt32 m_iNextSegmentIndex
OdUInt32 GetNextNodeIndexInc()
OdUInt32 GetSegmentCount() const
OdUInt32 m_iNextNodeIndex
OdUInt32 GetNextSegmentIndexInc()
OdUInt32 GetNodeCount() const
AECGeCustomGridSegmentSubPtr GetSegmentByIndex(OdUInt32 iIndex) const
OdUInt32 m_iNextCellIndex
OdUInt32 GetNextNodeIndex() const
void RegenerateNodes()
AECImpArray m_aNodes
AECCustomGridNodeSubPtr GetNodeByPosition(OdUInt32 iIndex) const
OdUInt32 GetNextSegmentIndex() const
AECImpArray m_aCells
AECImpArray m_aSegments
AECImpArraySubPtr GetNodes() const