|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vtk.vtkObjectBase vtk.vtkObject vtk.vtkProcessObject vtk.vtkSource vtk.vtkDataSetSource vtk.vtkDataSetToDataSetFilter vtk.vtkTextureMapToSphere
vtkTextureMapToSphere - generate texture coordinates by mapping points to sphere. vtkTextureMapToSphere is a filter that generates 2D texture coordinates by mapping input dataset points onto a sphere. The sphere can either be user specified or generated automatically. (The sphere is generated automatically by computing the center (i.e., averaged coordinates) of the sphere.) Note that the generated texture coordinates range between (0,1). The s-coordinate lies in the angular direction around the z-axis, measured counter-clockwise from the x-axis. The t-coordinate lies in the angular direction measured down from the north pole towards the south pole. A special ivar controls how the s-coordinate is generated. If PreventSeam is set to true, the s-texture varies from 0->1 and then 1->0 (corresponding to angles of 0->180 and 180->360). JavaBean wrapper for vtkTextureMapToSphere object.
vtkTextureMapToPlane
,
vtkTextureMapToCylinder
,
vtkTextureMapToBox
,
vtkTransformTexture
,
Serialized FormField Summary | |
protected java.beans.PropertyChangeSupport |
changes
|
Fields inherited from class vtk.vtkObjectBase |
vtkId |
Constructor Summary | |
|
vtkTextureMapToSphere()
|
protected |
vtkTextureMapToSphere(int dmy)
|
Method Summary | |
void |
automaticSphereGenerationOff()
Turn on/off automatic sphere generation. |
void |
automaticSphereGenerationOn()
Turn on/off automatic sphere generation. |
int |
getAutomaticSphereGeneration()
Turn on/off automatic sphere generation. |
double[] |
getCenter()
Specify a point defining the center of the sphere. |
java.lang.String |
getClassName()
Return the class name as a string. |
int |
getPreventSeam()
Control how the texture coordinates are generated. |
vtkTextureMapToSphere |
getThisTextureMapToSphere()
|
int |
isA(java.lang.String id0)
Return 1 if this class is the same type of (or a subclass of) the named class. |
void |
preventSeamOff()
Control how the texture coordinates are generated. |
void |
preventSeamOn()
Control how the texture coordinates are generated. |
void |
setAutomaticSphereGeneration(int id0)
Turn on/off automatic sphere generation. |
void |
setCenter(double[] id0)
Specify a point defining the center of the sphere. |
void |
setCenter(double id0,
double id1,
double id2)
Specify a point defining the center of the sphere. |
void |
setPreventSeam(int id0)
Control how the texture coordinates are generated. |
protected void |
VTKCastInit()
|
void |
VTKInit()
|
Methods inherited from class vtk.vtkDataSetSource |
getThisDataSetSource, setOutput |
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 |
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 vtkTextureMapToSphere()
protected vtkTextureMapToSphere(int dmy)
Method Detail |
public vtkTextureMapToSphere getThisTextureMapToSphere()
public java.lang.String getClassName()
vtkObjectBase
getClassName
in class vtkDataSetToDataSetFilter
public int isA(java.lang.String id0)
vtkObjectBase
isA
in class vtkDataSetToDataSetFilter
public void setCenter(double id0, double id1, double id2)
public void setCenter(double[] id0)
public double[] getCenter()
public void setAutomaticSphereGeneration(int id0)
public int getAutomaticSphereGeneration()
public void automaticSphereGenerationOn()
public void automaticSphereGenerationOff()
public void setPreventSeam(int id0)
public int getPreventSeam()
public void preventSeamOn()
public void preventSeamOff()
public void VTKInit()
VTKInit
in class vtkObject
protected void VTKCastInit()
VTKCastInit
in class vtkDataSetToDataSetFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |