DGtal  1.5.beta
DrawWithDisplay3DModifier.ih
1 /**
2  * This program is free software: you can redistribute it and/or modify
3  * it under the terms of the GNU
4 
5  Lesser General Public License as
6  * published by the Free Software Foundation, either version 3 of the
7  * License, or (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program. If not, see <http://www.gnu.org/licenses/>.
16  *
17  **/
18 
19 /**
20  * @file DrawWithDisplay3DModifier.ih
21  *
22  * @author Bertrand Kerautret (\c kerautre@loria.fr )
23  * LORIA (CNRS, UMR 7503), University of Nancy, France
24  *
25  * @date 2013/04/27
26  *
27  * @brief
28  *
29  * Implementation of inline methods defined in DrawWithDisplay3DModifier.h
30  *
31  * This file is part of the DGtal library.
32  */
33 
34 ///////////////////////////////////////////////////////////////////////////////
35 // Implementation of inline methods //
36 
37 inline
38 std::string
39 DGtal::DrawWithDisplay3DModifier::className() const
40 {
41  return "DrawWithDisplay3DModifier";
42 }
43 
44 
45 inline
46 std::string
47 DGtal::CustomStyle3D::className() const
48 {
49  return "CustomStyle3D";
50 }
51 
52 
53 inline
54 double *
55 DGtal::ClippingPlane::getEquation()
56 {
57  double *r = new double[4];
58  r[0] = myA;
59  r[1] = myB;
60  r[2] = myC;
61  r[3] = myD;
62  return r;
63 }
64 
65 
66 // //
67 ///////////////////////////////////////////////////////////////////////////////