24#ifndef _SB_KERNEL_3I32_H_
25#define _SB_KERNEL_3I32_H_
100 void setSize(
size_t numCols,
size_t numRows,
size_t numSlices);
110 int32_t
getValue(
int indexCol,
int indexRow,
int indexSlice)
const;
118 void setValue(
int indexCol,
int indexRow,
int indexSlice, int32_t value);
155 {
return !(k1 == k2); }
159 std::vector<int32_t> m_kernelsValues;
int operator==(const className &f) const
Returns TRUE if otherField is of the same type and has the same value as this field.
int operator!=(const className &f) const
Returns FALSE if otherField is of the same type and has the same value as this field.
<a href="IconLegend.html"><img src="extIP.gif" alt="ImageViz" border="0"></a> Integer 3D-Kernel for ...
~SbKernel3i32()
Destructor.
void setSize(size_t numCols, size_t numRows, size_t numSlices)
Set the size of the kernel.
int32_t getValue(int indexCol, int indexRow, int indexSlice) const
Returns the value of the kernel at position (i, j, k).
void setSize(const SbVec3i32 &dimension)
SbKernel3i32()
Default constructor.
void setValue(int indexCol, int indexRow, int indexSlice, int32_t value)
Sets the value of the kernel at position (i, j, k).
const int32_t & operator()(int i, int j, int k) const
Accesor operator.
SbKernel3i32(const SbVec3i32 &size)
Constructor defining the size of the kernel.
SbKernel3i32(size_t numCols, size_t numRows, size_t numSlices)
Constructor defining the size of the kernel.
size_t getNumCols() const
Returns the number of columns.
SbVec3i32 getSize() const
Returns the size of the kernel.
size_t getNumRows() const
Returns the number of rows.
size_t getNumSlices() const
Returns the number of slices.
int32_t & operator()(int i, int j, int k)
L-value accesor operator.