ctkTransferFunction.cpp 991 B

123456789101112131415161718192021222324252627282930313233
  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. ctkTransferFunction::ctkTransferFunction(QObject* parentObject)
  14. :QObject(parentObject)
  15. {
  16. }
  17. //-----------------------------------------------------------------------------
  18. ctkTransferFunction::~ctkTransferFunction()
  19. {
  20. // foreach(ctkControlPoint* cp, this->ControlPoints)
  21. // {
  22. // delete cp;
  23. // }
  24. // this->ControlPoints->clear();
  25. // emit changed();
  26. }