mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-10-08 11:29:02 +00:00
Merge branch 'master' into deprecate_read_portal_get
This commit is contained in:
commit
f1ee3f51f1
@ -88,6 +88,8 @@ public:
|
|||||||
ConstructPixelFromImage(imageData, index);
|
ConstructPixelFromImage(imageData, index);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virtual ~BasePixel() = default;
|
||||||
|
|
||||||
/// Calculates this difference between two pixels as a single value.
|
/// Calculates this difference between two pixels as a single value.
|
||||||
///
|
///
|
||||||
virtual ComponentType Diff(const BaseType& pixel) const = 0;
|
virtual ComponentType Diff(const BaseType& pixel) const = 0;
|
||||||
@ -141,6 +143,8 @@ public:
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virtual ~RGBPixel() = default;
|
||||||
|
|
||||||
ComponentType Diff(const Superclass& pixel) const override;
|
ComponentType Diff(const Superclass& pixel) const override;
|
||||||
vtkm::Vec4f_32 ToVec4f() const override;
|
vtkm::Vec4f_32 ToVec4f() const override;
|
||||||
|
|
||||||
@ -176,6 +180,8 @@ public:
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virtual ~GreyPixel() = default;
|
||||||
|
|
||||||
ComponentType Diff(const Superclass& pixel) const override;
|
ComponentType Diff(const Superclass& pixel) const override;
|
||||||
vtkm::Vec4f_32 ToVec4f() const override;
|
vtkm::Vec4f_32 ToVec4f() const override;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user