toon-members
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Toon-members] TooN se3.h internal/deprecated.hh


From: Edward Rosten
Subject: [Toon-members] TooN se3.h internal/deprecated.hh
Date: Wed, 13 May 2009 14:22:35 +0000

CVSROOT:        /cvsroot/toon
Module name:    TooN
Changes by:     Edward Rosten <edrosten>        09/05/13 14:22:35

Modified files:
        .              : se3.h 
Added files:
        internal       : deprecated.hh 

Log message:
        Added missing file

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/TooN/se3.h?cvsroot=toon&r1=1.24&r2=1.25
http://cvs.savannah.gnu.org/viewcvs/TooN/internal/deprecated.hh?cvsroot=toon&rev=1.1

Patches:
Index: se3.h
===================================================================
RCS file: /cvsroot/toon/TooN/se3.h,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- se3.h       27 Apr 2009 13:36:32 -0000      1.24
+++ se3.h       13 May 2009 14:22:35 -0000      1.25
@@ -57,6 +57,9 @@
        template <int S, typename P, typename A>
        SE3(const Vector<S, P, A> & v) { *this = exp(v); }
 
+       template <class IP, int S, typename P, typename A> 
+       SE3(const SO3<Precision> & R, const Vector<S, P, A>& T) : 
my_rotation(Identity), my_translation(T) {}
+
        /// Returns the rotation part of the transformation as a SO3
        inline SO3<Precision>& get_rotation(){return my_rotation;}
        /// @overload

Index: internal/deprecated.hh
===================================================================
RCS file: internal/deprecated.hh
diff -N internal/deprecated.hh
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ internal/deprecated.hh      13 May 2009 14:22:35 -0000      1.1
@@ -0,0 +1,34 @@
+// -*- c++ -*-
+
+// Copyright (C) 2009 Ed Rosten (address@hidden)
+//
+// This file is part of the TooN Library.  This library is free
+// software; you can redistribute it and/or modify it under the
+// terms of the GNU General Public License as published by the
+// Free Software Foundation; either version 2, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License along
+// with this library; see the file COPYING.  If not, write to the Free
+// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+// USA.
+
+// As a special exception, you may use this file as part of a free software
+// library without restriction.  Specifically, if other files instantiate
+// templates or use macros or inline functions from this file, or you compile
+// this file and link it with other files to produce an executable, this
+// file does not by itself cause the resulting executable to be covered by
+// the GNU General Public License.  This exception does not however
+// invalidate any other reasons why the executable file might be covered by
+// the GNU General Public License.
+
+#ifdef TOON_DEPRECATED_GCC
+       #define TOON_DEPRECATED __attribute__((deprecated))
+#else
+       #define TOON_DEPRECATED 
+#endif




reply via email to

[Prev in Thread] Current Thread [Next in Thread]