1 /* 2 * Copyright (C) 2020 Linux Studio Plugins Project <https://lsp-plug.in/> 3 * (C) 2020 Vladimir Sadovnikov <sadko4u@gmail.com> 4 * 5 * This file is part of lsp-plugins 6 * Created on: 12 мая 2019 г. 7 * 8 * lsp-plugins is free software: you can redistribute it and/or modify 9 * it under the terms of the GNU Lesser General Public License as published by 10 * the Free Software Foundation, either version 3 of the License, or 11 * any later version. 12 * 13 * lsp-plugins is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU Lesser General Public License for more details. 17 * 18 * You should have received a copy of the GNU Lesser General Public License 19 * along with lsp-plugins. If not, see <https://www.gnu.org/licenses/>. 20 */ 21 22 #ifndef UI_TK_WIDGETS_LSPOBJECT3D_H_ 23 #define UI_TK_WIDGETS_LSPOBJECT3D_H_ 24 25 namespace lsp 26 { 27 namespace tk 28 { 29 class LSPObject3D: public LSPWidget 30 { 31 public: 32 static const w_class_t metadata; 33 34 public: 35 explicit LSPObject3D(LSPDisplay *dpy); 36 virtual ~LSPObject3D(); 37 38 public: 39 LSPArea3D *area3d(); 40 41 public: 42 virtual void set_view_point(const point3d_t *pov); 43 44 virtual void render(IR3DBackend *r3d); 45 }; 46 47 } /* namespace tk */ 48 } /* namespace lsp */ 49 50 #endif /* UI_TK_WIDGETS_LSPOBJECT3D_H_ */ 51