LCOV - code coverage report
Current view: top level - chart2/source/view/main - 3DChartObjects.cxx (source / functions) Hit Total Coverage
Test: commit 0e63ca4fde4e446f346e35849c756a30ca294aab Lines: 0 32 0.0 %
Date: 2014-04-11 Functions: 0 11 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       5             :  * This Source Code Form is subject to the terms of the Mozilla Public
       6             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       7             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       8             :  */
       9             : 
      10             : #include "3DChartObjects.hxx"
      11             : 
      12             : namespace chart {
      13             : 
      14             : namespace opengl3D {
      15             : 
      16           0 : Renderable3DObject::Renderable3DObject(sal_uInt32 nId):
      17           0 :     mnUniqueId(nId)
      18             : {
      19           0 : }
      20             : 
      21           0 : void Renderable3DObject::render()
      22             : {
      23             :     (void) mnUniqueId;
      24           0 : }
      25             : 
      26           0 : Bar::Bar(const glm::mat4& rPosition, sal_uInt32 nId):
      27             :     Renderable3DObject(nId),
      28           0 :     maPos(rPosition)
      29             : {
      30           0 : }
      31             : 
      32           0 : void Bar::render()
      33             : {
      34             :     (void) mbRoundedCorners;
      35           0 : }
      36             : 
      37           0 : Line::Line(sal_uInt32 nId):
      38           0 :     Renderable3DObject(nId)
      39             : {
      40           0 : }
      41             : 
      42           0 : Text::Text(sal_uInt32 nId):
      43           0 :     Renderable3DObject(nId)
      44             : {
      45           0 : }
      46             : 
      47           0 : Rectangle::Rectangle(sal_uInt32 nId):
      48           0 :     Renderable3DObject(nId)
      49             : {
      50           0 : }
      51             : 
      52           0 : Camera::Camera():
      53             :     Renderable3DObject(0),
      54             :     maPos(10,10,-10),
      55           0 :     maDirection(glm::vec3(0,0,0)-maPos)
      56             : {
      57           0 : }
      58             : 
      59             : namespace temporary {
      60             : 
      61           0 : TemporaryContext::TemporaryContext():
      62             :     miWidth(200),
      63           0 :     miHeight(200)
      64             : {
      65           0 : }
      66             : 
      67           0 : void TemporaryContext::init()
      68             : {
      69           0 :     maContext.init();
      70           0 :     maContext.setWinSize(Size(miWidth, miHeight));
      71           0 : }
      72             : 
      73           0 : void TemporaryContext::render()
      74             : {
      75           0 :     maContext.renderToFile();
      76           0 : }
      77             : 
      78             : }
      79             : 
      80             : }
      81             : 
      82             : }
      83             : 
      84             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10