ctkTransferFunction.cpp 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*=========================================================================
  2. Library: ctk
  3. Copyright (c) Kitware Inc.
  4. All rights reserved.
  5. Distributed under a BSD License. See LICENSE.txt file.
  6. This software is distributed "AS IS" WITHOUT ANY WARRANTY; without even
  7. the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the above copyright notice for more information.
  9. =========================================================================*/
  10. /// CTK includes
  11. #include "ctkTransferFunction.h"
  12. //-----------------------------------------------------------------------------
  13. ctkControlPoint::~ctkControlPoint()
  14. {
  15. }
  16. //-----------------------------------------------------------------------------
  17. ctkBezierControlPoint::~ctkBezierControlPoint()
  18. {
  19. }
  20. //-----------------------------------------------------------------------------
  21. ctkNonLinearControlPoint::~ctkNonLinearControlPoint()
  22. {
  23. }
  24. //-----------------------------------------------------------------------------
  25. ctkTransferFunction::ctkTransferFunction(QObject* parentObject)
  26. :QObject(parentObject)
  27. {
  28. }
  29. //-----------------------------------------------------------------------------
  30. ctkTransferFunction::~ctkTransferFunction()
  31. {
  32. // foreach(ctkControlPoint* cp, this->ControlPoints)
  33. // {
  34. // delete cp;
  35. // }
  36. // this->ControlPoints->clear();
  37. // emit changed();
  38. }
  39. ctkBezierControlPoint* ctkTransferFunction::toto()
  40. {
  41. return new ctkBezierControlPoint();
  42. }