ctkTransferFunction.cpp

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Library:   CTK
00004  
00005   Copyright (c) 2010  Kitware Inc.
00006 
00007   Licensed under the Apache License, Version 2.0 (the "License");
00008   you may not use this file except in compliance with the License.
00009   You may obtain a copy of the License at
00010 
00011       http://www.commontk.org/LICENSE
00012 
00013   Unless required by applicable law or agreed to in writing, software
00014   distributed under the License is distributed on an "AS IS" BASIS,
00015   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00016   See the License for the specific language governing permissions and
00017   limitations under the License.
00018  
00019 =========================================================================*/
00021 #include "ctkTransferFunction.h"
00022 
00023 //-----------------------------------------------------------------------------
00024 ctkControlPoint::~ctkControlPoint()
00025 { 
00026 }
00027 
00028 //-----------------------------------------------------------------------------
00029 ctkBezierControlPoint::~ctkBezierControlPoint()
00030 {
00031 }
00032 
00033 //-----------------------------------------------------------------------------
00034 ctkNonLinearControlPoint::~ctkNonLinearControlPoint()
00035 {
00036 }
00037 
00038 //-----------------------------------------------------------------------------
00039 ctkTransferFunction::ctkTransferFunction(QObject* parentObject)
00040   :QObject(parentObject)
00041 {
00042 }
00043 
00044 //-----------------------------------------------------------------------------
00045 ctkTransferFunction::~ctkTransferFunction()
00046 {
00047   // foreach(ctkControlPoint* cp, this->ControlPoints)
00048   //   {
00049   //   delete cp;
00050   //   }
00051   // this->ControlPoints->clear();
00052   // emit changed();
00053 }
00054 
00055 ctkBezierControlPoint*  ctkTransferFunction::toto()
00056 {
00057   return new ctkBezierControlPoint();
00058 }
00059 
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines