#ifndef Magnum_SceneGraph_SceneGraph_h #define Magnum_SceneGraph_SceneGraph_h /* This file is part of Magnum. Copyright © 2010, 2011, 2012, 2013 Vladimír Vondruš Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /** @file * @brief Forward declarations for Magnum::SceneGraph namespace */ #include "Types.h" #include "corradeCompatibility.h" namespace Magnum { namespace SceneGraph { /** @todoc remove when doxygen is sane again */ #ifndef DOXYGEN_GENERATING_OUTPUT enum class AspectRatioPolicy: UnsignedByte; template class AbstractCamera; #ifndef CORRADE_GCC46_COMPATIBILITY template using AbstractBasicCamera2D = AbstractCamera<2, T>; template using AbstractBasicCamera3D = AbstractCamera<3, T>; typedef AbstractBasicCamera2D AbstractCamera2D; typedef AbstractBasicCamera3D AbstractCamera3D; #else typedef AbstractCamera<2, Float> AbstractCamera2D; typedef AbstractCamera<3, Float> AbstractCamera3D; #endif /* Enum CachedTransformation and CachedTransformations used only directly */ template class AbstractFeature; #ifndef CORRADE_GCC46_COMPATIBILITY template using AbstractBasicFeature2D = AbstractFeature<2, T>; template using AbstractBasicFeature3D = AbstractFeature<3, T>; typedef AbstractBasicFeature2D AbstractFeature2D; typedef AbstractBasicFeature3D AbstractFeature3D; #else typedef AbstractFeature<2, Float> AbstractFeature2D; typedef AbstractFeature<3, Float> AbstractFeature3D; #endif /* AbstractFeatureGroup shouldn't be used directly */ template class AbstractGroupedFeature; #ifndef CORRADE_GCC46_COMPATIBILITY template using AbstractBasicGroupedFeature2D = AbstractGroupedFeature<2, Derived, T>; template using AbstractBasicGroupedFeature3D = AbstractGroupedFeature<3, Derived, T>; template using AbstractGroupedFeature2D = AbstractBasicGroupedFeature2D; template using AbstractGroupedFeature3D = AbstractBasicGroupedFeature3D; #endif template class AbstractObject; #ifndef CORRADE_GCC46_COMPATIBILITY template using AbstractBasicObject2D = AbstractObject<2, T>; template using AbstractBasicObject3D = AbstractObject<3, T>; typedef AbstractBasicObject2D AbstractObject2D; typedef AbstractBasicObject3D AbstractObject3D; #else typedef AbstractObject<2, Float> AbstractObject2D; typedef AbstractObject<3, Float> AbstractObject3D; #endif enum class TransformationType: UnsignedByte; template class AbstractTransformation; #ifndef CORRADE_GCC46_COMPATIBILITY template using AbstractBasicTransformation2D = AbstractTransformation<2, T>; template using AbstractBasicTransformation3D = AbstractTransformation<3, T>; typedef AbstractBasicTransformation2D AbstractTransformation2D; typedef AbstractBasicTransformation3D AbstractTransformation3D; #else typedef AbstractTransformation<2, Float> AbstractTransformation2D; typedef AbstractTransformation<3, Float> AbstractTransformation3D; #endif template class AbstractBasicTranslationRotation2D; template class AbstractBasicTranslationRotation3D; typedef AbstractBasicTranslationRotation2D AbstractTranslationRotation2D; typedef AbstractBasicTranslationRotation3D AbstractTranslationRotation3D; template class AbstractBasicTranslationRotationScaling2D; template class AbstractBasicTranslationRotationScaling3D; typedef AbstractBasicTranslationRotationScaling2D AbstractTranslationRotationScaling2D; typedef AbstractBasicTranslationRotationScaling3D AbstractTranslationRotationScaling3D; template class Animable; #ifndef CORRADE_GCC46_COMPATIBILITY template using BasicAnimable2D = Animable<2, T>; template using BasicAnimable3D = Animable<3, T>; typedef BasicAnimable2D Animable2D; typedef BasicAnimable3D Animable3D; #else typedef Animable<2, Float> Animable2D; typedef Animable<3, Float> Animable3D; #endif enum class AnimationState: UnsignedByte; template class AnimableGroup; #ifndef CORRADE_GCC46_COMPATIBILITY template using BasicAnimableGroup2D = AnimableGroup<2, T>; template using BasicAnimableGroup3D = AnimableGroup<3, T>; typedef BasicAnimableGroup2D AnimableGroup2D; typedef BasicAnimableGroup3D AnimableGroup3D; #else typedef AnimableGroup<2, Float> AnimableGroup2D; typedef AnimableGroup<3, Float> AnimableGroup3D; #endif template class BasicCamera2D; template class BasicCamera3D; typedef BasicCamera2D Camera2D; typedef BasicCamera3D Camera3D; template class Drawable; #ifndef CORRADE_GCC46_COMPATIBILITY template using BasicDrawable2D = Drawable<2, T>; template using BasicDrawable3D = Drawable<3, T>; typedef BasicDrawable2D Drawable2D; typedef BasicDrawable3D Drawable3D; #endif template class BasicDualComplexTransformation; template class BasicDualQuaternionTransformation; typedef BasicDualComplexTransformation DualComplexTransformation; typedef BasicDualQuaternionTransformation DualQuaternionTransformation; template class FeatureGroup; #ifndef CORRADE_GCC46_COMPATIBILITY template using BasicFeatureGroup2D = FeatureGroup<2, Feature, T>; template using BasicFeatureGroup3D = FeatureGroup<3, Feature, T>; template using FeatureGroup2D = BasicFeatureGroup2D; template using FeatureGroup3D = BasicFeatureGroup3D; #endif #ifndef CORRADE_GCC46_COMPATIBILITY template using DrawableGroup = FeatureGroup, T>; template using BasicDrawableGroup2D = DrawableGroup<2, T>; template using BasicDrawableGroup3D = DrawableGroup<3, T>; typedef BasicDrawableGroup2D DrawableGroup2D; typedef BasicDrawableGroup3D DrawableGroup3D; #else template class DrawableGroup; typedef DrawableGroup<2, Float> DrawableGroup2D; typedef DrawableGroup<3, Float> DrawableGroup3D; #endif template class BasicMatrixTransformation2D; template class BasicMatrixTransformation3D; typedef BasicMatrixTransformation2D MatrixTransformation2D; typedef BasicMatrixTransformation3D MatrixTransformation3D; template class Object; template class BasicRigidMatrixTransformation2D; template class BasicRigidMatrixTransformation3D; typedef BasicRigidMatrixTransformation2D RigidMatrixTransformation2D; typedef BasicRigidMatrixTransformation3D RigidMatrixTransformation3D; template class Scene; #endif }} #endif