1 #ifndef __DALI_INTERNAL_MODEL_LOGGER_H__
2 #define __DALI_INTERNAL_MODEL_LOGGER_H__
5 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
22 #include "model-impl.h"
33 * This class writes the model data to standard output.
38 ModelLogger(ModelData& model) : mModel(model), mWriteVertices(false) {}
42 * Write the mesh data. Note that vertex data will only be written
43 * if the mWriteVertices attribute is set to true.
48 * Write the material data.
50 void WriteMaterials();
53 * Write the lighting data.
58 * Write an entity and all its children.
59 * @param[in] entity - the entity to write.
60 * @param[in] indentLevel - the current indent level to use.
62 void WriteEntity(Dali::Entity entity, int indentLevel);
65 * write the animation data.
67 void WriteAnimations();
75 ModelData& mModel; ///< The model data to write
78 bool mWriteVertices; ///< Set to true if the vertex data should be written
79 }; // class ModelLogger
81 } // namespace Internal
85 #endif // ndef __DALI_INTERNAL_MODEL_LOGGER_H