Class TexCoordGenType
- java.lang.Object
-
- net.opengis.gml.v_3_1_1.AbstractGMLType
-
- net.opengis.citygml.appearance.v_2_0.AbstractTextureParameterizationType
-
- net.opengis.citygml.appearance.v_2_0.TexCoordGenType
-
- All Implemented Interfaces:
Cloneable,org.jvnet.jaxb.lang.CopyTo,org.jvnet.jaxb.lang.Equals,org.jvnet.jaxb.lang.HashCode,org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
public class TexCoordGenType extends AbstractTextureParameterizationType implements Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
Texture parameterization using a transformation matrix. The transformation matrix "worldToTexture" can be used to derive texture coordinates from an object's location. This 3x4 matrix T computes the coordinates (s,t) from a homogeneous world position p as (s,t) = (s'/q', t'/q') with (s', t', q') = T*p. Thus, perspective projections can be specified. The SRS can be specified using standard attributes. If an object is given in a different reference system, it is transformed to the SRS before applying the transformation. A transformation matrix can be used for whole surfaces. It is not required to specify it per LinearRing.Java class for TexCoordGenType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TexCoordGenType"> <complexContent> <extension base="{http://www.opengis.net/citygml/appearance/2.0}AbstractTextureParameterizationType"> <sequence> <element name="worldToTexture"> <complexType> <simpleContent> <extension base="<http://www.opengis.net/citygml/2.0>TransformationMatrix3x4Type"> <attGroup ref="{http://www.opengis.net/gml}SRSReferenceGroup"/> </extension> </simpleContent> </complexType> </element> <element ref="{http://www.opengis.net/citygml/appearance/2.0}_GenericApplicationPropertyOfTexCoordGen" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTexCoordGenType.WorldToTextureJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected List<Object>genericApplicationPropertyOfTexCoordGenprotected TexCoordGenType.WorldToTextureworldToTexture-
Fields inherited from class net.opengis.citygml.appearance.v_2_0.AbstractTextureParameterizationType
genericApplicationPropertyOfTextureParameterization
-
Fields inherited from class net.opengis.gml.v_3_1_1.AbstractGMLType
description, id, metaDataProperty, name
-
-
Constructor Summary
Constructors Constructor Description TexCoordGenType()Default no-arg constructorTexCoordGenType(List<Object> genericApplicationPropertyOfTextureParameterization, TexCoordGenType.WorldToTexture worldToTexture, List<Object> genericApplicationPropertyOfTexCoordGen)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuilderappend(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)StringBuilderappendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)Objectclone()ObjectcopyTo(Object target)ObjectcopyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)ObjectcreateNewInstance()booleanequals(Object object)booleanequals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)List<Object>getGenericApplicationPropertyOfTexCoordGen()Gets the value of the genericApplicationPropertyOfTexCoordGen property.TexCoordGenType.WorldToTexturegetWorldToTexture()Gets the value of the worldToTexture property.inthashCode()inthashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)booleanisSetGenericApplicationPropertyOfTexCoordGen()booleanisSetWorldToTexture()voidmergeFrom(Object left, Object right)voidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy)voidsetGenericApplicationPropertyOfTexCoordGen(List<Object> value)voidsetWorldToTexture(TexCoordGenType.WorldToTexture value)Sets the value of the worldToTexture property.StringtoString()voidunsetGenericApplicationPropertyOfTexCoordGen()TexCoordGenTypewithGenericApplicationPropertyOfTexCoordGen(Object... values)TexCoordGenTypewithGenericApplicationPropertyOfTexCoordGen(Collection<Object> values)TexCoordGenTypewithGenericApplicationPropertyOfTexCoordGen(List<Object> value)TexCoordGenTypewithGenericApplicationPropertyOfTextureParameterization(Object... values)TexCoordGenTypewithGenericApplicationPropertyOfTextureParameterization(Collection<Object> values)TexCoordGenTypewithGenericApplicationPropertyOfTextureParameterization(List<Object> value)TexCoordGenTypewithWorldToTexture(TexCoordGenType.WorldToTexture value)-
Methods inherited from class net.opengis.citygml.appearance.v_2_0.AbstractTextureParameterizationType
getGenericApplicationPropertyOfTextureParameterization, isSetGenericApplicationPropertyOfTextureParameterization, setGenericApplicationPropertyOfTextureParameterization, unsetGenericApplicationPropertyOfTextureParameterization
-
Methods inherited from class net.opengis.gml.v_3_1_1.AbstractGMLType
getDescription, getId, getMetaDataProperty, getName, isSetDescription, isSetId, isSetMetaDataProperty, isSetName, setDescription, setId, setMetaDataProperty, setName, unsetMetaDataProperty, unsetName, withDescription, withId, withMetaDataProperty, withMetaDataProperty, withMetaDataProperty, withName, withName, withName
-
-
-
-
Field Detail
-
worldToTexture
protected TexCoordGenType.WorldToTexture worldToTexture
-
-
Constructor Detail
-
TexCoordGenType
public TexCoordGenType()
Default no-arg constructor
-
TexCoordGenType
public TexCoordGenType(List<Object> genericApplicationPropertyOfTextureParameterization, TexCoordGenType.WorldToTexture worldToTexture, List<Object> genericApplicationPropertyOfTexCoordGen)
Fully-initialising value constructor
-
-
Method Detail
-
getWorldToTexture
public TexCoordGenType.WorldToTexture getWorldToTexture()
Gets the value of the worldToTexture property.- Returns:
- possible object is
TexCoordGenType.WorldToTexture
-
setWorldToTexture
public void setWorldToTexture(TexCoordGenType.WorldToTexture value)
Sets the value of the worldToTexture property.- Parameters:
value- allowed object isTexCoordGenType.WorldToTexture
-
isSetWorldToTexture
public boolean isSetWorldToTexture()
-
getGenericApplicationPropertyOfTexCoordGen
public List<Object> getGenericApplicationPropertyOfTexCoordGen()
Gets the value of the genericApplicationPropertyOfTexCoordGen property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the genericApplicationPropertyOfTexCoordGen property.For example, to add a new item, do as follows:
getGenericApplicationPropertyOfTexCoordGen().add(newItem);Objects of the following type(s) are allowed in the list
Object
-
isSetGenericApplicationPropertyOfTexCoordGen
public boolean isSetGenericApplicationPropertyOfTexCoordGen()
-
unsetGenericApplicationPropertyOfTexCoordGen
public void unsetGenericApplicationPropertyOfTexCoordGen()
-
toString
public String toString()
- Overrides:
toStringin classAbstractTextureParameterizationType
-
append
public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
- Specified by:
appendin interfaceorg.jvnet.jaxb.lang.ToString- Overrides:
appendin classAbstractTextureParameterizationType
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb.lang.ToString- Overrides:
appendFieldsin classAbstractTextureParameterizationType
-
equals
public boolean equals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb.lang.Equals- Overrides:
equalsin classAbstractTextureParameterizationType
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classAbstractTextureParameterizationType
-
hashCode
public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb.lang.HashCode- Overrides:
hashCodein classAbstractTextureParameterizationType
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractTextureParameterizationType
-
clone
public Object clone()
- Overrides:
clonein classAbstractTextureParameterizationType
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo- Overrides:
copyToin classAbstractTextureParameterizationType
-
copyTo
public Object copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo- Overrides:
copyToin classAbstractTextureParameterizationType
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.CopyTo- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom
-
mergeFrom
public void mergeFrom(Object left, Object right)
- Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
mergeFromin classAbstractTextureParameterizationType
-
mergeFrom
public void mergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy)- Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
mergeFromin classAbstractTextureParameterizationType
-
setGenericApplicationPropertyOfTexCoordGen
public void setGenericApplicationPropertyOfTexCoordGen(List<Object> value)
-
withWorldToTexture
public TexCoordGenType withWorldToTexture(TexCoordGenType.WorldToTexture value)
-
withGenericApplicationPropertyOfTexCoordGen
public TexCoordGenType withGenericApplicationPropertyOfTexCoordGen(Object... values)
-
withGenericApplicationPropertyOfTexCoordGen
public TexCoordGenType withGenericApplicationPropertyOfTexCoordGen(Collection<Object> values)
-
withGenericApplicationPropertyOfTexCoordGen
public TexCoordGenType withGenericApplicationPropertyOfTexCoordGen(List<Object> value)
-
withGenericApplicationPropertyOfTextureParameterization
public TexCoordGenType withGenericApplicationPropertyOfTextureParameterization(Object... values)
-
withGenericApplicationPropertyOfTextureParameterization
public TexCoordGenType withGenericApplicationPropertyOfTextureParameterization(Collection<Object> values)
-
withGenericApplicationPropertyOfTextureParameterization
public TexCoordGenType withGenericApplicationPropertyOfTextureParameterization(List<Object> value)
-
-