Class RenderedTexture
java.lang.Object
org.web3d.x3d.jsail.X3DConcreteElement
org.web3d.x3d.jsail.X3DConcreteNode
org.web3d.x3d.jsail.Texturing.RenderedTexture
- All Implemented Interfaces:
X3DNode, X3DUrlOutputObject, X3DAppearanceChildNode, RenderedTexture, X3DSingleTextureNode, X3DTexture2DNode, X3DTextureNode
RenderedTexture is a texture node that renders the view from a local viewpoint or separate scene into an offscreen buffer, producing an image or depth map that can be rendered from model geometry in real time.
RenderedTexture node tooltip: (X3D version 4.1 draft) [X3DTexture2DNode, X3DUrlOutputObject, X3DNetworkSensorNode] RenderedTexture is a texture node that renders the view from a local viewpoint or separate scene into an offscreen buffer, producing an image or depth map that can be rendered from model geometry in real time. The output renderings can optionally be saved via the url field as a local file or a stream source. RenderedTexture enables effects such as dynamic reflections, live video screens, or portal views by continuously updating the texture based on the rendered content. RenderedTexture creates a 2D-image texture map using a numeric array of pixel values. Texture maps have a 2D coordinate system (s, t) horizontal and vertical, with (s, t) texture-coordinate values in range [0.0, 1.0] for opposite corners of the image.
Package hint: This org.web3d.x3d.jsail concrete class is used for implementing a standalone X3D object as a Plain Old Java Object (POJO). If you are writing Java code for use inside an X3D Script node, compile separate code using only the org.web3d.x3d.sai package instead.
RenderedTexture node tooltip: (X3D version 4.1 draft) [X3DTexture2DNode, X3DUrlOutputObject, X3DNetworkSensorNode] RenderedTexture is a texture node that renders the view from a local viewpoint or separate scene into an offscreen buffer, producing an image or depth map that can be rendered from model geometry in real time. The output renderings can optionally be saved via the url field as a local file or a stream source. RenderedTexture enables effects such as dynamic reflections, live video screens, or portal views by continuously updating the texture based on the rendered content. RenderedTexture creates a 2D-image texture map using a numeric array of pixel values. Texture maps have a 2D coordinate system (s, t) horizontal and vertical, with (s, t) texture-coordinate values in range [0.0, 1.0] for opposite corners of the image.
- Hint: if no Viewpoint or OrthoViewpoint is a child node, then the currently bound viewpoint in the scene is used as the perspective point.
- Warning: aggregate file size can grow dramatically.
- Hint: can contain a single TextureProperties node.
- Hint: insert parent Shape and Appearance nodes before adding texture.
- Hint: X3D Scene Authoring Hints, Images and Videos https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Images
- Warning: see ComposedCubeMapTexture and TextureBackground for special containerField values.
- Hint: if a texture is opaque, omitting values in the alpha channel can help avoid rendering artifacts related to transparency.
- Hint: Texture coordinates are reapplied (or else recomputed if textureTransform field initially NULL) whenever the corresponding vertex-based geometry changes.
- Hint: Texture mapping https://en.wikipedia.org/wiki/Texture_mapping
- Hint: X3D Architecture 17.2.2 Lighting model https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/lighting.html#Lightingmodel
Package hint: This org.web3d.x3d.jsail concrete class is used for implementing a standalone X3D object as a Plain Old Java Object (POJO). If you are writing Java code for use inside an X3D Script node, compile separate code using only the org.web3d.x3d.sai package instead.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intSFInt32 field named colorDepth has default value 4 (Java syntax) or 4 (XML syntax).static final StringString constant COMPONENT defines X3D component for the RenderedTexture element: Texturingstatic final StringcontainerField describes typical field relationship of a node to its parent.static final booleanSFBool field named depthMap has default value false (Java syntax) or false (XML syntax).static final StringSFString field named description has default value equal to an empty string.static final StringfromField ROUTE name for SFInt32 field named colorDepth.static final StringfromField ROUTE name for SFBool field named depthMap.static final StringfromField ROUTE name for SFString field named description.static final StringfromField ROUTE name for SFNode field named IS.static final StringfromField ROUTE name for SFBool field named isActive.static final StringfromField ROUTE name for SFInt32 field named maxNumberFrames.static final StringfromField ROUTE name for SFNode field named metadata.static final StringfromField ROUTE name for SFBool field named replaceImage.static final StringfromField ROUTE name for SFBool field named singleFrame.static final StringfromField ROUTE name for SFString field named update.static final StringfromField ROUTE name for SFTime field named updateInterval.static final StringfromField ROUTE name for MFString field named url.static final StringfromField ROUTE name for SFInt32 field named width.static final intSFInt32 field named height has default value 128 (Java syntax) or 128 (XML syntax).static final ISSFNode field named IS has default value null (Java syntax) or NULL (XML syntax).static final intInteger constant LEVEL provides default X3D Texturing component level for this element: 4static final intSFInt32 field named maxNumberFrames has default value 1000 (Java syntax) or 1000 (XML syntax).static final X3DMetadataObjectSFNode field named metadata has default value null (Java syntax) or NULL (XML syntax).static final StringString constant NAME provides name of this element: RenderedTexture.static final booleanSFBool field named repeatS has default value true (Java syntax) or true (XML syntax).static final booleanSFBool field named repeatT has default value true (Java syntax) or true (XML syntax).static final booleanSFBool field named replaceImage has default value true (Java syntax) or true (XML syntax).static final booleanSFBool field named singleFrame has default value true (Java syntax) or true (XML syntax).static final TexturePropertiesSFNode field named textureProperties has default value null (Java syntax) or NULL (XML syntax).static final StringtoField ROUTE name for SFInt32 field named colorDepth.static final StringtoField ROUTE name for SFBool field named depthMap.static final StringtoField ROUTE name for SFString field named description.static final StringtoField ROUTE name for SFInt32 field named maxNumberFrames.static final StringtoField ROUTE name for SFNode field named metadata.static final StringtoField ROUTE name for SFBool field named replaceImage.static final StringtoField ROUTE name for SFBool field named singleFrame.static final StringtoField ROUTE name for SFString field named update.static final StringtoField ROUTE name for SFTime field named updateInterval.static final StringtoField ROUTE name for MFString field named url.static final StringtoField ROUTE name for SFInt32 field named width.static final StringTooltip: texture to be rendered every frame.static final StringSFString field named update has default value "NONE" (Java syntax) or NONE (XML syntax).static final StringTooltip: render texture once at end of frame.static final StringTooltip: no further texture updates are rendered.static final doubleSFTime field named updateInterval has default value 0.1 (Java syntax) or 0.1 (XML syntax).static final intSFInt32 field named width has default value 128 (Java syntax) or 128 (XML syntax).Fields inherited from class X3DConcreteNode
containerField_ALLOWED_VALUES, containerFieldOverrideModifier and TypeFieldDescriptionString[]This string array provides all allowed containerField values for this node, starting with the default value.Warning: containerFieldOverride describes a non-default field relationship of a node to its parent, overriding the default or alternate containerField value.Fields inherited from class X3DConcreteElement
validationResult -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for RenderedTexture to initialize member variables with default values.RenderedTexture(String DEFlabel) Utility constructor that assigns DEF label after initializing member variables with default values. -
Method Summary
Modifier and TypeMethodDescriptionaddComments(String newComment) Add comment as String to contained commentsList.addComments(String[] newComments) Add comments as String[] array to contained commentsList.addComments(CommentsBlock newCommentsBlock) Add CommentsBlock to contained commentsList.Add singleton String value to MFString url field, allowing duplicate and empty string values if provided.Add singleton SFString value to MFString url field, allowing duplicate or empty string values if provided.clearIS()Utility method to clear SFNode value of IS field.Utility method to clear SFNode value of metadata field.Utility method to clear SFNode value of textureProperties field.clearUrl()Utility method to clear MFString value of url field.findElementByNameValue(String nameValue) Recursive method to provide object reference to node or statement by name attribute, if found as part of this element or in a contained element.findElementByNameValue(String nameValue, String elementName) Recursive method to provide object reference to node or statement by name attribute, if found as part of this element or in a contained element.findNodeByDEF(String DEFvalue) Recursive method to provide object reference to node by DEF, if found as this node or in a contained node.getAccessType(String fieldName) Indicate accessType corresponding to given fieldName.intProvide int value using RGB values [0..1] from inputOutput SFInt32 field named colorDepth.static final intPublic accessor for encapsulated SFInt32 default value 4, returned as int.final StringDefines X3D component for the RenderedTexture element: Texturingfinal intProvides default X3D component level for this element: 4final StringcontainerField describes typical field relationship of a node to its parent.Provide String value from inputOutput SFString field named class.Provide String value from inputOutput SFString field named style.getDEF()Provide String value from inputOutput SFString field named DEF.booleanProvide boolean value from inputOutput SFBool field named depthMap.static final booleanPublic accessor for encapsulated SFBool default value false, returned as boolean.Provide String value from inputOutput SFString field named description.static final StringPublic accessor for encapsulated SFString default value, returned as String.final StringProvides name of this element: RenderedTexturegetFieldType(String fieldName) Indicate type corresponding to given fieldName.intProvide int value from initializeOnly SFInt32 field named height.static final intPublic accessor for encapsulated SFInt32 default value 128, returned as int.Provide String value from inputOutput SFString field named id.getIS()Provide IS instance (using a properly typed node) from inputOutput SFNode field IS.booleanProvide boolean value from outputOnly SFBool field named isActive.static final ISPublic accessor for encapsulated SFNode default value null, returned as IS.intProvide int value from inputOutput SFInt32 field named maxNumberFrames.static final intPublic accessor for encapsulated SFInt32 default value 1000, returned as int.Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.static final X3DMetadataObjectPublic accessor for encapsulated SFNode default value null, returned as org.web3d.x3d.sai.Core.X3DMetadataObject.booleanProvide boolean value from initializeOnly SFBool field named repeatS.static final booleanPublic accessor for encapsulated SFBool default value true, returned as boolean.booleanProvide boolean value from initializeOnly SFBool field named repeatT.static final booleanPublic accessor for encapsulated SFBool default value true, returned as boolean.booleanProvide boolean value from inputOutput SFBool field named replaceImage.static final booleanPublic accessor for encapsulated SFBool default value true, returned as boolean.booleanProvide boolean value from inputOutput SFBool field named singleFrame.static final booleanPublic accessor for encapsulated SFBool default value true, returned as boolean.Provide org.web3d.x3d.sai.Texturing.TextureProperties instance (using a properly typed node) from initializeOnly SFNode field textureProperties.static final TexturePropertiesPublic accessor for encapsulated SFNode default value null, returned as org.web3d.x3d.sai.Texturing.TextureProperties.Provide String enumeration value (baseType xs:NMTOKEN) ["NONE" | "NEXT_FRAME_ONLY" | "ALWAYS"] from inputOutput SFString field named update.static final StringPublic accessor for encapsulated SFString default value "NONE", returned as String.doubleProvide double value in seconds from inputOutput SFTime field named updateInterval.static final doublePublic accessor for encapsulated SFTime default value 0.1, returned as double.String[]getUrl()Provide array of String results from inputOutput MFString field named url.static final String[]Public accessor for encapsulated MFString default value array, returned as String array.Public accessor for encapsulated MFString default value , returned as ArrayListUtility method to get ArrayList value of MFString url field, similar togetUrl().Utility method to get String value of MFString url field, similar togetUrl().getUSE()Provide String value from inputOutput SFString field named USE.intgetWidth()Provide int value from inputOutput SFInt32 field named width.static final intPublic accessor for encapsulated SFInt32 default value 128, returned as int.booleanhasElementByNameValue(String nameValue, String elementName) Recursive method to determine whether node or statement with given name attribute is found, meaning both objects are attached to same scene graph.booleanhasIS()Indicate whether an object is available for inputOutput SFNode field IS.booleanIndicate whether an object is available for inputOutput SFNode field metadata.booleanhasNodeByDEF(String DEFvalue) Recursive method to determine whether node with DEFvalue is found, meaning both objects are attached to same scene graph.booleanIndicate whether an object is available for initializeOnly SFNode field textureProperties.final voidInitialize all member variables to default values.setColorDepth(int newValue) Accessor method to assign int value to inputOutput SFInt32 field named colorDepth.setColorDepth(SFInt32 newValue) Assign typed object value to SFInt32 colorDepth field, similar tosetColorDepth(int).final RenderedTexturesetCssClass(String newValue) Accessor method to assign String value to inputOutput SFString field named class.setCssClass(SFString newValue) Assign typed object value to SFString cssClass field, similar tosetCssClass(String).final RenderedTexturesetCssStyle(String newValue) Accessor method to assign String value to inputOutput SFString field named style.setCssStyle(SFString newValue) Assign typed object value to SFString cssClass field, similar tosetCssStyle(String).final RenderedTextureAccessor method to assign String value to inputOutput SFString field named DEF.Assign typed object value to SFString DEF field, similar tosetDEF(String).setDepthMap(boolean newValue) Accessor method to assign boolean value to inputOutput SFBool field named depthMap.setDepthMap(SFBool newValue) Assign typed object value to SFBool depthMap field, similar tosetDepthMap(boolean).setDescription(String newValue) Accessor method to assign String value to inputOutput SFString field named description.setDescription(SFString newValue) Assign typed object value to SFString description field, similar tosetDescription(String).setHeight(int newValue) Accessor method to assign int value to initializeOnly SFInt32 field named height.Assign typed object value to SFInt32 height field, similar tosetHeight(int).final RenderedTextureAccessor method to assign String value to inputOutput SFString field named id.Assign typed object value to SFString HtmlId field, similar tosetHtmlId(String).Accessor method to assign IS instance (using a properly typed node) to inputOutput SFNode field IS.setMaxNumberFrames(int newValue) Accessor method to assign int value to inputOutput SFInt32 field named maxNumberFrames.setMaxNumberFrames(SFInt32 newValue) Assign typed object value to SFInt32 maxNumberFrames field, similar tosetMaxNumberFrames(int).setMetadata(ProtoInstance newValue) Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.setMetadata(X3DMetadataObject newValue) Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.setRepeatS(boolean newValue) Accessor method to assign boolean value to initializeOnly SFBool field named repeatS.setRepeatS(SFBool newValue) Assign typed object value to SFBool repeatS field, similar tosetRepeatS(boolean).setRepeatT(boolean newValue) Accessor method to assign boolean value to initializeOnly SFBool field named repeatT.setRepeatT(SFBool newValue) Assign typed object value to SFBool repeatT field, similar tosetRepeatT(boolean).setReplaceImage(boolean newValue) Accessor method to assign boolean value to inputOutput SFBool field named replaceImage.setReplaceImage(SFBool newValue) Assign typed object value to SFBool replaceImage field, similar tosetReplaceImage(boolean).setSingleFrame(boolean newValue) Accessor method to assign boolean value to inputOutput SFBool field named singleFrame.setSingleFrame(SFBool newValue) Assign typed object value to SFBool singleFrame field, similar tosetSingleFrame(boolean).setTextureProperties(ProtoInstance newValue) Assign ProtoInstance (using a properly typed node) to initializeOnly SFNode field textureProperties.setTextureProperties(TextureProperties newValue) Accessor method to assign org.web3d.x3d.sai.Texturing.TextureProperties instance (using a properly typed node) to initializeOnly SFNode field textureProperties.Accessor method to assign String enumeration value ("NONE" | "NEXT_FRAME_ONLY" | "ALWAYS") to inputOutput SFString field named update.Assign typed object value to SFString update field, similar tosetUpdate(String).setUpdateInterval(double newValue) Accessor method to assign double value in seconds to inputOutput SFTime field named updateInterval.setUpdateInterval(SFTime newValue) Assign typed object value to SFTime updateInterval field, similar tosetUpdateInterval(double).Assign singleton String value to MFString url field, similar tosetUrl(String[]).Accessor method to assign String array to inputOutput MFString field named url.Assign ArrayList value of MFString url field, similar tosetUrl(String[]).Assign typed object value to MFString url field, similar tosetUrl(String[]).Assign single SFString object value to MFString url field, similar tosetUrl(String[]).final RenderedTextureAccessor method to assign String value to inputOutput SFString field named USE.Assign typed object value to SFString USE field, similar tosetUSE(String).setUSE(RenderedTexture DEFnode) Assign a USE reference to another DEF node of same node type, similar tosetUSE(String).setWidth(int newValue) Accessor method to assign int value to inputOutput SFInt32 field named width.Assign typed object value to SFInt32 width field, similar tosetWidth(int).toStringClassicVRML(int indentLevel) Recursive method to provide ClassicVRML string serialization.toStringVRML97(int indentLevel) Recursive method to provide VRML97 string serialization.toStringX3D(int indentLevel) Recursive method to provide X3D string serialization of this model subgraph, utilizing XML encoding and conforming to X3D Canonical Form.validate()Recursive method to validate this element plus all contained nodes and statements, using both datatype-specification value checks and regular expression (regex) checking of corresponding string values.Methods inherited from class X3DConcreteNode
getContainerFieldAllowedValues, getContainerFieldOverride, getDEFDefault, getName, getUSEDefault, hasDEF, hasNameField, hasUSE, includesNameField, isNode, isStatement, resetContainerFieldOverride, setConcreteDEF, setConcreteUSE, setContainerFieldOverrideModifier and TypeMethodDescriptionString[]containerField describes the field relationship of a node to its parent.Warning: containerFieldOverride describes a non-default field relationship of a node to its parent, overriding the default or alternate containerField value.Public SFString accessor for field named DEF has default value equal to an empty string.getName()Utility method to permit querying name valuePublic SFString accessor for field named USE has default value equal to an empty string.booleanhasDEF()Utility method to indicate whether this element has a DEF identifier.booleanWhether or not this class has a getName() methodbooleanhasUSE()Utility method to indicate whether this element has a USE reference to another previously defined element (which means other fields must be empty).protected voidProtected method for X3DJSAIL class initialize() methods to indicate whether the current concrete node has a getName() methodstatic final booleanisNode()Utility method to indicate whether this element is an X3D Graphics node (implementing X3DConcreteNode), returns true.static final booleanUtility method to indicate whether this element is an X3D Graphics statement (implementing X3DConcreteStatement), returns false.voidWarning: containerFieldOverride describes a non-default field relationship of a node to its parent, overriding the default or alternate containerField value.protected voidsetConcreteDEF(String newValue) Protected internal superclass method to keep DEF private, scene authors should use method setDEF(newValue) instead.protected final voidsetConcreteUSE(String newValue) Protected internal superclass method to keep USE private, scene authors should use method setUse(newValue) instead.setContainerFieldOverride(String value) Warning: containerFieldOverride describes a non-default field relationship of a node to its parent, overriding the default or alternate containerField value.Methods inherited from class X3DConcreteElement
addComments, clearParent, findAncestorElementByName, findAncestorProtoBody, findAncestorScene, findAncestorX3D, getCssClassDefault, getCssStyleDefault, getHtmlIdDefault, getPackageName, getParent, getValidationResult, hasAncestorElementByName, hasAncestorProtoBody, hasAncestorScene, hasAncestorX3D, hasParent, isValid, setConcreteCssClass, setConcreteCssStyle, setConcreteHtmlId, setParent, toStringClassicVRML, toStringVRML97, toStringX3DModifier and TypeMethodDescriptionDebug support: adding empty comment as CommentsBlock to children field has no effect.voidPackage-protected internal method to clear local reference to parent object, if any.findAncestorElementByName(String ancestorElementName) Find object reference to ancestor element (i.e. node or statement), if this object is an attached child.Find object reference to ancestor ProtoBody, if this node or statement is a child.Find object reference to ancestor Scene element, assumes this object is an attached child.Find object reference to ancestor X3D element, if this node or statement is part of an X3D object.static final StringPublic SFString accessor for field named class for CSS has default value equal to an empty string.static final StringPublic SFString accessor for field named style for CSS has default value equal to an empty string.static final StringPublic SFString accessor for field named id for html has default value equal to an empty string.static StringgetPackageName(String className) Provide fully qualified package for a given element object, including className.Provide object reference to parent X3D node or statement, if any.Get output of results from prior validation, if anybooleanhasAncestorElementByName(String ancestorElementName) Determine whether ancestor element (i.e. node or statement) is found, meaning this object is an attached child.booleanDetermine whether ancestor ProtoBody element is found, meaning this object is an attached child.booleanDetermine whether ancestor Scene element is found, meaning this object is an attached child.booleanDetermine whether ancestor X3D element is found, meaning this object is an attached child.booleanWhether parent object exists.booleanisValid()Recursive method to determine whether this element is valid.protected voidsetConcreteCssClass(String newValue) Protected internal superclass method to keep cssClass private, scene authors should use method setCssClass(newValue) instead.protected voidsetConcreteCssStyle(String newValue) Protected internal superclass method to keep cssStyles private, scene authors should use method setCssStyle(newValue) instead.protected voidsetConcreteHtmlId(String newValue) Protected internal superclass method to keep HTML id private, scene authors should use method setHtmlId(newValue) instead.voidsetParent(X3DConcreteElement newParentObject) Package-internal method to set parent object reference.Recursive method to provide ClassicVRML string serialization.Recursive method to provide VRML97 string serialization.Recursive method to provide X3D string serialization of this model subgraph, utilizing XML encoding and conforming to X3D Canonical Form.
-
Field Details
-
UPDATE_NONE
Tooltip: no further texture updates are rendered. SFString field named update with X3DUOM simpleType generatedCubeMapTextureUpdateChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "NONE" (Java syntax) or NONE (XML syntax).- See Also:
-
UPDATE_NEXT_FRAME_ONLY
Tooltip: render texture once at end of frame. SFString field named update with X3DUOM simpleType generatedCubeMapTextureUpdateChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "NEXT_FRAME_ONLY" (Java syntax) or NEXT_FRAME_ONLY (XML syntax).- See Also:
-
UPDATE_ALWAYS
Tooltip: texture to be rendered every frame. SFString field named update with X3DUOM simpleType generatedCubeMapTextureUpdateChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "ALWAYS" (Java syntax) or ALWAYS (XML syntax).- See Also:
-
NAME
String constant NAME provides name of this element: RenderedTexture.- See Also:
-
COMPONENT
String constant COMPONENT defines X3D component for the RenderedTexture element: Texturing- See Also:
-
LEVEL
public static final int LEVELInteger constant LEVEL provides default X3D Texturing component level for this element: 4- See Also:
-
COLORDEPTH_DEFAULT_VALUE
public static final int COLORDEPTH_DEFAULT_VALUESFInt32 field named colorDepth has default value 4 (Java syntax) or 4 (XML syntax).- See Also:
-
DEPTHMAP_DEFAULT_VALUE
public static final boolean DEPTHMAP_DEFAULT_VALUESFBool field named depthMap has default value false (Java syntax) or false (XML syntax).- See Also:
-
DESCRIPTION_DEFAULT_VALUE
SFString field named description has default value equal to an empty string.- See Also:
-
HEIGHT_DEFAULT_VALUE
public static final int HEIGHT_DEFAULT_VALUESFInt32 field named height has default value 128 (Java syntax) or 128 (XML syntax).- See Also:
-
IS_DEFAULT_VALUE
SFNode field named IS has default value null (Java syntax) or NULL (XML syntax). -
MAXNUMBERFRAMES_DEFAULT_VALUE
public static final int MAXNUMBERFRAMES_DEFAULT_VALUESFInt32 field named maxNumberFrames has default value 1000 (Java syntax) or 1000 (XML syntax).- See Also:
-
METADATA_DEFAULT_VALUE
SFNode field named metadata has default value null (Java syntax) or NULL (XML syntax). -
REPEATS_DEFAULT_VALUE
public static final boolean REPEATS_DEFAULT_VALUESFBool field named repeatS has default value true (Java syntax) or true (XML syntax).- See Also:
-
REPEATT_DEFAULT_VALUE
public static final boolean REPEATT_DEFAULT_VALUESFBool field named repeatT has default value true (Java syntax) or true (XML syntax).- See Also:
-
REPLACEIMAGE_DEFAULT_VALUE
public static final boolean REPLACEIMAGE_DEFAULT_VALUESFBool field named replaceImage has default value true (Java syntax) or true (XML syntax).- See Also:
-
SINGLEFRAME_DEFAULT_VALUE
public static final boolean SINGLEFRAME_DEFAULT_VALUESFBool field named singleFrame has default value true (Java syntax) or true (XML syntax).- See Also:
-
TEXTUREPROPERTIES_DEFAULT_VALUE
SFNode field named textureProperties has default value null (Java syntax) or NULL (XML syntax). -
UPDATE_DEFAULT_VALUE
SFString field named update has default value "NONE" (Java syntax) or NONE (XML syntax).- See Also:
-
UPDATEINTERVAL_DEFAULT_VALUE
public static final double UPDATEINTERVAL_DEFAULT_VALUESFTime field named updateInterval has default value 0.1 (Java syntax) or 0.1 (XML syntax).- See Also:
-
WIDTH_DEFAULT_VALUE
public static final int WIDTH_DEFAULT_VALUESFInt32 field named width has default value 128 (Java syntax) or 128 (XML syntax).- See Also:
-
containerField_DEFAULT_VALUE
containerField describes typical field relationship of a node to its parent. Usage is not ordinarily needed when using this API, this default value is provided for informational purposes only.
containerField_DEFAULT_VALUE = "texture";
containerField_ALLOWED_VALUES = {"texture" }; type X3DUOM containerFieldChoicesX3DTexture2DNode- See Also:
-
fromField_COLORDEPTH
fromField ROUTE name for SFInt32 field named colorDepth.- See Also:
-
toField_COLORDEPTH
toField ROUTE name for SFInt32 field named colorDepth.- See Also:
-
fromField_DEPTHMAP
fromField ROUTE name for SFBool field named depthMap.- See Also:
-
toField_DEPTHMAP
toField ROUTE name for SFBool field named depthMap.- See Also:
-
fromField_DESCRIPTION
fromField ROUTE name for SFString field named description.- See Also:
-
toField_DESCRIPTION
toField ROUTE name for SFString field named description.- See Also:
-
fromField_IS
-
fromField_ISACTIVE
fromField ROUTE name for SFBool field named isActive.- See Also:
-
fromField_MAXNUMBERFRAMES
fromField ROUTE name for SFInt32 field named maxNumberFrames.- See Also:
-
toField_MAXNUMBERFRAMES
toField ROUTE name for SFInt32 field named maxNumberFrames.- See Also:
-
fromField_METADATA
fromField ROUTE name for SFNode field named metadata.- See Also:
-
toField_METADATA
toField ROUTE name for SFNode field named metadata.- See Also:
-
fromField_REPLACEIMAGE
fromField ROUTE name for SFBool field named replaceImage.- See Also:
-
toField_REPLACEIMAGE
toField ROUTE name for SFBool field named replaceImage.- See Also:
-
fromField_SINGLEFRAME
fromField ROUTE name for SFBool field named singleFrame.- See Also:
-
toField_SINGLEFRAME
toField ROUTE name for SFBool field named singleFrame.- See Also:
-
fromField_UPDATE
fromField ROUTE name for SFString field named update.- See Also:
-
toField_UPDATE
toField ROUTE name for SFString field named update.- See Also:
-
fromField_UPDATEINTERVAL
fromField ROUTE name for SFTime field named updateInterval.- See Also:
-
toField_UPDATEINTERVAL
toField ROUTE name for SFTime field named updateInterval.- See Also:
-
fromField_URL
fromField ROUTE name for MFString field named url.- See Also:
-
toField_URL
-
fromField_WIDTH
fromField ROUTE name for SFInt32 field named width.- See Also:
-
toField_WIDTH
toField ROUTE name for SFInt32 field named width.- See Also:
-
-
Constructor Details
-
RenderedTexture
public RenderedTexture()Constructor for RenderedTexture to initialize member variables with default values. -
RenderedTexture
Utility constructor that assigns DEF label after initializing member variables with default values.- Parameters:
DEFlabel- unique DEF name for this X3D node
-
-
Method Details
-
getElementName
Provides name of this element: RenderedTexture- Specified by:
getElementNamein classX3DConcreteElement- Returns:
- name of this element
-
getComponent
Defines X3D component for the RenderedTexture element: Texturing- Specified by:
getComponentin classX3DConcreteElement- Returns:
- X3D component for this element
-
getComponentLevel
public final int getComponentLevel()Provides default X3D component level for this element: 4- Specified by:
getComponentLevelin classX3DConcreteElement- Returns:
- default X3D component level for this element
-
getColorDepthDefault
public static final int getColorDepthDefault()Public accessor for encapsulated SFInt32 default value 4, returned as int.- Returns:
- default value
-
getDepthMapDefault
public static final boolean getDepthMapDefault()Public accessor for encapsulated SFBool default value false, returned as boolean.- Returns:
- default value
-
getDescriptionDefault
Public accessor for encapsulated SFString default value, returned as String.- Returns:
- default value
-
getHeightDefault
public static final int getHeightDefault()Public accessor for encapsulated SFInt32 default value 128, returned as int.- Returns:
- default value
-
getISDefault
Public accessor for encapsulated SFNode default value null, returned as IS.- Returns:
- default value
-
getMaxNumberFramesDefault
public static final int getMaxNumberFramesDefault()Public accessor for encapsulated SFInt32 default value 1000, returned as int.- Returns:
- default value
-
getMetadataDefault
Public accessor for encapsulated SFNode default value null, returned as org.web3d.x3d.sai.Core.X3DMetadataObject.- Returns:
- default value
-
getRepeatSDefault
public static final boolean getRepeatSDefault()Public accessor for encapsulated SFBool default value true, returned as boolean.- Returns:
- default value
-
getRepeatTDefault
public static final boolean getRepeatTDefault()Public accessor for encapsulated SFBool default value true, returned as boolean.- Returns:
- default value
-
getReplaceImageDefault
public static final boolean getReplaceImageDefault()Public accessor for encapsulated SFBool default value true, returned as boolean.- Returns:
- default value
-
getSingleFrameDefault
public static final boolean getSingleFrameDefault()Public accessor for encapsulated SFBool default value true, returned as boolean.- Returns:
- default value
-
getTexturePropertiesDefault
Public accessor for encapsulated SFNode default value null, returned as org.web3d.x3d.sai.Texturing.TextureProperties.- Returns:
- default value
-
getUpdateDefault
Public accessor for encapsulated SFString default value "NONE", returned as String.- Returns:
- default value
-
getUpdateIntervalDefault
public static final double getUpdateIntervalDefault()Public accessor for encapsulated SFTime default value 0.1, returned as double.- Returns:
- default value
-
getUrlDefault
Public accessor for encapsulated MFString default value array, returned as String array.- Returns:
- default value
-
getUrlDefaultList
-
getWidthDefault
public static final int getWidthDefault()Public accessor for encapsulated SFInt32 default value 128, returned as int.- Returns:
- default value
-
getFieldType
Indicate type corresponding to given fieldName.- Specified by:
getFieldTypein classX3DConcreteElement- Parameters:
fieldName- name of field in this X3D node- Returns:
- X3D type (SFvec3f etc.), otherwise ConfigurationProperties.ERROR_UNKNOWN_FIELD_TYPE if not recognized
- See Also:
-
getAccessType
Indicate accessType corresponding to given fieldName.- Specified by:
getAccessTypein classX3DConcreteElement- Parameters:
fieldName- name of field in this X3D node- Returns:
- X3D accessType (inputOnly etc.), otherwise ConfigurationProperties.ERROR_UNKNOWN_FIELD_ACCESSTYPE if not recognized
- See Also:
-
getContainerFieldDefault
containerField describes typical field relationship of a node to its parent. Programmer usage is not ordinarily needed when using this API, since this default value is provided for informational purposes only.- Specified by:
getContainerFieldDefaultin classX3DConcreteNode- Returns:
- default containerField value
- See Also:
-
initialize
public final void initialize()Initialize all member variables to default values.- Overrides:
initializein classX3DConcreteNode
-
getColorDepth
public int getColorDepth()Provide int value using RGB values [0..1] from inputOutput SFInt32 field named colorDepth.
Tooltip: [1,4] number of color components for the rendered texture.- Hint: components in each pixel value are 1 (intensity), 2 (intensity alpha), 3 (RGB red green blue), 4 (RGBA red green blue alpha-opacity).
- Specified by:
getColorDepthin interfaceRenderedTexture- Returns:
- value of colorDepth field
-
setColorDepth
Accessor method to assign int value to inputOutput SFInt32 field named colorDepth.
Tooltip: [1,4] number of color components for the rendered texture.- Hint: components in each pixel value are 1 (intensity), 2 (intensity alpha), 3 (RGB red green blue), 4 (RGBA red green blue alpha-opacity).
- Specified by:
setColorDepthin interfaceRenderedTexture- Parameters:
newValue- is new value for the colorDepth field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setColorDepth
Assign typed object value to SFInt32 colorDepth field, similar tosetColorDepth(int).- Parameters:
newValue- is new value for the colorDepth field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getDepthMap
public boolean getDepthMap()Provide boolean value from inputOutput SFBool field named depthMap.
Tooltip: indicates that a generated texture contains a depth buffer for the image, instead of a color buffer. Depth maps have a single component in each pixel of the output image. *- Specified by:
getDepthMapin interfaceRenderedTexture- Returns:
- value of depthMap field
-
setDepthMap
Accessor method to assign boolean value to inputOutput SFBool field named depthMap.
Tooltip: indicates that a generated texture contains a depth buffer for the image, instead of a color buffer. Depth maps have a single component in each pixel of the output image. *- Specified by:
setDepthMapin interfaceRenderedTexture- Parameters:
newValue- is new value for the depthMap field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setDepthMap
Assign typed object value to SFBool depthMap field, similar tosetDepthMap(boolean).- Parameters:
newValue- is new value for the depthMap field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getDescription
Provide String value from inputOutput SFString field named description.
Tooltip: Author-provided prose that describes intended purpose of the url asset.- Hint: many XML tools substitute XML character references for special characters automatically if needed within an attribute value (such as & for & ampersand character, or " for " quotation-mark character).
- Specified by:
getDescriptionin interfaceRenderedTexture- Specified by:
getDescriptionin interfaceX3DSingleTextureNode- Specified by:
getDescriptionin interfaceX3DTexture2DNode- Specified by:
getDescriptionin interfaceX3DTextureNode- Returns:
- value of description field
-
setDescription
Accessor method to assign String value to inputOutput SFString field named description.
Tooltip: Author-provided prose that describes intended purpose of the url asset.- Hint: many XML tools substitute XML character references for special characters automatically if needed within an attribute value (such as & for & ampersand character, or " for " quotation-mark character).
- Specified by:
setDescriptionin interfaceRenderedTexture- Specified by:
setDescriptionin interfaceX3DSingleTextureNode- Specified by:
setDescriptionin interfaceX3DTexture2DNode- Specified by:
setDescriptionin interfaceX3DTextureNode- Parameters:
newValue- is new value for the description field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setDescription
Assign typed object value to SFString description field, similar tosetDescription(String).- Parameters:
newValue- is new value for the description field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getHeight
public int getHeight()Provide int value from initializeOnly SFInt32 field named height.
Tooltip: [0,+infinity) image height in pixels. *- Specified by:
getHeightin interfaceRenderedTexture- Returns:
- value of height field
-
setHeight
Accessor method to assign int value to initializeOnly SFInt32 field named height.
Tooltip: [0,+infinity) image height in pixels. *- Specified by:
setHeightin interfaceRenderedTexture- Parameters:
newValue- is new value for the height field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setHeight
Assign typed object value to SFInt32 height field, similar tosetHeight(int).- Parameters:
newValue- is new value for the height field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getIS
Provide IS instance (using a properly typed node) from inputOutput SFNode field IS.- Specified by:
getISin classX3DConcreteNode- Returns:
- value of IS field
- See Also:
-
setIS
Accessor method to assign IS instance (using a properly typed node) to inputOutput SFNode field IS.- Specified by:
setISin classX3DConcreteNode- Parameters:
newValue- is new value for the IS field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
clearIS
Utility method to clear SFNode value of IS field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
-
hasIS
public boolean hasIS()Indicate whether an object is available for inputOutput SFNode field IS.- Returns:
- whether a concrete statement or CommentsBlock is available.
- See Also:
-
getIsActive
public boolean getIsActive()Provide boolean value from outputOnly SFBool field named isActive.
Tooltip: provides a TRUE event when the data output process becomes active, and a FALSE event when the data output process is stopped. *- Specified by:
getIsActivein interfaceRenderedTexture- Returns:
- value of isActive field
-
getMaxNumberFrames
public int getMaxNumberFrames()Provide int value from inputOutput SFInt32 field named maxNumberFrames.
Tooltip: [0,+infinity) indicates the maximum number of independent frame files (or movie frames) that can be saved for a single series of image captures. A value of 0 indicates no limit. *- Specified by:
getMaxNumberFramesin interfaceRenderedTexture- Returns:
- value of maxNumberFrames field
-
setMaxNumberFrames
Accessor method to assign int value to inputOutput SFInt32 field named maxNumberFrames.
Tooltip: [0,+infinity) indicates the maximum number of independent frame files (or movie frames) that can be saved for a single series of image captures. A value of 0 indicates no limit. *- Specified by:
setMaxNumberFramesin interfaceRenderedTexture- Parameters:
newValue- is new value for the maxNumberFrames field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setMaxNumberFrames
Assign typed object value to SFInt32 maxNumberFrames field, similar tosetMaxNumberFrames(int).- Parameters:
newValue- is new value for the maxNumberFrames field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getMetadata
Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.- Specified by:
getMetadatain interfaceRenderedTexture- Specified by:
getMetadatain interfaceX3DAppearanceChildNode- Specified by:
getMetadatain interfaceX3DNode- Specified by:
getMetadatain interfaceX3DSingleTextureNode- Specified by:
getMetadatain interfaceX3DTexture2DNode- Specified by:
getMetadatain interfaceX3DTextureNode- Returns:
- value of metadata field
- See Also:
-
setMetadata
Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.- Specified by:
setMetadatain interfaceRenderedTexture- Specified by:
setMetadatain interfaceX3DAppearanceChildNode- Specified by:
setMetadatain interfaceX3DNode- Specified by:
setMetadatain interfaceX3DSingleTextureNode- Specified by:
setMetadatain interfaceX3DTexture2DNode- Specified by:
setMetadatain interfaceX3DTextureNode- Specified by:
setMetadatain classX3DConcreteNode- Parameters:
newValue- is new value for the metadata field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
clearMetadata
Utility method to clear SFNode value of metadata field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
-
setMetadata
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.- Specified by:
setMetadatain classX3DConcreteNode- Parameters:
newValue- is new value for the metadata field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
hasMetadata
public boolean hasMetadata()Indicate whether an object is available for inputOutput SFNode field metadata.- Returns:
- whether a properly typed node or ProtoInstance or CommentsBlock is available.
- See Also:
-
getRepeatS
public boolean getRepeatS()Provide boolean value from initializeOnly SFBool field named repeatS.
Tooltip: Whether to repeat texture along S axis horizontally from left to right. *- Specified by:
getRepeatSin interfaceRenderedTexture- Specified by:
getRepeatSin interfaceX3DTexture2DNode- Returns:
- value of repeatS field
-
setRepeatS
Accessor method to assign boolean value to initializeOnly SFBool field named repeatS.
Tooltip: Whether to repeat texture along S axis horizontally from left to right. *- Specified by:
setRepeatSin interfaceRenderedTexture- Specified by:
setRepeatSin interfaceX3DTexture2DNode- Parameters:
newValue- is new value for the repeatS field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setRepeatS
Assign typed object value to SFBool repeatS field, similar tosetRepeatS(boolean).- Parameters:
newValue- is new value for the repeatS field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getRepeatT
public boolean getRepeatT()Provide boolean value from initializeOnly SFBool field named repeatT.
Tooltip: Whether to repeat texture along T axis vertically from top to bottom. *- Specified by:
getRepeatTin interfaceRenderedTexture- Specified by:
getRepeatTin interfaceX3DTexture2DNode- Returns:
- value of repeatT field
-
setRepeatT
Accessor method to assign boolean value to initializeOnly SFBool field named repeatT.
Tooltip: Whether to repeat texture along T axis vertically from top to bottom. *- Specified by:
setRepeatTin interfaceRenderedTexture- Specified by:
setRepeatTin interfaceX3DTexture2DNode- Parameters:
newValue- is new value for the repeatT field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setRepeatT
Assign typed object value to SFBool repeatT field, similar tosetRepeatT(boolean).- Parameters:
newValue- is new value for the repeatT field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getReplaceImage
public boolean getReplaceImage()Provide boolean value from inputOutput SFBool field named replaceImage.
Tooltip: Whether only a single updated image file or multiple image files can be saved. *- Specified by:
getReplaceImagein interfaceRenderedTexture- Returns:
- value of replaceImage field
-
setReplaceImage
Accessor method to assign boolean value to inputOutput SFBool field named replaceImage.
Tooltip: Whether only a single updated image file or multiple image files can be saved. *- Specified by:
setReplaceImagein interfaceRenderedTexture- Parameters:
newValue- is new value for the replaceImage field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setReplaceImage
Assign typed object value to SFBool replaceImage field, similar tosetReplaceImage(boolean).- Parameters:
newValue- is new value for the replaceImage field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getSingleFrame
public boolean getSingleFrame()Provide boolean value from inputOutput SFBool field named singleFrame.
Tooltip: if TRUE only a single image is captured, otherwise continuous updates are captured. *- Specified by:
getSingleFramein interfaceRenderedTexture- Returns:
- value of singleFrame field
-
setSingleFrame
Accessor method to assign boolean value to inputOutput SFBool field named singleFrame.
Tooltip: if TRUE only a single image is captured, otherwise continuous updates are captured. *- Specified by:
setSingleFramein interfaceRenderedTexture- Parameters:
newValue- is new value for the singleFrame field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setSingleFrame
Assign typed object value to SFBool singleFrame field, similar tosetSingleFrame(boolean).- Parameters:
newValue- is new value for the singleFrame field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getTextureProperties
Provide org.web3d.x3d.sai.Texturing.TextureProperties instance (using a properly typed node) from initializeOnly SFNode field textureProperties.- Specified by:
getTexturePropertiesin interfaceRenderedTexture- Specified by:
getTexturePropertiesin interfaceX3DTexture2DNode- Returns:
- value of textureProperties field
- See Also:
-
setTextureProperties
Accessor method to assign org.web3d.x3d.sai.Texturing.TextureProperties instance (using a properly typed node) to initializeOnly SFNode field textureProperties.- Specified by:
setTexturePropertiesin interfaceRenderedTexture- Specified by:
setTexturePropertiesin interfaceX3DTexture2DNode- Parameters:
newValue- is new value for the textureProperties field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
clearTextureProperties
Utility method to clear SFNode value of textureProperties field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
-
setTextureProperties
Assign ProtoInstance (using a properly typed node) to initializeOnly SFNode field textureProperties.- Parameters:
newValue- is new value for the textureProperties field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
hasTextureProperties
public boolean hasTextureProperties()Indicate whether an object is available for initializeOnly SFNode field textureProperties.- Returns:
- whether a properly typed node or ProtoInstance or CommentsBlock is available.
- See Also:
-
getUpdate
Provide String enumeration value (baseType xs:NMTOKEN) ["NONE" | "NEXT_FRAME_ONLY" | "ALWAYS"] from inputOutput SFString field named update.
Available enumeration values for string comparison:NONE,NEXT_FRAME_ONLY,ALWAYS.- Specified by:
getUpdatein interfaceRenderedTexture- Returns:
- value of update field
-
setUpdate
Accessor method to assign String enumeration value ("NONE" | "NEXT_FRAME_ONLY" | "ALWAYS") to inputOutput SFString field named update.
Warning: authors can only choose from a strict list of enumeration values (NONE,NEXT_FRAME_ONLY,ALWAYS).- Specified by:
setUpdatein interfaceRenderedTexture- Parameters:
newValue- is new value for the update field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setUpdate
Assign typed object value to SFString update field, similar tosetUpdate(String).- Parameters:
newValue- is new value for the update field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getUpdateInterval
public double getUpdateInterval()Provide double value in seconds from inputOutput SFTime field named updateInterval.
Tooltip: [0,+infinity) indicates time intervals between render captures when the update field is "ALWAYS". A value of 0 indicates full frame rate for render captures. *- Specified by:
getUpdateIntervalin interfaceRenderedTexture- Returns:
- value of updateInterval field
-
setUpdateInterval
Accessor method to assign double value in seconds to inputOutput SFTime field named updateInterval.
Tooltip: [0,+infinity) indicates time intervals between render captures when the update field is "ALWAYS". A value of 0 indicates full frame rate for render captures. *- Specified by:
setUpdateIntervalin interfaceRenderedTexture- Parameters:
newValue- is new value for the updateInterval field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setUpdateInterval
Assign typed object value to SFTime updateInterval field, similar tosetUpdateInterval(double).- Parameters:
newValue- is new value for the updateInterval field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getUrl
Provide array of String results from inputOutput MFString field named url.
Tooltip: The url field typically defines a relative address to a file name that can be used for storing one or more rendered textures, and can also provide a destination for output of successive image files as a video file or video stream.- Hint: MFString arrays can have multiple values, so separate each individual string by quote marks "https://www.web3d.org" "https://www.web3d.org/about" "etc."
- Hint: alternative XML encoding for quotation mark " is " (which is an example of a character entity).
- Warning: strictly match directory and filename capitalization for http links! This is important for portability. Some operating systems are forgiving of capitalization mismatches, but http/https url addresses and paths in Unix-based operating systems are all case sensitive and intolerant of uppercase/lowercase mismatches.
- Hint: can replace embedded blank(s) in url queries with %20 for each blank character.
- Warning: direct or indirect recursion by Inline and/or ExternProtoDeclare url reloading is a security error.
- Hint: X3D Scene Authoring Hints, urls https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#urls
- Specified by:
getUrlin interfaceRenderedTexture- Specified by:
getUrlin interfaceX3DUrlOutputObject- Returns:
- value of url field
-
getUrlList
-
getUrlString
-
setUrl
Accessor method to assign String array to inputOutput MFString field named url.
Tooltip: The url field typically defines a relative address to a file name that can be used for storing one or more rendered textures, and can also provide a destination for output of successive image files as a video file or video stream.- Hint: MFString arrays can have multiple values, so separate each individual string by quote marks "https://www.web3d.org" "https://www.web3d.org/about" "etc."
- Hint: alternative XML encoding for quotation mark " is " (which is an example of a character entity).
- Warning: strictly match directory and filename capitalization for http links! This is important for portability. Some operating systems are forgiving of capitalization mismatches, but http/https url addresses and paths in Unix-based operating systems are all case sensitive and intolerant of uppercase/lowercase mismatches.
- Hint: can replace embedded blank(s) in url queries with %20 for each blank character.
- Warning: direct or indirect recursion by Inline and/or ExternProtoDeclare url reloading is a security error.
- Hint: X3D Scene Authoring Hints, urls https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#urls
- Specified by:
setUrlin interfaceRenderedTexture- Specified by:
setUrlin interfaceX3DUrlOutputObject- Parameters:
newValue- is new value for the url field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setUrl
Assign typed object value to MFString url field, similar tosetUrl(String[]).- Parameters:
newValue- is new value for the url field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setUrl
Assign single SFString object value to MFString url field, similar tosetUrl(String[]).- Parameters:
newValue- is new value for the url field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setUrl
Assign singleton String value to MFString url field, similar tosetUrl(String[]).- Parameters:
newValue- is new value for the url field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setUrl
Assign ArrayList value of MFString url field, similar tosetUrl(String[]).- Parameters:
newValue- is new value for the url field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
clearUrl
Utility method to clear MFString value of url field. This method does not initialize with URL_DEFAULT_VALUE.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
-
addUrl
Add singleton String value to MFString url field, allowing duplicate and empty string values if provided.- Parameters:
newValue- is new value to add to the url field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
addUrl
Add singleton SFString value to MFString url field, allowing duplicate or empty string values if provided.- Parameters:
newValue- is new value to add to the url field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
getWidth
public int getWidth()Provide int value from inputOutput SFInt32 field named width.
Tooltip: [0,+infinity) image height in pixels. *- Specified by:
getWidthin interfaceRenderedTexture- Returns:
- value of width field
-
setWidth
Accessor method to assign int value to inputOutput SFInt32 field named width.
Tooltip: [0,+infinity) image height in pixels. *- Specified by:
setWidthin interfaceRenderedTexture- Parameters:
newValue- is new value for the width field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setWidth
Assign typed object value to SFInt32 width field, similar tosetWidth(int).- Parameters:
newValue- is new value for the width field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getDEF
Provide String value from inputOutput SFString field named DEF.
Tooltip: DEF defines a unique ID name for this node, referenceable by other nodes.- Hint: descriptive DEF names improve clarity and help document a model.
- Hint: well-defined names can simplify design and debugging through improved author understanding.
- Hint: X3D Scene Authoring Hints, Naming Conventions https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#NamingConventions
- Overrides:
getDEFin classX3DConcreteNode- Returns:
- value of DEF field
- See Also:
-
setDEF
Accessor method to assign String value to inputOutput SFString field named DEF.
Tooltip: DEF defines a unique ID name for this node, referenceable by other nodes.- Hint: descriptive DEF names improve clarity and help document a model.
- Hint: well-defined names can simplify design and debugging through improved author understanding.
- Hint: X3D Scene Authoring Hints, Naming Conventions https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#NamingConventions
Note that setting the DEF value clears the USE value.- Specified by:
setDEFin classX3DConcreteNode- Parameters:
newValue- is new value for the DEF field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setDEF
Assign typed object value to SFString DEF field, similar tosetDEF(String).- Parameters:
newValue- is new value for the DEF field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getUSE
Provide String value from inputOutput SFString field named USE.
Tooltip: USE means reference a separately DEF-ed node ID, excluding all child nodes and all other attributes (except for containerField, which can have a different value).- Hint: USE references to separately defined DEF geometry (instead of duplicating nodes) can improve performance.
- Warning: do NOT include any child nodes, a DEF attribute, or any other attribute values (except for containerField) within a USE node.
- Warning: each USE value must match a corresponding DEF value that is defined elsewhere in the scene.
- Hint: a USE node is no longer required to follow the corresponding DEF node being referenced.
- Overrides:
getUSEin classX3DConcreteNode- Returns:
- value of USE field
- See Also:
-
setUSE
Accessor method to assign String value to inputOutput SFString field named USE.
Tooltip: USE means reference a separately DEF-ed node ID, excluding all child nodes and all other attributes (except for containerField, which can have a different value).- Hint: USE references to separately defined DEF geometry (instead of duplicating nodes) can improve performance.
- Warning: do NOT include any child nodes, a DEF attribute, or any other attribute values (except for containerField) within a USE node.
- Warning: each USE value must match a corresponding DEF value that is defined elsewhere in the scene.
- Hint: a USE node is no longer required to follow the corresponding DEF node being referenced.
Note: eachUSEnode is still an independent object, with theUSEvalue matching theDEFvalue in the preceding object.
Warning: invoking thesetUSE()method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.
Warning: no other operations can be performed to modify a USE node other than setting an alternate containerField value.- Specified by:
setUSEin classX3DConcreteNode- Parameters:
newValue- is new value for the USE field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setUSE
Assign typed object value to SFString USE field, similar tosetUSE(String).- Parameters:
newValue- is new value for the USE field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getCssClass
Provide String value from inputOutput SFString field named class.- Overrides:
getCssClassin classX3DConcreteElement- Returns:
- value of class field
- See Also:
-
setCssClass
Accessor method to assign String value to inputOutput SFString field named class.- Specified by:
setCssClassin classX3DConcreteNode- Parameters:
newValue- is new value for the class field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
setCssClass
Assign typed object value to SFString cssClass field, similar tosetCssClass(String).- Parameters:
newValue- is new value for the class field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getHtmlId
Provide String value from inputOutput SFString field named id.- Overrides:
getHtmlIdin classX3DConcreteElement- Returns:
- value of id field
- See Also:
-
setHtmlId
Accessor method to assign String value to inputOutput SFString field named id.- Specified by:
setHtmlIdin classX3DConcreteNode- Parameters:
newValue- is new value for the id field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
setHtmlId
Assign typed object value to SFString HtmlId field, similar tosetHtmlId(String).- Parameters:
newValue- is new value for the id field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getCssStyle
Provide String value from inputOutput SFString field named style.- Overrides:
getCssStylein classX3DConcreteElement- Returns:
- value of style field
- See Also:
-
setCssStyle
Accessor method to assign String value to inputOutput SFString field named style.- Specified by:
setCssStylein classX3DConcreteNode- Parameters:
newValue- is new value for the style field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
setCssStyle
Assign typed object value to SFString cssClass field, similar tosetCssStyle(String).- Parameters:
newValue- is new value for the style field.- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setUSE
Assign a USE reference to another DEF node of same node type, similar tosetUSE(String).
Warning: note that thesetUSE()method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.
Warning: no other operations can be performed to modify a USE node other than setting an alternate containerField value.- Parameters:
DEFnode- must have a DEF value defined- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
addComments
Add comment as String to contained commentsList.- Specified by:
addCommentsin classX3DConcreteElement- Parameters:
newComment- initial value- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
addComments
Add comments as String[] array to contained commentsList.- Specified by:
addCommentsin classX3DConcreteElement- Parameters:
newComments- array of comments- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
-
addComments
Add CommentsBlock to contained commentsList.- Specified by:
addCommentsin classX3DConcreteElement- Parameters:
newCommentsBlock- block of comments to add- Returns:
RenderedTexture- namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
-
toStringX3D
Recursive method to provide X3D string serialization of this model subgraph, utilizing XML encoding and conforming to X3D Canonical Form.- Specified by:
toStringX3Din classX3DConcreteElement- Parameters:
indentLevel- number of levels of indentation for this element- Returns:
- X3D string
- See Also:
-
toStringClassicVRML
Recursive method to provide ClassicVRML string serialization.- Specified by:
toStringClassicVRMLin classX3DConcreteElement- Parameters:
indentLevel- number of levels of indentation for this element- Returns:
- ClassicVRML string
- See Also:
-
toStringVRML97
Recursive method to provide VRML97 string serialization.- Specified by:
toStringVRML97in classX3DConcreteElement- Parameters:
indentLevel- number of levels of indentation for this element- Returns:
- VRML97 string
- See Also:
-
findElementByNameValue
Recursive method to provide object reference to node or statement by name attribute, if found as part of this element or in a contained element. Elements with name fields include meta, Metadata* nodes, field/fieldValue, ProtoDeclare/ExternProtoDeclare/ProtoInstance, CAD and HAnim nodes.
Warning: first start with findAncestorScene() to check entire scene graph, or findAncestorX3D() to check entire model document.
Warning: more than one element may be found that has the same name, this method does not handle that case.- Specified by:
findElementByNameValuein classX3DConcreteElement- Parameters:
nameValue- is value of the name field being searched for in this element and child elements(if any)- Returns:
- object reference to found element, null otherwise
- See Also:
-
findElementByNameValue
Recursive method to provide object reference to node or statement by name attribute, if found as part of this element or in a contained element. Elements with name fields include meta, Metadata* nodes, field/fieldValue, ProtoDeclare/ExternProtoDeclare/ProtoInstance, CAD and HAnim nodes.
Warning: first start with findAncestorScene() to check entire scene graph, or findAncestorX3D() to check entire model document.
Warning: more than one element may be found that has the same name, this method does not handle that case.- Specified by:
findElementByNameValuein classX3DConcreteElement- Parameters:
nameValue- is value of the name field being searched for in this element and child elements(if any)elementName- identifies the element of interest (meta MetadataString ProtoDeclare CADassembly ProtoInstance HAnimHumanoid etc.)- Returns:
- object reference to found element, null otherwise
- See Also:
-
hasElementByNameValue
Recursive method to determine whether node or statement with given name attribute is found, meaning both objects are attached to same scene graph.- Parameters:
nameValue- is value of the name field being searched for in this element and child elements(if any)elementName- identifies the element of interest (meta MetadataString ProtoDeclare CADassembly ProtoInstance HAnimHumanoid etc.)- Returns:
- whether node is found
- See Also:
-
findNodeByDEF
Recursive method to provide object reference to node by DEF, if found as this node or in a contained node.
Warning: first start with findAncestorScene() to check entire scene graph, or findAncestorX3D() to check entire model document.
Warning: more than one element may be found that has the same DEF, this method does not handle that case.- Specified by:
findNodeByDEFin classX3DConcreteElement- Parameters:
DEFvalue- is value of the name field being searched for in this element and child elements(if any)- Returns:
- object reference to found node, null otherwise
- See Also:
-
hasNodeByDEF
Recursive method to determine whether node with DEFvalue is found, meaning both objects are attached to same scene graph.- Parameters:
DEFvalue- is value of the name field being searched for in this element and child elements(if any)- Returns:
- whether node is found
- See Also:
-
validate
Recursive method to validate this element plus all contained nodes and statements, using both datatype-specification value checks and regular expression (regex) checking of corresponding string values. TODO document specific validation methods.- Specified by:
validatein classX3DConcreteElement- Returns:
- validation results (if any)
-