/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* ex: set filetype=cpp softtabstop=4 shiftwidth=4 tabstop=4 cindent expandtab: */ /* $Id: vctRandomTransformations.h,v 1.3 2007/04/26 19:33:58 anton Exp $ Author(s): Anton Deguet Created on: 2007-02-11 (C) Copyright 2005-2007 Johns Hopkins University (JHU), All Rights Reserved. --- begin cisst license - do not edit --- This software is provided "as is" under an open source license, with no warranty. The complete license can be found in license.txt and http://www.cisst.org/cisst/license.txt. --- end cisst license --- */ #ifndef _vctRandomTransformations_h #define _vctRandomTransformations_h #include #include #include #include /*! Define the global function vctRandom to initialize different types of transformation with a random value. \note The function uses the global instance of cmnRandomSequence to extract random values. As we have a vague plan to allow for multiple random sequence objects to coexist, these interfaces may need to be changed. */ //@{ template CISST_EXPORT void vctRandom(vctMatrixRotation3Base<_containerType> & matrixRotation); #ifndef DOXYGEN #ifdef CISST_COMPILER_IS_MSVC template CISST_EXPORT void vctRandom(vctMatrixRotation3Base > &); template CISST_EXPORT void vctRandom(vctMatrixRotation3Base > &); template CISST_EXPORT void vctRandom(vctMatrixRotation3Base > &); template CISST_EXPORT void vctRandom(vctMatrixRotation3Base > &); #endif #endif // DOXYGEN template CISST_EXPORT void vctRandom(vctQuaternionRotation3Base<_containerType> & quaternionRotation); #ifndef DOXYGEN #ifdef CISST_COMPILER_IS_MSVC template CISST_EXPORT void vctRandom(vctQuaternionRotation3Base > &); template CISST_EXPORT void vctRandom(vctQuaternionRotation3Base > &); template CISST_EXPORT void vctRandom(vctQuaternionRotation3Base > &); template CISST_EXPORT void vctRandom(vctQuaternionRotation3Base > &); #endif #endif // DOXYGEN template CISST_EXPORT void vctRandom(vctAxisAngleRotation3<_elementType> & axisAngleRotation); #ifndef DOXYGEN #ifdef CISST_COMPILER_IS_MSVC template CISST_EXPORT void vctRandom(vctAxisAngleRotation3 &); template CISST_EXPORT void vctRandom(vctAxisAngleRotation3 &); #endif #endif // DOXYGEN template CISST_EXPORT void vctRandom(vctRodriguezRotation3Base<_containerType> & rodriguezRotation); #ifndef DOXYGEN #ifdef CISST_COMPILER_IS_MSVC template CISST_EXPORT void vctRandom(vctRodriguezRotation3Base > &); template CISST_EXPORT void vctRandom(vctRodriguezRotation3Base > &); template CISST_EXPORT void vctRandom(vctRodriguezRotation3Base > &); template CISST_EXPORT void vctRandom(vctRodriguezRotation3Base > &); #endif #endif // DOXYGEN template CISST_EXPORT void vctRandom(vctMatrixRotation2Base<_containerType> & matrixRotation); #ifndef DOXYGEN #ifdef CISST_COMPILER_IS_MSVC template CISST_EXPORT void vctRandom(vctMatrixRotation2Base > &); template CISST_EXPORT void vctRandom(vctMatrixRotation2Base > &); template CISST_EXPORT void vctRandom(vctMatrixRotation2Base > &); template CISST_EXPORT void vctRandom(vctMatrixRotation2Base > &); #endif #endif // DOXYGEN CISST_EXPORT void vctRandom(vctAngleRotation2 & angleRotation); //@} #endif // _vctRandomTransformations_h // **************************************************************************** // Change History // **************************************************************************** // // $Log: vctRandomTransformations.h,v $ // Revision 1.3 2007/04/26 19:33:58 anton // All files in libraries: Applied new license text, separate copyright and // updated dates, added standard header where missing. // // Revision 1.2 2007/02/27 15:49:35 anton // vctRandom: Added template instantiation for transformation based on // dynamic containers of floats. // // Revision 1.1 2007/02/12 03:23:37 anton // vctRandom: Split in multiple files to avoid too many inclusions and dependencies // (leads to longer compilation times, see #264). // // // ****************************************************************************