Hot Door CORE  0.7.0
Adobe® Illustrator® Plug-in Library
hdicoreMeshArt.h
Go to the documentation of this file.
1 
7 #ifndef __HDI_CORE_MESH_ART__
8 #define __HDI_CORE_MESH_ART__
9 
10 #include "hdicoreTypes.h"
11 
12 namespace hdi
13 {
14  namespace core
15  {
16  class Art;
17 
21  class MeshArt
22  {
23  public:
27  enum MeshType
28  {
29  UnknownMeshType = 0,
30  CartesianMeshType = 10,
31  PolarMeshType = 20 // Reserved for future use
32  };
33 
39  ~MeshArt();
40 
50  bool createCartesian(const int32_t numI_, const int32_t numJ_);
51 
59  MeshType meshType() const;
60 
70  bool cartesianSize(int32_t& numI__, int32_t& numJ__) const;
71 
72  // TODO further implement this class
73 
74 
75  private:
76  // Only Art can construct a new MeshArt object
77  friend class Art;
78 
82  Art* __art;
83 
89  MeshArt();
90 
98  MeshArt(Art* const art_);
99 
105  MeshArt(const MeshArt&);
106 
112  MeshArt& operator=(const MeshArt&);
113  };
114  }
115 }
116 
117 #endif
118 // __HDI_CORE_MESH_ART__
MeshType meshType() const
Gets the type of mesh.
Handles general art-related functionality.
Definition: hdicoreArt.h:47
Allows for mesh manipulation, metadata access, etc.
Definition: hdicoreMeshArt.h:21
MeshType
Describes the type of an Illustrator mesh.
Definition: hdicoreMeshArt.h:27
bool createCartesian(const int32_t numI_, const int32_t numJ_)
Creates a cartesian mesh for the related art object.
Header file for a wide variety of necessary typedefs, enums, and forwards declarations.
Definition: hdicoreaiArray.h:12
bool cartesianSize(int32_t &numI__, int32_t &numJ__) const
Gets the size of the target mesh (number of patches)
~MeshArt()
Destructs a MeshArt object.