VTK-m
2.2
|
#include <PixelTypes.h>
Public Types | |
using | Superclass = BasePixel< BitDepth, 1 > |
using | ComponentType = typename Superclass::ComponentType |
Public Types inherited from vtkm::io::BasePixel< BitDepth, 1 > | |
using | Superclass = vtkm::Vec< typename ComponentTypeFromSize< BitDepth >::type, Channels > |
using | ComponentType = typename Superclass::ComponentType |
using | BaseType = BasePixel< BitDepth, Channels > |
Public Types inherited from vtkm::Vec< ComponentTypeFromSize< BitDepth >::type, Channels > | |
using | ComponentType = ComponentTypeFromSize< BitDepth >::type |
Public Member Functions | |
GreyPixel ()=default | |
GreyPixel (vtkm::Vec4f_32 tuple) | |
virtual | ~GreyPixel ()=default |
ComponentType | Diff (const Superclass &pixel) const override |
vtkm::Vec4f_32 | ToVec4f () const override |
Public Member Functions inherited from vtkm::io::BasePixel< BitDepth, 1 > | |
BasePixel ()=default | |
BasePixel (const unsigned char *imageData, const vtkm::Id index) | |
Fills in this->Components by calling ConstructPixelFromImage. More... | |
virtual | ~BasePixel ()=default |
virtual ComponentType | Diff (const BaseType &pixel) const=0 |
Calculates this difference between two pixels as a single value. More... | |
virtual vtkm::Vec4f_32 | ToVec4f () const=0 |
Generates a Vec4f_32 from the current data available in the pixel. More... | |
void | FillImageAtIndexWithPixel (unsigned char *imageData, const vtkm::Id index) |
Takes an output imageData pointer and in index to a location in that dataset and fills in the pixel data at the location. More... | |
Public Member Functions inherited from vtkm::Vec< ComponentTypeFromSize< BitDepth >::type, Channels > | |
constexpr | Vec ()=default |
void | CopyInto (Vec< ComponentTypeFromSize< BitDepth >::type, Size > &dest) const |
Static Public Member Functions | |
static int | GetColorType () |
Static Public Member Functions inherited from vtkm::io::BasePixel< BitDepth, 1 > | |
static constexpr vtkm::IdComponent | GetBitDepth () |
Protected Member Functions | |
void | print (std::ostream &os) const override |
Protected Member Functions inherited from vtkm::io::BasePixel< BitDepth, 1 > | |
void | ConstructPixelFromImage (const unsigned char *imageData, const vtkm::Id index) |
Takes an input imageData pointer and an index to a location in that dataset and fills in this->Components correctly using the provided BIT_DEPTH and NUM_CHANNELS. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from vtkm::io::BasePixel< BitDepth, 1 > | |
static constexpr vtkm::IdComponent | BIT_DEPTH |
static constexpr vtkm::IdComponent | NUM_BYTES |
static constexpr vtkm::IdComponent | MAX_COLOR_VALUE |
static constexpr vtkm::IdComponent | NUM_CHANNELS |
static constexpr vtkm::IdComponent | BYTES_PER_PIXEL |
Static Public Attributes inherited from vtkm::Vec< ComponentTypeFromSize< BitDepth >::type, Channels > | |
static constexpr vtkm::IdComponent | NUM_COMPONENTS |
using vtkm::io::GreyPixel< BitDepth >::ComponentType = typename Superclass::ComponentType |
using vtkm::io::GreyPixel< BitDepth >::Superclass = BasePixel<BitDepth, 1> |
|
default |
|
inline |
|
virtualdefault |
|
override |
|
static |
|
inlineoverrideprotectedvirtual |
Implements vtkm::io::BasePixel< BitDepth, 1 >.
|
override |