/* -------------------- Program: ESQUI Info and Bugs: {marf,rsantana}@ctm.ulpgc.es ------------------------------------------- Copyright (c) 2006, Center for Technology in Medicine, University of Las Palmas de Gran Canaria (Canary Islands, Spain). All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the Creative Commons' "by-attribution" license (http://creativecommons.org/licenses/by/2.5). Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. =============================================================================*/ /// -------------- /// Contiene la informaci� necesaria para el c�culo de las colisiones /// de 1 modelo rigido (elemento de escenario). #ifndef __vtkModeloEstatico_h #define __vtkModeloEstatico_h #include "Macros.h" #include "vtkAABB.h" #include "vtkesquiColisionWin32Header.h" //Contiene la informacion necesaria para el calculo de las colisiones de 1 modelo rigido (elemento de escenario). //! Contains the needed info for collision detection of 1 rigid model. class VTK_ESQUI_COLISION_EXPORT vtkModeloEstatico: public vtkAABB { public: vtkTypeRevisionMacro(vtkAABB, vtkObject); static vtkModeloEstatico *New () {return new vtkModeloEstatico;}; const char *GetClassName() {return "vtkModeloEstatico";}; //! Bounding box of scene element /// Caja de inclusion del elemento de escenario (para simplficar) vtkAABB Caja; protected: vtkModeloEstatico() {}; ~vtkModeloEstatico() {}; private: vtkModeloEstatico(const vtkModeloEstatico &); //NotImplemented void operator =(const vtkModeloEstatico &); //Not Implemented }; #endif