Skip to content

TextureMapToPlane ​

Introduction ​

vtkTextureMapToPlane generate texture coordinates by mapping points to a plane The TCoords DataArray is name 'Texture Coordinates'

Methods ​

extend ​

Method used to decorate a given object (publicAPI+model) with vtkTextureMapToPlane characteristics.

ArgumentTypeRequiredDescription
publicAPIYesobject on which methods will be bounds (public)
modelYesobject on which data structure will be bounds (protected)
initialValuesITextureMapToPlaneNo(default: {})

getAutomaticPlaneGeneration ​

Get whether the automatic plane generation is set.

getNormal ​

Get the normal object.

getNormalByReference ​

Get the normal object.

getOrigin ​

Get the origin of the plane.

getOriginByReference ​

Get the origin of the plane.

getPoint1 ​

Get the point which defines the first axis of the plane.

getPoint1ByReference ​

Get the point which defines the first axis of the plane.

getPoint2 ​

Get the point which defines the second axis of the plane

getPoint2ByReference ​

Get the point which defines the second axis of the plane

getSRange ​

Get the s-coordinate range for texture s-t coordinate pair.

getSRangeByReference ​

Get the s-coordinate range for texture s-t coordinate pair.

getTRange ​

Get the t-coordinate range for texture s-t coordinate pair.

getTRangeByReference ​

Get the t-coordinate range for texture s-t coordinate pair.

newInstance ​

Method used to create a new instance of vtkTextureMapToPlane

ArgumentTypeRequiredDescription
initialValuesITextureMapToPlaneNofor pre-setting some of its content

requestData ​

ArgumentTypeRequiredDescription
inDataYes
outDataYes

setAutomaticPlaneGeneration ​

Turn on/off the automatic plane generation.

ArgumentTypeRequiredDescription
automaticPlaneGenerationNumberYes

setNormal ​

Set the normal object.

ArgumentTypeRequiredDescription
xNumberYesThe x coordinate.
yNumberYesThe y coordinate.
zNumberYesThe z coordinate.

setNormal ​

Set the normal object.

ArgumentTypeRequiredDescription
normalArray[Number]YesThe normal object coordinates.

setNormalFrom ​

Set the normal object.

ArgumentTypeRequiredDescription
normalArray[Number]YesThe normal object coordinates.

setOrigin ​

Set the origin of the plane.

ArgumentTypeRequiredDescription
xNumberYesThe x coordinate.
yNumberYesThe y coordinate.
zNumberYesThe z coordinate.

setOrigin ​

Set the origin of the plane.

ArgumentTypeRequiredDescription
originArray[Number]YesThe origin of the plane.

setOriginFrom ​

Set the origin of the plane.

ArgumentTypeRequiredDescription
originArray[Number]YesThe origin of the plane.

setPoint1 ​

Set the point which defines the first axis of the plane.

ArgumentTypeRequiredDescription
xNumberYesThe x coordinate of the point.
yNumberYesThe y coordinate of the point.
zNumberYesThe z coordinate of the point.

setPoint1 ​

Set the point which defines the first axis of the plane.

ArgumentTypeRequiredDescription
point1Array[Number]YesThe coordinate of the point.

setPoint1From ​

Set the point which defines the first axis of the plane.

ArgumentTypeRequiredDescription
point1Array[Number]YesThe coordinate of the point.

setPoint2 ​

Set the point which defines the second axis of the plane

ArgumentTypeRequiredDescription
xNumberYesThe x coordinate of the point.
yNumberYesThe y coordinate of the point.
zNumberYesThe z coordinate of the point.

setPoint2 ​

Set the point which defines the second axis of the plane

ArgumentTypeRequiredDescription
point2Array[Number]YesThe coordinate of the point.

setPoint2From ​

Set the point which defines the second axis of the plane

ArgumentTypeRequiredDescription
point2Array[Number]YesThe coordinate of the point.

setSRange ​

Set the s-coordinate range for texture s-t coordinate pair.

ArgumentTypeRequiredDescription
minNumberYesThe min of the s-coordinate range
maxNumberYesThe min of the s-coordinate range.

setSRange ​

Set the s-coordinate range for texture s-t coordinate pair.

ArgumentTypeRequiredDescription
sRangeArray[Number]YesThe s-coordinate range.

setSRangeFrom ​

Set the s-coordinate range for texture s-t coordinate pair.

ArgumentTypeRequiredDescription
sRangeArray[Number]YesThe s-coordinate range.

setTRange ​

Set the t-coordinate range for texture s-t coordinate pair.

ArgumentTypeRequiredDescription
minNumberYesThe min of the t-coordinate range
maxNumberYesThe min of the t-coordinate range.

setTRange ​

Set the t-coordinate range for texture s-t coordinate pair.

ArgumentTypeRequiredDescription
tRangeArray[Number]YesThe t-coordinate range.

setTRangeFrom ​

Set the t-coordinate range for texture s-t coordinate pair.

ArgumentTypeRequiredDescription
tRangeArray[Number]YesThe t-coordinate range.