#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 69 of file vtkEncodedGradientEstimator.h.
|
|
|
|
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkObject. Reimplemented in vtkFiniteDifferenceGradientEstimator. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. 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 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. |
|
Get the encoded normal at an x,y,z location in the volume |
|
Get the encoded normal at an x,y,z location in the volume |
|
Get the gradient magnitudes |
|
Get/Set the number of threads to create when encoding normals This defaults to the number of available processors on the machine |
|
Get/Set the number of threads to create when encoding normals This defaults to the number of available processors on the machine |
|
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 161 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. |
|
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 in vtkFiniteDifferenceGradientEstimator. |
|
|
|
Definition at line 189 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 192 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 193 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 196 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 199 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 211 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 213 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 215 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 219 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 220 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 222 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 223 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 225 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 227 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 228 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 229 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 230 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 233 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 234 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 236 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 237 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 239 of file vtkEncodedGradientEstimator.h. |
|
Definition at line 241 of file vtkEncodedGradientEstimator.h. |