|
||||||||||
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.vtkTextureMapToPlane
vtkTextureMapToPlane - generate texture coordinates by mapping points to plane. vtkTextureMapToPlane is a filter that generates 2D texture coordinates by mapping input dataset points onto a plane. The plane can either be user specified or generated automatically. (A least squares method is used to generate the plane automatically.) There are two ways you can specify the plane. The first is to provide a plane normal. In this case the points are projected to a plane, and the points are then mapped into the user specified s-t coordinate range. For more control, you can specify a plane with three points: an origin and two points defining the two axes of the plane. (This is compatible with the vtkPlaneSource.) Using the second method, the SRange and TRange vectors are ignored, since the presumption is that the user does not want to scale the texture coordinates; and you can adjust the origin and axes points to achieve the texture coordinate scaling you need. Note also that using the three point method the axes do not have to be orthogonal. JavaBean wrapper for vtkTextureMapToPlane object.
vtkTextureMapToBox
,
vtkPlaneSource
,
vtkTextureMapToCylinder
,
vtkTextureMapToSphere
,
Serialized FormField Summary | |
protected java.beans.PropertyChangeSupport |
changes
|
Fields inherited from class vtk.vtkObjectBase |
vtkId |
Constructor Summary | |
|
vtkTextureMapToPlane()
|
protected |
vtkTextureMapToPlane(int dmy)
|
Method Summary | |
void |
automaticPlaneGenerationOff()
Turn on/off automatic plane generation. |
void |
automaticPlaneGenerationOn()
Turn on/off automatic plane generation. |
int |
getAutomaticPlaneGeneration()
Turn on/off automatic plane generation. |
java.lang.String |
getClassName()
Return the class name as a string. |
double[] |
getNormal()
Specify plane normal. |
double[] |
getOrigin()
Specify a point defining the origin of the plane. |
double[] |
getPoint1()
Specify a point defining the first axis of the plane. |
double[] |
getPoint2()
Specify a point defining the second axis of the plane. |
double[] |
getSRange()
Specify s-coordinate range for texture s-t coordinate pair. |
vtkTextureMapToPlane |
getThisTextureMapToPlane()
|
double[] |
getTRange()
Specify t-coordinate range for texture s-t coordinate pair. |
int |
isA(java.lang.String id0)
Return 1 if this class is the same type of (or a subclass of) the named class. |
void |
setAutomaticPlaneGeneration(int id0)
Turn on/off automatic plane generation. |
void |
setNormal(double[] id0)
Specify plane normal. |
void |
setNormal(double id0,
double id1,
double id2)
Specify plane normal. |
void |
setOrigin(double[] id0)
Specify a point defining the origin of the plane. |
void |
setOrigin(double id0,
double id1,
double id2)
Specify a point defining the origin of the plane. |
void |
setPoint1(double[] id0)
Specify a point defining the first axis of the plane. |
void |
setPoint1(double id0,
double id1,
double id2)
Specify a point defining the first axis of the plane. |
void |
setPoint2(double[] id0)
Specify a point defining the second axis of the plane. |
void |
setPoint2(double id0,
double id1,
double id2)
Specify a point defining the second axis of the plane. |
void |
setSRange(double[] id0)
Specify s-coordinate range for texture s-t coordinate pair. |
void |
setSRange(double id0,
double id1)
Specify s-coordinate range for texture s-t coordinate pair. |
void |
setTRange(double[] id0)
Specify t-coordinate range for texture s-t coordinate pair. |
void |
setTRange(double id0,
double id1)
Specify t-coordinate range for texture s-t coordinate pair. |
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 vtkTextureMapToPlane()
protected vtkTextureMapToPlane(int dmy)
Method Detail |
public vtkTextureMapToPlane getThisTextureMapToPlane()
public java.lang.String getClassName()
vtkObjectBase
getClassName
in class vtkDataSetToDataSetFilter
public int isA(java.lang.String id0)
vtkObjectBase
isA
in class vtkDataSetToDataSetFilter
public void setOrigin(double id0, double id1, double id2)
public void setOrigin(double[] id0)
public double[] getOrigin()
public void setPoint1(double id0, double id1, double id2)
public void setPoint1(double[] id0)
public double[] getPoint1()
public void setPoint2(double id0, double id1, double id2)
public void setPoint2(double[] id0)
public double[] getPoint2()
public void setNormal(double id0, double id1, double id2)
public void setNormal(double[] id0)
public double[] getNormal()
public void setSRange(double id0, double id1)
public void setSRange(double[] id0)
public double[] getSRange()
public void setTRange(double id0, double id1)
public void setTRange(double[] id0)
public double[] getTRange()
public void setAutomaticPlaneGeneration(int id0)
public int getAutomaticPlaneGeneration()
public void automaticPlaneGenerationOn()
public void automaticPlaneGenerationOff()
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 |