#include <vtkEncodedGradientEstimator.h>
Inheritance diagram for vtkEncodedGradientEstimator:
vtkEncodedGradientEstimator is an abstract superclass for gradient estimation. It takes a scalar input of vtkImageData, computes a gradient value for every point, and encodes this value into a three byte value (2 for direction, 1 for magnitude) using the vtkDirectionEncoder. The direction encoder is defaulted to a vtkRecursiveSphereDirectionEncoder, but can be overridden with the SetDirectionEncoder method. The scale and the bias values for the gradient magnitude are used to convert it into a one byte value according to v = m*scale + bias where m is the magnitude and v is the resulting one byte value.
Definition at line 42 of file vtkEncodedGradientEstimator.h.
|
Reimplemented from vtkObject. Reimplemented in vtkFiniteDifferenceGradientEstimator. Definition at line 45 of file vtkEncodedGradientEstimator.h. |
|
|
|
|
|
Reimplemented from vtkObject. Reimplemented in vtkFiniteDifferenceGradientEstimator. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkObject. Reimplemented in vtkFiniteDifferenceGradientEstimator. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkObject. Reimplemented in vtkFiniteDifferenceGradientEstimator. |
|
Reimplemented from vtkObject. Reimplemented in vtkFiniteDifferenceGradientEstimator. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkObject. Reimplemented in vtkFiniteDifferenceGradientEstimator. |
|
Set/Get the scalar input for which the normals will be calculated |
|
|
|
Set/Get the scale and bias for the gradient magnitude |
|
Set/Get the scale and bias for the gradient magnitude |
|
Set/Get the scale and bias for the gradient magnitude |
|
Set/Get the scale and bias for the gradient magnitude |
|
Turn on / off the bounding of the normal computation by the this->Bounds bounding box |
|
Turn on / off the bounding of the normal computation by the this->Bounds bounding box |
|
Turn on / off the bounding of the normal computation by the this->Bounds bounding box |
|
Turn on / off the bounding of the normal computation by the this->Bounds bounding box |
|
Set / Get the bounds of the computation (used if this->ComputationBounds is 1.) The bounds are specified xmin, xmax, ymin, ymax, zmin, zmax. |
|
Set / Get the bounds of the computation (used if this->ComputationBounds is 1.) The bounds are specified xmin, xmax, ymin, ymax, zmin, zmax. |
|
Set / Get the bounds of the computation (used if this->ComputationBounds is 1.) The bounds are specified xmin, xmax, ymin, ymax, zmin, zmax. |
|
Set / Get the bounds of the computation (used if this->ComputationBounds is 1.) The bounds are specified xmin, xmax, ymin, ymax, zmin, zmax. |
|
Recompute the encoded normals and gradient magnitudes. |
|
Get the encoded normals. Referenced by vtkShearWarpRLESlice< T >::encodeOpacity(), and vtkShearWarpRLESlice< T >::encodeScalar(). |
|
Get the encoded normal at an x,y,z location in the volume |
|
Get the encoded normals. |
|
Get the gradient magnitudes Referenced by vtkShearWarpRLESlice< T >::encodeOpacity(), and vtkShearWarpRLESlice< T >::encodeScalar(). |
|
Get/Set the number of threads to create when encoding normals This defaults to the number of available processors on the machine |
|
Get the gradient magnitudes |
|
Set / Get the direction encoder used to encode normal directions to fit within two bytes |
|
Set / Get the direction encoder used to encode normal directions to fit within two bytes |
|
If you don't want to compute gradient magnitudes (but you do want normals for shading) this can be used. Be careful - if if you a non-constant gradient magnitude transfer function and you turn this on, it may crash |
|
If you don't want to compute gradient magnitudes (but you do want normals for shading) this can be used. Be careful - if if you a non-constant gradient magnitude transfer function and you turn this on, it may crash |
|
If you don't want to compute gradient magnitudes (but you do want normals for shading) this can be used. Be careful - if if you a non-constant gradient magnitude transfer function and you turn this on, it may crash |
|
If you don't want to compute gradient magnitudes (but you do want normals for shading) this can be used. Be careful - if if you a non-constant gradient magnitude transfer function and you turn this on, it may crash |
|
If the data in each slice is only contained within a circle circumscribed within the slice, and the slice is square, then don't compute anything outside the circle. This circle through the slices forms a cylinder. |
|
If the data in each slice is only contained within a circle circumscribed within the slice, and the slice is square, then don't compute anything outside the circle. This circle through the slices forms a cylinder. |
|
If the data in each slice is only contained within a circle circumscribed within the slice, and the slice is square, then don't compute anything outside the circle. This circle through the slices forms a cylinder. |
|
If the data in each slice is only contained within a circle circumscribed within the slice, and the slice is square, then don't compute anything outside the circle. This circle through the slices forms a cylinder. |
|
Get the time required for the last update in seconds or cpu seconds |
|
Get the time required for the last update in seconds or cpu seconds |
|
|
|
Definition at line 134 of file vtkEncodedGradientEstimator.h. |
|
Set / Get the ZeroNormalThreshold - this defines the minimum magnitude of a gradient that is considered sufficient to define a direction. Gradients with magnitudes at or less than this value are given a "zero normal" index. These are handled specially in the shader, and you can set the intensity of light for these zero normals in the gradient shader. |
|
|
|
Assume that the data value outside the volume is zero when computing normals. |
|
Assume that the data value outside the volume is zero when computing normals. |
|
Assume that the data value outside the volume is zero when computing normals. |
|
Assume that the data value outside the volume is zero when computing normals. |
|
|
|
|
|
|
|
|
|
Reimplemented from vtkObjectBase. |
|
Implemented in vtkFiniteDifferenceGradientEstimator. |
|
|
|
Definition at line 152 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 165 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 166 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 169 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 172 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 186 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 188 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 190 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 194 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 195 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 197 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 198 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 200 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 202 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 203 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 204 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 205 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 208 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 209 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 211 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 212 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 214 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 216 of file vtkEncodedGradientEstimator.h. |