Hot Door CORE 0.8.2
Adobe® Illustrator® Plug-in Library
Loading...
Searching...
No Matches
hdicoreMeshArt.h
Go to the documentation of this file.
1
7#ifndef __HDI_CORE_MESH_ART__
8#define __HDI_CORE_MESH_ART__
9
10#if defined(HDI_CORE_AIP_MODE)
11
12#include "hdicoreTypes.h"
13
14namespace hdi
15{
16 namespace core
17 {
18 class Art;
19
23 class MeshArt
24 {
25 public:
30 {
31 UnknownMeshType = 0,
32 CartesianMeshType = 10,
33 PolarMeshType = 20 // Reserved for future use
34 };
35
42
52 bool createCartesian(const int32_t numI_, const int32_t numJ_);
53
62
72 bool cartesianSize(int32_t& numI__, int32_t& numJ__) const;
73
74 // TODO further implement this class
75
76
77 private:
78 // Only Art can construct a new MeshArt object
79 friend class Art;
80
84 void* __data;
85
91 MeshArt();
92
100 MeshArt(void* const art_);
101
107 MeshArt(const MeshArt&);
108
114 MeshArt& operator=(const MeshArt&);
115 };
116 }
117}
118
119#endif
120// HDI_CORE_AIP_MODE
121
122#endif
123// __HDI_CORE_MESH_ART__
Handles general art-related functionality.
Definition: hdicoreArt.h:51
Allows for mesh manipulation, metadata access, etc.
Definition: hdicoreMeshArt.h:24
MeshType meshType() const
Gets the type of mesh.
~MeshArt()
Destructs a MeshArt object.
bool createCartesian(const int32_t numI_, const int32_t numJ_)
Creates a cartesian mesh for the related art object.
MeshType
Describes the type of an Illustrator mesh.
Definition: hdicoreMeshArt.h:30
bool cartesianSize(int32_t &numI__, int32_t &numJ__) const
Gets the size of the target mesh (number of patches)
Header file for a wide variety of necessary typedefs, enums, and forwards declarations.