Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

mitkDirectionEncoder.h

00001 /*=========================================================================
00002 
00003   Program:   3DMed
00004   Date:      $Date: 2014-02-25 18:30:00 +0800 $
00005   Version:   $Version: 4.6.0 $
00006   Copyright: MIPG, Institute of Automation, Chinese Academy of Sciences
00007 
00008 =========================================================================*/
00009 
00010 
00011 #ifndef __mitkDirectionEncoder_h
00012 #define __mitkDirectionEncoder_h
00013 
00014 #include "mitkObject.h"
00015 #include "mitkVisualizationIncludes.h"
00016 
00022 class MITK_VISUALIZATION_API mitkDirectionEncoder : public mitkObject
00023 {
00024 public:
00025     //operations
00026     MITK_TYPE(mitkDirectionEncoder,mitkObject)
00027 
00028     mitkDirectionEncoder(){};    
00029 
00034     virtual int GetEncodedDirection( float n[3] )=0;
00035     
00040     virtual float *GetDecodedGradient( int value )=0;
00041     
00045     virtual  int GetNumberOfEncodedDirections()=0;
00046     
00054     virtual float *GetDecodedGradientTable()=0;
00055         
00056 protected:
00057     virtual ~mitkDirectionEncoder(){};  
00058 private:
00059     mitkDirectionEncoder(const mitkDirectionEncoder&);
00060     void operator = (const mitkDirectionEncoder&);
00061 };
00062 
00063  
00064 //#define DEFINED_mitkDirectionEncoder
00065  
00066 
00067 
00068 #endif
00069 
00070 /*=========================================================================
00071 
00072   Program:   Visualization Toolkit
00073   Module:    $RCSfile$
00074   Language:  C++
00075   Date:      $Date: 2006-07-31 22:19:26 +0800 (ÐÇÆÚÒ», 31 ÆßÔÂ 2006) $
00076   Version:   $Revision: 34 $
00077 
00078 
00079 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00080 All rights reserved.
00081 
00082 Redistribution and use in source and binary forms, with or without
00083 modification, are permitted provided that the following conditions are met:
00084 
00085  * Redistributions of source code must retain the above copyright notice,
00086    this list of conditions and the following disclaimer.
00087 
00088  * Redistributions in binary form must reproduce the above copyright notice,
00089    this list of conditions and the following disclaimer in the documentation
00090    and/or other materials provided with the distribution.
00091 
00092  * Neither name of Ken Martin, Will Schroeder, or Bill Lorensen nor the names
00093    of any contributors may be used to endorse or promote products derived
00094    from this software without specific prior written permission.
00095 
00096  * Modified source versions must be plainly marked as such, and must not be
00097    misrepresented as being the original software.
00098 
00099 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
00100 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00101 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00102 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR
00103 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
00104 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
00105 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
00106 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
00107 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
00108 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00109 
00110 =========================================================================*/ 
00111 

Generated on Tue Feb 25 15:00:36 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3