|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vtk.vtkObjectBase vtk.vtkObject vtk.vtkEncodedGradientEstimator
vtkEncodedGradientEstimator - Superclass for gradient estimation. 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. JavaBean wrapper for vtkEncodedGradientEstimator object.
vtkFiniteDifferenceGradientEstimator
,
Serialized FormField Summary | |
protected java.beans.PropertyChangeSupport |
changes
|
Fields inherited from class vtk.vtkObjectBase |
vtkId |
Constructor Summary | |
|
vtkEncodedGradientEstimator()
|
protected |
vtkEncodedGradientEstimator(int dmy)
|
Method Summary | |
void |
boundsClipOff()
Turn on / off the bounding of the normal computation by the this->Bounds bounding box |
void |
boundsClipOn()
Turn on / off the bounding of the normal computation by the this->Bounds bounding box |
void |
computeGradientMagnitudesOff()
If you don't want to compute gradient magnitudes (but you do want normals for shading) this can be used. |
void |
computeGradientMagnitudesOn()
If you don't want to compute gradient magnitudes (but you do want normals for shading) this can be used. |
void |
cylinderClipOff()
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. |
void |
cylinderClipOn()
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. |
int[] |
getBounds()
Set / Get the bounds of the computation (used if this->ComputationBounds is 1.) |
int |
getBoundsClip()
Turn on / off the bounding of the normal computation by the this->Bounds bounding box |
int |
getBoundsClipMaxValue()
Turn on / off the bounding of the normal computation by the this->Bounds bounding box |
int |
getBoundsClipMinValue()
Turn on / off the bounding of the normal computation by the this->Bounds bounding box |
java.lang.String |
getClassName()
Return the class name as a string. |
int |
getComputeGradientMagnitudes()
If you don't want to compute gradient magnitudes (but you do want normals for shading) this can be used. |
int |
getCylinderClip()
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. |
vtkDirectionEncoder |
getDirectionEncoder()
Set / Get the direction encoder used to encode normal directions to fit within two bytes |
int |
getEncodedNormalIndex(int id0)
Get the encoded normal at an x,y,z location in the volume |
int |
getEncodedNormalIndex(int id0,
int id1,
int id2)
Get the encoded normal at an x,y,z location in the volume |
double |
getGradientMagnitudeBias()
Set/Get the scale and bias for the gradient magnitude |
double |
getGradientMagnitudeScale()
Set/Get the scale and bias for the gradient magnitude |
vtkImageData |
getInput()
Set/Get the scalar input for which the normals will be calculated |
double |
getLastUpdateTimeInCPUSeconds()
Get the time required for the last update in seconds or cpu seconds |
double |
getLastUpdateTimeInSeconds()
Get the time required for the last update in seconds or cpu seconds |
int |
getNumberOfThreads()
Get/Set the number of threads to create when encoding normals This defaults to the number of available processors on the machine |
int |
getNumberOfThreadsMaxValue()
Get/Set the number of threads to create when encoding normals This defaults to the number of available processors on the machine |
int |
getNumberOfThreadsMinValue()
Get/Set the number of threads to create when encoding normals This defaults to the number of available processors on the machine |
vtkEncodedGradientEstimator |
getThisEncodedGradientEstimator()
|
int |
getUseCylinderClip()
|
double |
getZeroNormalThreshold()
Set / Get the ZeroNormalThreshold - this defines the minimum magnitude of a gradient that is considered sufficient to define a direction. |
int |
getZeroPad()
Assume that the data value outside the volume is zero when computing normals. |
int |
getZeroPadMaxValue()
Assume that the data value outside the volume is zero when computing normals. |
int |
getZeroPadMinValue()
Assume that the data value outside the volume is zero when computing normals. |
int |
isA(java.lang.String id0)
Return 1 if this class is the same type of (or a subclass of) the named class. |
void |
setBounds(int[] id0)
Set / Get the bounds of the computation (used if this->ComputationBounds is 1.) |
void |
setBounds(int id0,
int id1,
int id2,
int id3,
int id4,
int id5)
Set / Get the bounds of the computation (used if this->ComputationBounds is 1.) |
void |
setBoundsClip(int id0)
Turn on / off the bounding of the normal computation by the this->Bounds bounding box |
void |
setComputeGradientMagnitudes(int id0)
If you don't want to compute gradient magnitudes (but you do want normals for shading) this can be used. |
void |
setCylinderClip(int id0)
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. |
void |
setDirectionEncoder(vtkDirectionEncoder id0)
Set / Get the direction encoder used to encode normal directions to fit within two bytes |
void |
setGradientMagnitudeBias(double id0)
Set/Get the scale and bias for the gradient magnitude |
void |
setGradientMagnitudeScale(double id0)
Set/Get the scale and bias for the gradient magnitude |
void |
setInput(vtkImageData id0)
Set/Get the scalar input for which the normals will be calculated |
void |
setNumberOfThreads(int id0)
Get/Set the number of threads to create when encoding normals This defaults to the number of available processors on the machine |
void |
setZeroNormalThreshold(double id0)
Set / Get the ZeroNormalThreshold - this defines the minimum magnitude of a gradient that is considered sufficient to define a direction. |
void |
setZeroPad(int id0)
Assume that the data value outside the volume is zero when computing normals. |
void |
update()
Recompute the encoded normals and gradient magnitudes. |
protected void |
VTKCastInit()
|
void |
zeroPadOff()
Assume that the data value outside the volume is zero when computing normals. |
void |
zeroPadOn()
Assume that the data value outside the volume is zero when computing normals. |
Methods inherited from class vtk.vtkObject |
AddObserver, breakOnError, debugOff, debugOn, getDebug, getGlobalWarningDisplay, getMTime, getThisObject, globalWarningDisplayOff, globalWarningDisplayOn, hasObserver, hasObserver, invokeEvent, invokeEvent, modified, Print, PrintRevisions, register, removeObserver, removeObservers, removeObservers, setDebug, setGlobalWarningDisplay, unRegister, VTKInit |
Methods inherited from class vtk.vtkObjectBase |
addPropertyChangeListener, finalize, getReferenceCount, getThisObjectBase, isTypeOf, removePropertyChangeListener, setReferenceCount, VTKDelete |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.beans.PropertyChangeSupport changes
Constructor Detail |
public vtkEncodedGradientEstimator()
protected vtkEncodedGradientEstimator(int dmy)
Method Detail |
public vtkEncodedGradientEstimator getThisEncodedGradientEstimator()
public java.lang.String getClassName()
vtkObjectBase
getClassName
in class vtkObject
public int isA(java.lang.String id0)
vtkObjectBase
isA
in class vtkObject
public void setInput(vtkImageData id0)
public vtkImageData getInput()
public void setGradientMagnitudeScale(double id0)
public double getGradientMagnitudeScale()
public void setGradientMagnitudeBias(double id0)
public double getGradientMagnitudeBias()
public void setBoundsClip(int id0)
public int getBoundsClipMinValue()
public int getBoundsClipMaxValue()
public int getBoundsClip()
public void boundsClipOn()
public void boundsClipOff()
public void setBounds(int id0, int id1, int id2, int id3, int id4, int id5)
public void setBounds(int[] id0)
public int[] getBounds()
public void update()
public int getEncodedNormalIndex(int id0)
public int getEncodedNormalIndex(int id0, int id1, int id2)
public void setNumberOfThreads(int id0)
public int getNumberOfThreadsMinValue()
public int getNumberOfThreadsMaxValue()
public int getNumberOfThreads()
public void setDirectionEncoder(vtkDirectionEncoder id0)
public vtkDirectionEncoder getDirectionEncoder()
public void setComputeGradientMagnitudes(int id0)
public int getComputeGradientMagnitudes()
public void computeGradientMagnitudesOn()
public void computeGradientMagnitudesOff()
public void setCylinderClip(int id0)
public int getCylinderClip()
public void cylinderClipOn()
public void cylinderClipOff()
public double getLastUpdateTimeInSeconds()
public double getLastUpdateTimeInCPUSeconds()
public int getUseCylinderClip()
public void setZeroNormalThreshold(double id0)
public double getZeroNormalThreshold()
public void setZeroPad(int id0)
public int getZeroPadMinValue()
public int getZeroPadMaxValue()
public int getZeroPad()
public void zeroPadOn()
public void zeroPadOff()
protected void VTKCastInit()
VTKCastInit
in class vtkObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |