Mercurial > hg > svapp
comparison framework/Document.h @ 269:40a0fa9af6b4 tonioni
added a new layer creator (not very nice though)
author | matthiasm |
---|---|
date | Tue, 26 Mar 2013 20:13:06 +0000 |
parents | 2c827ac7c8e7 |
children | 776e1aae635a |
comparison
equal
deleted
inserted
replaced
268:1f8251b3ad5d | 269:40a0fa9af6b4 |
---|---|
115 */ | 115 */ |
116 Layer *createDerivedLayer(const Transform &, | 116 Layer *createDerivedLayer(const Transform &, |
117 const ModelTransformer::Input &); | 117 const ModelTransformer::Input &); |
118 | 118 |
119 /** | 119 /** |
120 * Exactly the same as above, but providing exactly the layer type | |
121 * for cases in which the first suitable layer type for a transform | |
122 * is not the desired one. | |
123 * WARNING: highly redundant code (with the above creation funciotn) | |
124 */ | |
125 Layer *createDerivedLayer(const Transform &, | |
126 const ModelTransformer::Input &, | |
127 const LayerFactory::LayerType type); | |
128 | |
129 /** | |
120 * Delete the given layer, and also its associated model if no | 130 * Delete the given layer, and also its associated model if no |
121 * longer used by any other layer. In general, this should be the | 131 * longer used by any other layer. In general, this should be the |
122 * only method used to delete layers -- doing so directly is a bit | 132 * only method used to delete layers -- doing so directly is a bit |
123 * of a social gaffe. | 133 * of a social gaffe. |
124 */ | 134 */ |