Field containing an SbKernel2i32 object More...
#include <ImageViz/Fields/SoSFKernel2i32.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
const SoSFKernel2i32 & | operator= (const SoSFKernel2i32 &f) |
SoSFKernel2i32 () | |
virtual | ~SoSFKernel2i32 () |
SbKernel2i32 | getValue () const |
void | setValue (SbKernel2i32 newValue) |
SbKernel2i32 | operator= (SbKernel2i32 newValue) |
int | operator== (const SoSFKernel2i32 &f) const |
int | operator!= (const SoSFKernel2i32 &f) const |
virtual size_t | getValueSize () const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
An SoSFKernel2i32 is written to file as:
The following 3x3 kernel:
Will be written as:
3 3 0 1 2 3 4 5 6 7 8
SoSFKernel2i32::SoSFKernel2i32 | ( | ) |
Default constructor.
virtual SoSFKernel2i32::~SoSFKernel2i32 | ( | ) | [virtual] |
Destructor.
static SoType SoSFKernel2i32::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoSField.
virtual SoType SoSFKernel2i32::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Implements SoTypedObject.
SbKernel2i32 SoSFKernel2i32::getValue | ( | ) | const [inline] |
Returns this field's value.
virtual size_t SoSFKernel2i32::getValueSize | ( | ) | const [inline, virtual] |
Get size of the value.
Reimplemented from SoField.
int SoSFKernel2i32::operator!= | ( | const SoSFKernel2i32 & | f | ) | const [inline] |
Returns FALSE if otherField is of the same type and has the same value as this field.
Reimplemented from SoField.
SbKernel2i32 SoSFKernel2i32::operator= | ( | SbKernel2i32 | newValue | ) | [inline] |
Sets this field to newValue.
const SoSFKernel2i32& SoSFKernel2i32::operator= | ( | const SoSFKernel2i32 & | f | ) |
Copy from another field of same type.
int SoSFKernel2i32::operator== | ( | const SoSFKernel2i32 & | f | ) | const |
Returns TRUE if otherField is of the same type and has the same value as this field.
Reimplemented from SoField.
void SoSFKernel2i32::setValue | ( | SbKernel2i32 | newValue | ) |
Sets this field to newValue.