
This value can of course be modified through routing, so this node can be used to set up a function of some other property than that used by the user of the node.
X3D Interface | ||||
| Name | Type | Default value | Description | |
![]() | value | SFFloat | 1.0 | The constant value. |
| Derived from VHTKTransferFunctionNode | ||||
![]() | input | SFFloat | 0.0 | The input to convert using this transfer function. |
![]() | outputValue | (SFFloat) | 0.0 | This field converts the input value to a output value according to the specifications for the transfer function. |
![]() | outputDerivative | (SFFloat) | 0.0 | This field evaluates the derivative of the transfer function at the position of the input value. |
Public Member Functions | |
| ConstantFunction (H3D::Inst< H3D::ThreadSafeSField< H3D::SFFloat > > _value=0) | |
| Initializes local members. | |
| ConstantFunction (H3D::H3DFloat value, H3D::Inst< H3D::ThreadSafeSField< H3D::SFFloat > > _value=0) | |
| Initializes local members. | |
| H3D::H3DFloat | get (H3D::H3DFloat x) |
| Get the value as float. | |
| H3D::H3DFloat | getDerivative (H3D::H3DFloat x) |
| Get the derivative. | |
Public Attributes | |
| auto_ptr < H3D::ThreadSafeSField < H3D::SFFloat > > | value |
| The constant value. | |
Static Public Attributes | |
| static H3D::H3DNodeDatabase | database |
| VHTK::ConstantFunction::ConstantFunction | ( | H3D::Inst< H3D::ThreadSafeSField< H3D::SFFloat > > | _value = 0 |
) |
Initializes local members.
| VHTK::ConstantFunction::ConstantFunction | ( | H3D::H3DFloat | value, | |
| H3D::Inst< H3D::ThreadSafeSField< H3D::SFFloat > > | _value = 0 | |||
| ) |
Initializes local members.
| H3D::H3DFloat VHTK::ConstantFunction::get | ( | H3D::H3DFloat | x | ) | [virtual] |
| H3D::H3DFloat VHTK::ConstantFunction::getDerivative | ( | H3D::H3DFloat | x | ) | [inline, virtual] |
| auto_ptr< H3D::ThreadSafeSField< H3D::SFFloat > > VHTK::ConstantFunction::value |
The constant value.
1.5.6