|
@@ -36,6 +36,13 @@ public:
|
|
|
};
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
+ctkVTKColorTransferFunction::ctkVTKColorTransferFunction(QObject* parentObject)
|
|
|
+ :ctkTransferFunction(parentObject)
|
|
|
+{
|
|
|
+ CTK_INIT_PRIVATE(ctkVTKColorTransferFunction);
|
|
|
+}
|
|
|
+
|
|
|
+//-----------------------------------------------------------------------------
|
|
|
ctkVTKColorTransferFunction::ctkVTKColorTransferFunction(vtkColorTransferFunction* colorTransferFunction,
|
|
|
QObject* parentObject)
|
|
|
:ctkTransferFunction(parentObject)
|
|
@@ -62,6 +69,12 @@ int ctkVTKColorTransferFunction::count()const
|
|
|
}
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
+bool ctkVTKColorTransferFunction::isDiscrete()const
|
|
|
+{
|
|
|
+ return false;
|
|
|
+}
|
|
|
+
|
|
|
+//-----------------------------------------------------------------------------
|
|
|
void ctkVTKColorTransferFunction::range(qreal& minRange, qreal& maxRange)const
|
|
|
{
|
|
|
CTK_D(const ctkVTKColorTransferFunction);
|