
Public Member Functions | |
| ScalarCompositionFilter (H3D::Inst< H3D::SFNode > _metadata=0, H3D::Inst< H3D::Field > _dataChanged=0, H3D::Inst< H3D::SFBool > _scaleVectors=0, H3D::Inst< SFImage > _image=0, H3D::Inst< MFScalarImageNode > _scalarVolume=0, H3D::Inst< MFVectorImageNode > _vectorVolume=0, H3D::Inst< H3D::SFString > _pixelComponentType=0, H3D::Inst< H3D::SFInt32 > _bitsPerPixel=0, H3D::Inst< H3D::SFString > _method=0) | |
| Constructor. | |
Public Attributes | |
| auto_ptr< H3D::SFString > | method |
| The method of composition. | |
Static Public Attributes | |
| static H3D::H3DNodeDatabase | database |
| X3D node/field database. | |
Protected Member Functions | |
| virtual bool | convertData (void *&data, int &width, int &height, int &depth, H3D::Vec3f &pixelSize) |
| template<typename DST_TYPE > | |
| bool | doConvertData (DST_TYPE *&data, int &width, int &height, int &depth, H3D::Vec3f &pixelSize) |
Friends | |
| class | ScalarImageFilterHelper |
X3D Interface | ||||
| Name | Type | Default value | Description | |
![]() | method | SFString | "SUM" | The method of composition. Valid values are SUM and SUB. |
| Derived from ScalarImageFilter | ||||
![]() | scalarVolume | MFScalarImageNode | [] | Scalar volume(s) to extract data from. |
![]() | vectorVolume | MFVectorImageNode | [] | Vector volume(s) to extract data from. |
![]() | pixelComponentType | SFString | "" | The type of the target volume. One of SIGNED, UNSIGNED or RATIONAL. If empty the source volume type is used. |
![]() | bitsPerPixel | SFInt32 | 0 | The number of bits per voxel for the target volume. If zero the source volume type is used. |
| VHTK::ScalarCompositionFilter::ScalarCompositionFilter | ( | H3D::Inst< H3D::SFNode > | _metadata = 0, |
|
| H3D::Inst< H3D::Field > | _dataChanged = 0, |
|||
| H3D::Inst< H3D::SFBool > | _scaleVectors = 0, |
|||
| H3D::Inst< SFImage > | _image = 0, |
|||
| H3D::Inst< MFScalarImageNode > | _scalarVolume = 0, |
|||
| H3D::Inst< MFVectorImageNode > | _vectorVolume = 0, |
|||
| H3D::Inst< H3D::SFString > | _pixelComponentType = 0, |
|||
| H3D::Inst< H3D::SFInt32 > | _bitsPerPixel = 0, |
|||
| H3D::Inst< H3D::SFString > | _method = 0 | |||
| ) |
Constructor.
| virtual bool VHTK::ScalarCompositionFilter::convertData | ( | void *& | data, | |
| int & | width, | |||
| int & | height, | |||
| int & | depth, | |||
| H3D::Vec3f & | pixelSize | |||
| ) | [inline, protected, virtual] |
| bool VHTK::ScalarCompositionFilter::doConvertData | ( | DST_TYPE *& | data, | |
| int & | width, | |||
| int & | height, | |||
| int & | depth, | |||
| H3D::Vec3f & | pixelSize | |||
| ) | [inline, protected] |
| auto_ptr< H3D::SFString > VHTK::ScalarCompositionFilter::method |
The method of composition.
Valid values are
SUM - voxelwise sum of the individual volumesSUB - first scalar volume minus the remaining volumes
1.5.8