Class GaussianSplats

All Implemented Interfaces:
X3DChildNode, X3DNode, GaussianSplats, X3DBoundedObject

public class GaussianSplats extends X3DConcreteNode implements GaussianSplats
The GaussianSplats node adds basic support for direct real-time radiance field rendering of volume data without converting into surface or line primitives.

GaussianSplats node tooltip: (X3D version 4.1 draft) [X3DChildNode] The GaussianSplats node adds basic support for direct real-time radiance field rendering of volume data without converting into surface or line primitives.
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 Details

    • COLORSPACE_SRGB_REC709_DISPLAY

      public static final String COLORSPACE_SRGB_REC709_DISPLAY
      Tooltip: color space of the reconstructed color values. SFString field named colorSpace with X3DUOM simpleType colorSpaceChoices and with X3DUOM baseType SFString can equal this value "SRGB_REC709_DISPLAY" (Java syntax) or SRGB_REC709_DISPLAY (XML syntax).
      See Also:
    • COLORSPACE_LIN_REC709_DISPLAY

      public static final String COLORSPACE_LIN_REC709_DISPLAY
      Tooltip: color space of the reconstructed color values. SFString field named colorSpace with X3DUOM simpleType colorSpaceChoices and with X3DUOM baseType SFString can equal this value "LIN_REC709_DISPLAY" (Java syntax) or LIN_REC709_DISPLAY (XML syntax).
      See Also:
    • NAME

      public static final String NAME
      String constant NAME provides name of this element: GaussianSplats.
      See Also:
    • COMPONENT

      public static final String COMPONENT
      String constant COMPONENT defines X3D component for the GaussianSplats element: GaussianSplats
      See Also:
    • LEVEL

      public static final int LEVEL
      Integer constant LEVEL provides default X3D GaussianSplats component level for this element: 1
      See Also:
    • BBOXCENTER_DEFAULT_VALUE

      public static final float[] BBOXCENTER_DEFAULT_VALUE
      SFVec3f field named bboxCenter has default value {0f,0f,0f} (Java syntax) or 0 0 0 (XML syntax).
    • BBOXDISPLAY_DEFAULT_VALUE

      public static final boolean BBOXDISPLAY_DEFAULT_VALUE
      SFBool field named bboxDisplay has default value false (Java syntax) or false (XML syntax).
      See Also:
    • BBOXSIZE_DEFAULT_VALUE

      public static final float[] BBOXSIZE_DEFAULT_VALUE
      SFVec3f field named bboxSize has default value {-1f,-1f,-1f} (Java syntax) or -1 -1 -1 (XML syntax).
    • CASTSHADOW_DEFAULT_VALUE

      public static final boolean CASTSHADOW_DEFAULT_VALUE
      SFBool field named castShadow has default value true (Java syntax) or true (XML syntax).
      See Also:
    • COLORSPACE_DEFAULT_VALUE

      public static final String COLORSPACE_DEFAULT_VALUE
      SFString field named colorSpace has default value "SRGB_REC709_DISPLAY" (Java syntax) or SRGB_REC709_DISPLAY (XML syntax).
      See Also:
    • IS_DEFAULT_VALUE

      public static final IS IS_DEFAULT_VALUE
      SFNode field named IS has default value null (Java syntax) or NULL (XML syntax).
    • METADATA_DEFAULT_VALUE

      public static final X3DMetadataObject METADATA_DEFAULT_VALUE
      SFNode field named metadata has default value null (Java syntax) or NULL (XML syntax).
    • POINTEREVENTS_DEFAULT_VALUE

      public static final boolean POINTEREVENTS_DEFAULT_VALUE
      SFBool field named pointerEvents has default value true (Java syntax) or true (XML syntax).
      See Also:
    • VISIBLE_DEFAULT_VALUE

      public static final boolean VISIBLE_DEFAULT_VALUE
      SFBool field named visible has default value true (Java syntax) or true (XML syntax).
      See Also:
    • containerField_DEFAULT_VALUE

      public static final String 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 = "children";
      containerField_ALLOWED_VALUES = {"children" }; type xs:NMTOKEN
      See Also:
    • fromField_BBOXDISPLAY

      public static final String fromField_BBOXDISPLAY
      fromField ROUTE name for SFBool field named bboxDisplay.
      See Also:
    • toField_BBOXDISPLAY

      public static final String toField_BBOXDISPLAY
      toField ROUTE name for SFBool field named bboxDisplay.
      See Also:
    • fromField_CASTSHADOW

      public static final String fromField_CASTSHADOW
      fromField ROUTE name for SFBool field named castShadow.
      See Also:
    • toField_CASTSHADOW

      public static final String toField_CASTSHADOW
      toField ROUTE name for SFBool field named castShadow.
      See Also:
    • fromField_COLORSPACE

      public static final String fromField_COLORSPACE
      fromField ROUTE name for SFString field named colorSpace.
      See Also:
    • toField_COLORSPACE

      public static final String toField_COLORSPACE
      toField ROUTE name for SFString field named colorSpace.
      See Also:
    • fromField_IS

      public static final String fromField_IS
      fromField ROUTE name for SFNode field named IS.
      See Also:
    • fromField_METADATA

      public static final String fromField_METADATA
      fromField ROUTE name for SFNode field named metadata.
      See Also:
    • toField_METADATA

      public static final String toField_METADATA
      toField ROUTE name for SFNode field named metadata.
      See Also:
    • fromField_OPACITIES

      public static final String fromField_OPACITIES
      fromField ROUTE name for MFFloat field named opacities.
      See Also:
    • toField_OPACITIES

      public static final String toField_OPACITIES
      toField ROUTE name for MFFloat field named opacities.
      See Also:
    • fromField_ORIENTATIONS

      public static final String fromField_ORIENTATIONS
      fromField ROUTE name for MFQuaternion field named orientations.
      See Also:
    • toField_ORIENTATIONS

      public static final String toField_ORIENTATIONS
      toField ROUTE name for MFQuaternion field named orientations.
      See Also:
    • fromField_POINTEREVENTS

      public static final String fromField_POINTEREVENTS
      fromField ROUTE name for SFBool field named pointerEvents.
      See Also:
    • toField_POINTEREVENTS

      public static final String toField_POINTEREVENTS
      toField ROUTE name for SFBool field named pointerEvents.
      See Also:
    • fromField_POSITIONS

      public static final String fromField_POSITIONS
      fromField ROUTE name for MFVec3f field named positions.
      See Also:
    • toField_POSITIONS

      public static final String toField_POSITIONS
      toField ROUTE name for MFVec3f field named positions.
      See Also:
    • fromField_SCALES

      public static final String fromField_SCALES
      fromField ROUTE name for MFVec3f field named scales.
      See Also:
    • toField_SCALES

      public static final String toField_SCALES
      toField ROUTE name for MFVec3f field named scales.
      See Also:
    • fromField_SPHERICALHARMONICSDEGREE0COEF0

      public static final String fromField_SPHERICALHARMONICSDEGREE0COEF0
      fromField ROUTE name for MFVec3f field named sphericalHarmonicsDegree0Coef0.
      See Also:
    • toField_SPHERICALHARMONICSDEGREE0COEF0

      public static final String toField_SPHERICALHARMONICSDEGREE0COEF0
      toField ROUTE name for MFVec3f field named sphericalHarmonicsDegree0Coef0.
      See Also:
    • fromField_SPHERICALHARMONICSDEGREE1COEF0

      public static final String fromField_SPHERICALHARMONICSDEGREE1COEF0
      fromField ROUTE name for MFVec3f field named sphericalHarmonicsDegree1Coef0.
      See Also:
    • toField_SPHERICALHARMONICSDEGREE1COEF0

      public static final String toField_SPHERICALHARMONICSDEGREE1COEF0
      toField ROUTE name for MFVec3f field named sphericalHarmonicsDegree1Coef0.
      See Also:
    • fromField_SPHERICALHARMONICSDEGREE1COEF1

      public static final String fromField_SPHERICALHARMONICSDEGREE1COEF1
      fromField ROUTE name for MFVec3f field named sphericalHarmonicsDegree1Coef1.
      See Also:
    • toField_SPHERICALHARMONICSDEGREE1COEF1

      public static final String toField_SPHERICALHARMONICSDEGREE1COEF1
      toField ROUTE name for MFVec3f field named sphericalHarmonicsDegree1Coef1.
      See Also:
    • fromField_SPHERICALHARMONICSDEGREE1COEF2

      public static final String fromField_SPHERICALHARMONICSDEGREE1COEF2
      fromField ROUTE name for MFVec3f field named sphericalHarmonicsDegree1Coef2.
      See Also:
    • toField_SPHERICALHARMONICSDEGREE1COEF2

      public static final String toField_SPHERICALHARMONICSDEGREE1COEF2
      toField ROUTE name for MFVec3f field named sphericalHarmonicsDegree1Coef2.
      See Also:
    • fromField_SPHERICALHARMONICSDEGREE2COEF0

      public static final String fromField_SPHERICALHARMONICSDEGREE2COEF0
      fromField ROUTE name for MFVec3f field named sphericalHarmonicsDegree2Coef0.
      See Also:
    • toField_SPHERICALHARMONICSDEGREE2COEF0

      public static final String toField_SPHERICALHARMONICSDEGREE2COEF0
      toField ROUTE name for MFVec3f field named sphericalHarmonicsDegree2Coef0.
      See Also:
    • fromField_SPHERICALHARMONICSDEGREE2COEF1

      public static final String fromField_SPHERICALHARMONICSDEGREE2COEF1
      fromField ROUTE name for MFVec3f field named sphericalHarmonicsDegree2Coef1.
      See Also:
    • toField_SPHERICALHARMONICSDEGREE2COEF1

      public static final String toField_SPHERICALHARMONICSDEGREE2COEF1
      toField ROUTE name for MFVec3f field named sphericalHarmonicsDegree2Coef1.
      See Also:
    • fromField_SPHERICALHARMONICSDEGREE2COEF2

      public static final String fromField_SPHERICALHARMONICSDEGREE2COEF2
      fromField ROUTE name for MFVec3f field named sphericalHarmonicsDegree2Coef2.
      See Also:
    • toField_SPHERICALHARMONICSDEGREE2COEF2

      public static final String toField_SPHERICALHARMONICSDEGREE2COEF2
      toField ROUTE name for MFVec3f field named sphericalHarmonicsDegree2Coef2.
      See Also:
    • fromField_SPHERICALHARMONICSDEGREE2COEF3

      public static final String fromField_SPHERICALHARMONICSDEGREE2COEF3
      fromField ROUTE name for MFVec3f field named sphericalHarmonicsDegree2Coef3.
      See Also:
    • toField_SPHERICALHARMONICSDEGREE2COEF3

      public static final String toField_SPHERICALHARMONICSDEGREE2COEF3
      toField ROUTE name for MFVec3f field named sphericalHarmonicsDegree2Coef3.
      See Also:
    • fromField_SPHERICALHARMONICSDEGREE2COEF4

      public static final String fromField_SPHERICALHARMONICSDEGREE2COEF4
      fromField ROUTE name for MFVec3f field named sphericalHarmonicsDegree2Coef4.
      See Also:
    • toField_SPHERICALHARMONICSDEGREE2COEF4

      public static final String toField_SPHERICALHARMONICSDEGREE2COEF4
      toField ROUTE name for MFVec3f field named sphericalHarmonicsDegree2Coef4.
      See Also:
    • fromField_SPHERICALHARMONICSDEGREE3COEF0

      public static final String fromField_SPHERICALHARMONICSDEGREE3COEF0
      fromField ROUTE name for MFVec3f field named sphericalHarmonicsDegree3Coef0.
      See Also:
    • toField_SPHERICALHARMONICSDEGREE3COEF0

      public static final String toField_SPHERICALHARMONICSDEGREE3COEF0
      toField ROUTE name for MFVec3f field named sphericalHarmonicsDegree3Coef0.
      See Also:
    • fromField_SPHERICALHARMONICSDEGREE3COEF1

      public static final String fromField_SPHERICALHARMONICSDEGREE3COEF1
      fromField ROUTE name for MFVec3f field named sphericalHarmonicsDegree3Coef1.
      See Also:
    • toField_SPHERICALHARMONICSDEGREE3COEF1

      public static final String toField_SPHERICALHARMONICSDEGREE3COEF1
      toField ROUTE name for MFVec3f field named sphericalHarmonicsDegree3Coef1.
      See Also:
    • fromField_SPHERICALHARMONICSDEGREE3COEF2

      public static final String fromField_SPHERICALHARMONICSDEGREE3COEF2
      fromField ROUTE name for MFVec3f field named sphericalHarmonicsDegree3Coef2.
      See Also:
    • toField_SPHERICALHARMONICSDEGREE3COEF2

      public static final String toField_SPHERICALHARMONICSDEGREE3COEF2
      toField ROUTE name for MFVec3f field named sphericalHarmonicsDegree3Coef2.
      See Also:
    • fromField_SPHERICALHARMONICSDEGREE3COEF3

      public static final String fromField_SPHERICALHARMONICSDEGREE3COEF3
      fromField ROUTE name for MFVec3f field named sphericalHarmonicsDegree3Coef3.
      See Also:
    • toField_SPHERICALHARMONICSDEGREE3COEF3

      public static final String toField_SPHERICALHARMONICSDEGREE3COEF3
      toField ROUTE name for MFVec3f field named sphericalHarmonicsDegree3Coef3.
      See Also:
    • fromField_SPHERICALHARMONICSDEGREE3COEF4

      public static final String fromField_SPHERICALHARMONICSDEGREE3COEF4
      fromField ROUTE name for MFVec3f field named sphericalHarmonicsDegree3Coef4.
      See Also:
    • toField_SPHERICALHARMONICSDEGREE3COEF4

      public static final String toField_SPHERICALHARMONICSDEGREE3COEF4
      toField ROUTE name for MFVec3f field named sphericalHarmonicsDegree3Coef4.
      See Also:
    • fromField_SPHERICALHARMONICSDEGREE3COEF5

      public static final String fromField_SPHERICALHARMONICSDEGREE3COEF5
      fromField ROUTE name for MFVec3f field named sphericalHarmonicsDegree3Coef5.
      See Also:
    • toField_SPHERICALHARMONICSDEGREE3COEF5

      public static final String toField_SPHERICALHARMONICSDEGREE3COEF5
      toField ROUTE name for MFVec3f field named sphericalHarmonicsDegree3Coef5.
      See Also:
    • fromField_SPHERICALHARMONICSDEGREE3COEF6

      public static final String fromField_SPHERICALHARMONICSDEGREE3COEF6
      fromField ROUTE name for MFVec3f field named sphericalHarmonicsDegree3Coef6.
      See Also:
    • toField_SPHERICALHARMONICSDEGREE3COEF6

      public static final String toField_SPHERICALHARMONICSDEGREE3COEF6
      toField ROUTE name for MFVec3f field named sphericalHarmonicsDegree3Coef6.
      See Also:
    • fromField_VISIBLE

      public static final String fromField_VISIBLE
      fromField ROUTE name for SFBool field named visible.
      See Also:
    • toField_VISIBLE

      public static final String toField_VISIBLE
      toField ROUTE name for SFBool field named visible.
      See Also:
  • Constructor Details

    • GaussianSplats

      public GaussianSplats()
      Constructor for GaussianSplats to initialize member variables with default values.
    • GaussianSplats

      public GaussianSplats(String DEFlabel)
      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

      public final String getElementName()
      Provides name of this element: GaussianSplats
      Specified by:
      getElementName in class X3DConcreteElement
      Returns:
      name of this element
    • getComponent

      public final String getComponent()
      Defines X3D component for the GaussianSplats element: GaussianSplats
      Specified by:
      getComponent in class X3DConcreteElement
      Returns:
      X3D component for this element
    • getComponentLevel

      public final int getComponentLevel()
      Provides default X3D component level for this element: 1
      Specified by:
      getComponentLevel in class X3DConcreteElement
      Returns:
      default X3D component level for this element
    • getBboxCenterDefault

      public static final float[] getBboxCenterDefault()
      Public accessor for encapsulated SFVec3f default value {0f,0f,0f}, returned as float array.
      Returns:
      default value
    • getBboxDisplayDefault

      public static final boolean getBboxDisplayDefault()
      Public accessor for encapsulated SFBool default value false, returned as boolean.
      Returns:
      default value
    • getBboxSizeDefault

      public static final float[] getBboxSizeDefault()
      Public accessor for encapsulated SFVec3f default value {-1f,-1f,-1f}, returned as float array.
      Returns:
      default value
    • getCastShadowDefault

      public static final boolean getCastShadowDefault()
      Public accessor for encapsulated SFBool default value true, returned as boolean.
      Returns:
      default value
    • getColorSpaceDefault

      public static final String getColorSpaceDefault()
      Public accessor for encapsulated SFString default value "SRGB_REC709_DISPLAY", returned as String.
      Returns:
      default value
    • getISDefault

      public static final IS getISDefault()
      Public accessor for encapsulated SFNode default value null, returned as IS.
      Returns:
      default value
    • getMetadataDefault

      public static final X3DMetadataObject getMetadataDefault()
      Public accessor for encapsulated SFNode default value null, returned as org.web3d.x3d.sai.Core.X3DMetadataObject.
      Returns:
      default value
    • getOpacitiesDefault

      public static final float[] getOpacitiesDefault()
      Public accessor for encapsulated MFFloat default value array, returned as float array.
      Returns:
      default value
    • getOpacitiesDefaultList

      public static final ArrayList<Float> getOpacitiesDefaultList()
      Public accessor for encapsulated MFFloat default value , returned as ArrayList
      Returns:
      default value
    • getOrientationsDefault

      public static final float[] getOrientationsDefault()
      Public accessor for encapsulated MFQuaternion default value, returned as float array.
      Returns:
      default value
    • getPointerEventsDefault

      public static final boolean getPointerEventsDefault()
      Public accessor for encapsulated SFBool default value true, returned as boolean.
      Returns:
      default value
    • getPositionsDefault

      public static final float[] getPositionsDefault()
      Public accessor for encapsulated MFVec3f default value, returned as float array.
      Returns:
      default value
    • getScalesDefault

      public static final float[] getScalesDefault()
      Public accessor for encapsulated MFVec3f default value, returned as float array.
      Returns:
      default value
    • getSphericalHarmonicsDegree0Coef0Default

      public static final float[] getSphericalHarmonicsDegree0Coef0Default()
      Public accessor for encapsulated MFVec3f default value, returned as float array.
      Returns:
      default value
    • getSphericalHarmonicsDegree1Coef0Default

      public static final float[] getSphericalHarmonicsDegree1Coef0Default()
      Public accessor for encapsulated MFVec3f default value, returned as float array.
      Returns:
      default value
    • getSphericalHarmonicsDegree1Coef1Default

      public static final float[] getSphericalHarmonicsDegree1Coef1Default()
      Public accessor for encapsulated MFVec3f default value, returned as float array.
      Returns:
      default value
    • getSphericalHarmonicsDegree1Coef2Default

      public static final float[] getSphericalHarmonicsDegree1Coef2Default()
      Public accessor for encapsulated MFVec3f default value, returned as float array.
      Returns:
      default value
    • getSphericalHarmonicsDegree2Coef0Default

      public static final float[] getSphericalHarmonicsDegree2Coef0Default()
      Public accessor for encapsulated MFVec3f default value, returned as float array.
      Returns:
      default value
    • getSphericalHarmonicsDegree2Coef1Default

      public static final float[] getSphericalHarmonicsDegree2Coef1Default()
      Public accessor for encapsulated MFVec3f default value, returned as float array.
      Returns:
      default value
    • getSphericalHarmonicsDegree2Coef2Default

      public static final float[] getSphericalHarmonicsDegree2Coef2Default()
      Public accessor for encapsulated MFVec3f default value, returned as float array.
      Returns:
      default value
    • getSphericalHarmonicsDegree2Coef3Default

      public static final float[] getSphericalHarmonicsDegree2Coef3Default()
      Public accessor for encapsulated MFVec3f default value, returned as float array.
      Returns:
      default value
    • getSphericalHarmonicsDegree2Coef4Default

      public static final float[] getSphericalHarmonicsDegree2Coef4Default()
      Public accessor for encapsulated MFVec3f default value, returned as float array.
      Returns:
      default value
    • getSphericalHarmonicsDegree3Coef0Default

      public static final float[] getSphericalHarmonicsDegree3Coef0Default()
      Public accessor for encapsulated MFVec3f default value, returned as float array.
      Returns:
      default value
    • getSphericalHarmonicsDegree3Coef1Default

      public static final float[] getSphericalHarmonicsDegree3Coef1Default()
      Public accessor for encapsulated MFVec3f default value, returned as float array.
      Returns:
      default value
    • getSphericalHarmonicsDegree3Coef2Default

      public static final float[] getSphericalHarmonicsDegree3Coef2Default()
      Public accessor for encapsulated MFVec3f default value, returned as float array.
      Returns:
      default value
    • getSphericalHarmonicsDegree3Coef3Default

      public static final float[] getSphericalHarmonicsDegree3Coef3Default()
      Public accessor for encapsulated MFVec3f default value, returned as float array.
      Returns:
      default value
    • getSphericalHarmonicsDegree3Coef4Default

      public static final float[] getSphericalHarmonicsDegree3Coef4Default()
      Public accessor for encapsulated MFVec3f default value, returned as float array.
      Returns:
      default value
    • getSphericalHarmonicsDegree3Coef5Default

      public static final float[] getSphericalHarmonicsDegree3Coef5Default()
      Public accessor for encapsulated MFVec3f default value, returned as float array.
      Returns:
      default value
    • getSphericalHarmonicsDegree3Coef6Default

      public static final float[] getSphericalHarmonicsDegree3Coef6Default()
      Public accessor for encapsulated MFVec3f default value, returned as float array.
      Returns:
      default value
    • getVisibleDefault

      public static final boolean getVisibleDefault()
      Public accessor for encapsulated SFBool default value true, returned as boolean.
      Returns:
      default value
    • getFieldType

      public String getFieldType(String fieldName)
      Indicate type corresponding to given fieldName.
      Specified by:
      getFieldType in class X3DConcreteElement
      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

      public String getAccessType(String fieldName)
      Indicate accessType corresponding to given fieldName.
      Specified by:
      getAccessType in class X3DConcreteElement
      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

      public final String 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:
      getContainerFieldDefault in class X3DConcreteNode
      Returns:
      default containerField value
      See Also:
    • initialize

      public final void initialize()
      Initialize all member variables to default values.
      Overrides:
      initialize in class X3DConcreteNode
    • getBboxCenter

      public float[] getBboxCenter()
      Provide array of 3-tuple float results from initializeOnly SFVec3f field named bboxCenter.

      Tooltip: Bounding box center accompanies bboxSize and provides an optional hint for bounding box position offset from origin of local coordinate system.
      Specified by:
      getBboxCenter in interface GaussianSplats
      Specified by:
      getBboxCenter in interface X3DBoundedObject
      Returns:
      value of bboxCenter field
    • setBboxCenter

      public GaussianSplats setBboxCenter(float[] newValue)
      Accessor method to assign 3-tuple float array to initializeOnly SFVec3f field named bboxCenter.

      Tooltip: Bounding box center accompanies bboxSize and provides an optional hint for bounding box position offset from origin of local coordinate system.
      Specified by:
      setBboxCenter in interface GaussianSplats
      Specified by:
      setBboxCenter in interface X3DBoundedObject
      Parameters:
      newValue - is new value for the bboxCenter field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setBboxCenter

      public GaussianSplats setBboxCenter(SFVec3f newValue)
      Assign typed object value to SFVec3f bboxCenter field, similar to setBboxCenter(float[]).
      Parameters:
      newValue - is new value for the bboxCenter field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setBboxCenter

      public GaussianSplats setBboxCenter(float x, float y, float z)
      Assign values to SFVec3f bboxCenter field, similar to setBboxCenter(float[]).
      Parameters:
      x - first component
      y - second component
      z - third component
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setBboxCenter

      public GaussianSplats setBboxCenter(double x, double y, double z)
      Utility method: double-precision set-parameters accessor for X3D floating-point type, similar to setBboxCenter(float[]).
      Parameters:
      x - first component
      y - second component
      z - third component
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setBboxCenter

      public GaussianSplats setBboxCenter(double[] newArray)
      Utility method: double-precision set-array accessor for X3D floating-point type, similar to setBboxCenter(float[]).
      Parameters:
      newArray - is new value for field
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getBboxDisplay

      public boolean getBboxDisplay()
      Provide boolean value from inputOutput SFBool field named bboxDisplay.

      Tooltip: Whether to display bounding box for associated geometry, aligned with world coordinates.
      • Hint: the bounding box is displayed regardless of whether contained content is visible.
      Specified by:
      getBboxDisplay in interface GaussianSplats
      Specified by:
      getBboxDisplay in interface X3DBoundedObject
      Returns:
      value of bboxDisplay field
    • setBboxDisplay

      public GaussianSplats setBboxDisplay(boolean newValue)
      Accessor method to assign boolean value to inputOutput SFBool field named bboxDisplay.

      Tooltip: Whether to display bounding box for associated geometry, aligned with world coordinates.
      • Hint: the bounding box is displayed regardless of whether contained content is visible.
      Specified by:
      setBboxDisplay in interface GaussianSplats
      Specified by:
      setBboxDisplay in interface X3DBoundedObject
      Parameters:
      newValue - is new value for the bboxDisplay field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setBboxDisplay

      public GaussianSplats setBboxDisplay(SFBool newValue)
      Assign typed object value to SFBool bboxDisplay field, similar to setBboxDisplay(boolean).
      Parameters:
      newValue - is new value for the bboxDisplay field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getBboxSize

      public float[] getBboxSize()
      Provide array of 3-tuple float results within allowed range of [0,infinity), or default value [-1 -1 -1], from initializeOnly SFVec3f field named bboxSize.

      Tooltip: or [0,+infinity) Bounding box size is usually omitted, and can easily be calculated automatically by an X3D player at scene-loading time with minimal computational cost. Bounding box size can also be defined as an optional authoring hint that suggests an optimization or constraint.
      Specified by:
      getBboxSize in interface GaussianSplats
      Specified by:
      getBboxSize in interface X3DBoundedObject
      Returns:
      value of bboxSize field
    • setBboxSize

      public GaussianSplats setBboxSize(float[] newValue)
      Accessor method to assign 3-tuple float array to initializeOnly SFVec3f field named bboxSize.

      Tooltip: or [0,+infinity) Bounding box size is usually omitted, and can easily be calculated automatically by an X3D player at scene-loading time with minimal computational cost. Bounding box size can also be defined as an optional authoring hint that suggests an optimization or constraint.
      Specified by:
      setBboxSize in interface GaussianSplats
      Specified by:
      setBboxSize in interface X3DBoundedObject
      Parameters:
      newValue - is new value for the bboxSize field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setBboxSize

      public GaussianSplats setBboxSize(SFVec3f newValue)
      Assign typed object value to SFVec3f bboxSize field, similar to setBboxSize(float[]).
      Parameters:
      newValue - is new value for the bboxSize field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setBboxSize

      public GaussianSplats setBboxSize(float x, float y, float z)
      Assign values to SFVec3f bboxSize field, similar to setBboxSize(float[]).
      Parameters:
      x - first component
      y - second component
      z - third component
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setBboxSize

      public GaussianSplats setBboxSize(double x, double y, double z)
      Utility method: double-precision set-parameters accessor for X3D floating-point type, similar to setBboxSize(float[]).
      Parameters:
      x - first component
      y - second component
      z - third component
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setBboxSize

      public GaussianSplats setBboxSize(double[] newArray)
      Utility method: double-precision set-array accessor for X3D floating-point type, similar to setBboxSize(float[]).
      Parameters:
      newArray - is new value for field
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getCastShadow

      public boolean getCastShadow()
      Provide boolean value from inputOutput SFBool field named castShadow.

      Tooltip: castShadow defines whether this GaussianSplats node casts shadows as produced by lighting nodes.
      • Hint: if the visible field is FALSE, then the GaussianSplats node does not cast any shadows.
      Specified by:
      getCastShadow in interface GaussianSplats
      Returns:
      value of castShadow field
    • setCastShadow

      public GaussianSplats setCastShadow(boolean newValue)
      Accessor method to assign boolean value to inputOutput SFBool field named castShadow.

      Tooltip: castShadow defines whether this GaussianSplats node casts shadows as produced by lighting nodes.
      • Hint: if the visible field is FALSE, then the GaussianSplats node does not cast any shadows.
      Specified by:
      setCastShadow in interface GaussianSplats
      Parameters:
      newValue - is new value for the castShadow field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setCastShadow

      public GaussianSplats setCastShadow(SFBool newValue)
      Assign typed object value to SFBool castShadow field, similar to setCastShadow(boolean).
      Parameters:
      newValue - is new value for the castShadow field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getColorSpace

      public String getColorSpace()
      Provide String enumeration value using RGB values [0..1] from inputOutput SFString field named colorSpace.

      Tooltip: The color space of the reconstructed color values, either SRGB_REC709_DISPLAY or LIN_REC709_DISPLAY

      Available enumeration values for string comparison: SRGB_REC709_DISPLAY, LIN_REC709_DISPLAY.
      Specified by:
      getColorSpace in interface GaussianSplats
      Returns:
      value of colorSpace field
    • setColorSpace

      public GaussianSplats setColorSpace(String newValue)
      Accessor method to assign String enumeration value ("SRGB_REC709_DISPLAY" | "LIN_REC709_DISPLAY") to inputOutput SFString field named colorSpace.

      Warning: authors can only choose from a strict list of enumeration values (SRGB_REC709_DISPLAY, LIN_REC709_DISPLAY).

      Tooltip: The color space of the reconstructed color values, either SRGB_REC709_DISPLAY or LIN_REC709_DISPLAY
      Specified by:
      setColorSpace in interface GaussianSplats
      Parameters:
      newValue - is new value for the colorSpace field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setColorSpace

      public GaussianSplats setColorSpace(SFString newValue)
      Assign typed object value to SFString colorSpace field, similar to setColorSpace(String).
      Parameters:
      newValue - is new value for the colorSpace field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getIS

      public IS getIS()
      Provide IS instance (using a properly typed node) from inputOutput SFNode field IS.
      Specified by:
      getIS in class X3DConcreteNode
      Returns:
      value of IS field
      See Also:
    • setIS

      public GaussianSplats setIS(IS newValue)
      Accessor method to assign IS instance (using a properly typed node) to inputOutput SFNode field IS.
      Specified by:
      setIS in class X3DConcreteNode
      Parameters:
      newValue - is new value for the IS field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      See Also:
    • clearIS

      public GaussianSplats clearIS()
      Utility method to clear SFNode value of IS field.
      Returns:
      GaussianSplats - 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:
    • getMetadata

      public X3DMetadataObject getMetadata()
      Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
      Specified by:
      getMetadata in interface GaussianSplats
      Specified by:
      getMetadata in interface X3DChildNode
      Specified by:
      getMetadata in interface X3DNode
      Returns:
      value of metadata field
      See Also:
    • setMetadata

      public GaussianSplats setMetadata(X3DMetadataObject newValue)
      Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
      Specified by:
      setMetadata in interface GaussianSplats
      Specified by:
      setMetadata in interface X3DChildNode
      Specified by:
      setMetadata in interface X3DNode
      Specified by:
      setMetadata in class X3DConcreteNode
      Parameters:
      newValue - is new value for the metadata field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      See Also:
    • clearMetadata

      public GaussianSplats clearMetadata()
      Utility method to clear SFNode value of metadata field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
    • setMetadata

      public GaussianSplats setMetadata(ProtoInstance newValue)
      Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.
      Specified by:
      setMetadata in class X3DConcreteNode
      Parameters:
      newValue - is new value for the metadata field.
      Returns:
      GaussianSplats - 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:
    • getOpacities

      public float[] getOpacities()
      Provide array of Float results from inputOutput MFFloat field named opacities.

      Tooltip: [0,1] The opacity of a Gaussian splat is defined by the opacities field. It stores a normalized linear value between 0.0 (transparent) and 1.0 (opaque). *
      Specified by:
      getOpacities in interface GaussianSplats
      Returns:
      value of opacities field
    • getOpacitiesList

      public ArrayList<Float> getOpacitiesList()
      Utility method to get ArrayList value of MFFloat opacities field, similar to getOpacities().
      Returns:
      value of opacities field
    • getOpacitiesString

      public String getOpacitiesString()
      Utility method to get String value of MFFloat opacities field, similar to getOpacities().
      Returns:
      value of opacities field
    • setOpacities

      public GaussianSplats setOpacities(float[] newValue)
      Accessor method to assign Float array to inputOutput MFFloat field named opacities.

      Tooltip: [0,1] The opacity of a Gaussian splat is defined by the opacities field. It stores a normalized linear value between 0.0 (transparent) and 1.0 (opaque). *
      Specified by:
      setOpacities in interface GaussianSplats
      Parameters:
      newValue - is new value for the opacities field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setOpacities

      public GaussianSplats setOpacities(MFFloat newValue)
      Assign typed object value to MFFloat opacities field, similar to setOpacities(float[]).
      Parameters:
      newValue - is new value for the opacities field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setOpacities

      public GaussianSplats setOpacities(ArrayList<Float> newValue)
      Assign ArrayList value of MFFloat opacities field, similar to setOpacities(float[]).
      Parameters:
      newValue - is new value for the opacities field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • clearOpacities

      public GaussianSplats clearOpacities()
      Utility method to clear MFFloat value of opacities field. This method does not initialize with OPACITIES_DEFAULT_VALUE.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
    • setOpacities

      public GaussianSplats setOpacities(int[] newValue)
      Assign floating-point array value of MFFloat opacities field, similar to setOpacities(float[]).
      Parameters:
      newValue - is new value for the opacities field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • addOpacities

      public GaussianSplats addOpacities(float newValue)
      Add singleton float value to MFFloat opacitiesfield.
      Parameters:
      newValue - is new value to add to the opacities field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • addOpacities

      public GaussianSplats addOpacities(SFFloat newValue)
      Add singleton SFFloat value to MFFloat opacitiesfield.
      Parameters:
      newValue - is new value to add to the opacities field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setOpacities

      public GaussianSplats setOpacities(double[] newArray)
      Utility method: double-precision set-array accessor for X3D floating-point type, similar to setOpacities(float[]).
      Parameters:
      newArray - is new value for field
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getOrientations

      public float[] getOrientations()
      Provide array of 4-tuple float results from inputOutput MFQuaternion field named orientations.

      Tooltip: The orientations field values correspond to the orientation of those axes in local space. Orientation values are stored as unit quaternions in the usual glTF order (x,y,z,w). *
      Specified by:
      getOrientations in interface GaussianSplats
      Returns:
      value of orientations field
    • setOrientations

      public GaussianSplats setOrientations(float[] newValue)
      Accessor method to assign 4-tuple float array to inputOutput MFQuaternion field named orientations.

      Tooltip: The orientations field values correspond to the orientation of those axes in local space. Orientation values are stored as unit quaternions in the usual glTF order (x,y,z,w). *
      Specified by:
      setOrientations in interface GaussianSplats
      Parameters:
      newValue - is new value for the orientations field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setOrientations

      public GaussianSplats setOrientations(MFQuaternion newValue)
      Assign typed object value to MFQuaternion orientations field, similar to setOrientations(float[]).
      Parameters:
      newValue - is new value for the orientations field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • addOrientations

      public GaussianSplats addOrientations(SFQuaternion newValue)
      Add singleton SFQuaternion value to MFQuaternion orientationsfield.
      Parameters:
      newValue - is new value to add to the orientations field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getPointerEvents

      public boolean getPointerEvents()
      Provide boolean value from inputOutput SFBool field named pointerEvents.

      Tooltip: indicates whether this GaussianSplats node is a target for pointer events, if FALSE then it is ignored during pointer picking. *
      Specified by:
      getPointerEvents in interface GaussianSplats
      Returns:
      value of pointerEvents field
    • setPointerEvents

      public GaussianSplats setPointerEvents(boolean newValue)
      Accessor method to assign boolean value to inputOutput SFBool field named pointerEvents.

      Tooltip: indicates whether this GaussianSplats node is a target for pointer events, if FALSE then it is ignored during pointer picking. *
      Specified by:
      setPointerEvents in interface GaussianSplats
      Parameters:
      newValue - is new value for the pointerEvents field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setPointerEvents

      public GaussianSplats setPointerEvents(SFBool newValue)
      Assign typed object value to SFBool pointerEvents field, similar to setPointerEvents(boolean).
      Parameters:
      newValue - is new value for the pointerEvents field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getPositions

      public float[] getPositions()
      Provide array of 3-tuple float results from inputOutput MFVec3f field named positions.

      Tooltip: The mean vector for the Gaussian splat is provided by the positions of the mesh primitive. This defines the center of the Gaussian splat ellipsoid in local space. The effective global mean vector for the Gaussian splat is derived from the positions field value and the global transformation matrix of the X3D node that instantiates the mesh containing the splat primitive as defined in the glTF specification. *
      Specified by:
      getPositions in interface GaussianSplats
      Returns:
      value of positions field
    • setPositions

      public GaussianSplats setPositions(float[] newValue)
      Accessor method to assign 3-tuple float array to inputOutput MFVec3f field named positions.

      Tooltip: The mean vector for the Gaussian splat is provided by the positions of the mesh primitive. This defines the center of the Gaussian splat ellipsoid in local space. The effective global mean vector for the Gaussian splat is derived from the positions field value and the global transformation matrix of the X3D node that instantiates the mesh containing the splat primitive as defined in the glTF specification. *
      Specified by:
      setPositions in interface GaussianSplats
      Parameters:
      newValue - is new value for the positions field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setPositions

      public GaussianSplats setPositions(MFVec3f newValue)
      Assign typed object value to MFVec3f positions field, similar to setPositions(float[]).
      Parameters:
      newValue - is new value for the positions field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • addPositions

      public GaussianSplats addPositions(SFVec3f newValue)
      Add singleton SFVec3f value to MFVec3f positionsfield.
      Parameters:
      newValue - is new value to add to the positions field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setPositions

      public GaussianSplats setPositions(double[] newArray)
      Utility method: double-precision set-array accessor for X3D floating-point type, similar to setPositions(float[]).
      Parameters:
      newArray - is new value for field
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getScales

      public float[] getScales()
      Provide array of 3-tuple float results from inputOutput MFVec3f field named scales.

      Tooltip: The values in the scales field correspond to the spread of the Gaussian along its local principal axes. Scale values are linear and nonnegative. *
      Specified by:
      getScales in interface GaussianSplats
      Returns:
      value of scales field
    • setScales

      public GaussianSplats setScales(float[] newValue)
      Accessor method to assign 3-tuple float array to inputOutput MFVec3f field named scales.

      Tooltip: The values in the scales field correspond to the spread of the Gaussian along its local principal axes. Scale values are linear and nonnegative. *
      Specified by:
      setScales in interface GaussianSplats
      Parameters:
      newValue - is new value for the scales field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setScales

      public GaussianSplats setScales(MFVec3f newValue)
      Assign typed object value to MFVec3f scales field, similar to setScales(float[]).
      Parameters:
      newValue - is new value for the scales field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • addScales

      public GaussianSplats addScales(SFVec3f newValue)
      Add singleton SFVec3f value to MFVec3f scalesfield.
      Parameters:
      newValue - is new value to add to the scales field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setScales

      public GaussianSplats setScales(double[] newArray)
      Utility method: double-precision set-array accessor for X3D floating-point type, similar to setScales(float[]).
      Parameters:
      newArray - is new value for field
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getSphericalHarmonicsDegree0Coef0

      public float[] getSphericalHarmonicsDegree0Coef0()
      Provide array of 3-tuple float results from inputOutput MFVec3f field named sphericalHarmonicsDegree0Coef0.

      Tooltip: spherical harmonics data. *
      Specified by:
      getSphericalHarmonicsDegree0Coef0 in interface GaussianSplats
      Returns:
      value of sphericalHarmonicsDegree0Coef0 field
    • setSphericalHarmonicsDegree0Coef0

      public GaussianSplats setSphericalHarmonicsDegree0Coef0(float[] newValue)
      Accessor method to assign 3-tuple float array to inputOutput MFVec3f field named sphericalHarmonicsDegree0Coef0.

      Tooltip: spherical harmonics data. *
      Specified by:
      setSphericalHarmonicsDegree0Coef0 in interface GaussianSplats
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree0Coef0 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree0Coef0

      public GaussianSplats setSphericalHarmonicsDegree0Coef0(MFVec3f newValue)
      Assign typed object value to MFVec3f sphericalHarmonicsDegree0Coef0 field, similar to setSphericalHarmonicsDegree0Coef0(float[]).
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree0Coef0 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • addSphericalHarmonicsDegree0Coef0

      public GaussianSplats addSphericalHarmonicsDegree0Coef0(SFVec3f newValue)
      Add singleton SFVec3f value to MFVec3f sphericalHarmonicsDegree0Coef0field.
      Parameters:
      newValue - is new value to add to the sphericalHarmonicsDegree0Coef0 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree0Coef0

      public GaussianSplats setSphericalHarmonicsDegree0Coef0(double[] newArray)
      Utility method: double-precision set-array accessor for X3D floating-point type, similar to setSphericalHarmonicsDegree0Coef0(float[]).
      Parameters:
      newArray - is new value for field
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getSphericalHarmonicsDegree1Coef0

      public float[] getSphericalHarmonicsDegree1Coef0()
      Provide array of 3-tuple float results from inputOutput MFVec3f field named sphericalHarmonicsDegree1Coef0.

      Tooltip: spherical harmonics data.
      • Warning: To use higher degrees of spherical harmonics the lower degrees MUST be defined.
      Specified by:
      getSphericalHarmonicsDegree1Coef0 in interface GaussianSplats
      Returns:
      value of sphericalHarmonicsDegree1Coef0 field
    • setSphericalHarmonicsDegree1Coef0

      public GaussianSplats setSphericalHarmonicsDegree1Coef0(float[] newValue)
      Accessor method to assign 3-tuple float array to inputOutput MFVec3f field named sphericalHarmonicsDegree1Coef0.

      Tooltip: spherical harmonics data.
      • Warning: To use higher degrees of spherical harmonics the lower degrees MUST be defined.
      Specified by:
      setSphericalHarmonicsDegree1Coef0 in interface GaussianSplats
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree1Coef0 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree1Coef0

      public GaussianSplats setSphericalHarmonicsDegree1Coef0(MFVec3f newValue)
      Assign typed object value to MFVec3f sphericalHarmonicsDegree1Coef0 field, similar to setSphericalHarmonicsDegree1Coef0(float[]).
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree1Coef0 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • addSphericalHarmonicsDegree1Coef0

      public GaussianSplats addSphericalHarmonicsDegree1Coef0(SFVec3f newValue)
      Add singleton SFVec3f value to MFVec3f sphericalHarmonicsDegree1Coef0field.
      Parameters:
      newValue - is new value to add to the sphericalHarmonicsDegree1Coef0 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree1Coef0

      public GaussianSplats setSphericalHarmonicsDegree1Coef0(double[] newArray)
      Utility method: double-precision set-array accessor for X3D floating-point type, similar to setSphericalHarmonicsDegree1Coef0(float[]).
      Parameters:
      newArray - is new value for field
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getSphericalHarmonicsDegree1Coef1

      public float[] getSphericalHarmonicsDegree1Coef1()
      Provide array of 3-tuple float results from inputOutput MFVec3f field named sphericalHarmonicsDegree1Coef1.

      Tooltip: spherical harmonics data.
      • Warning: To use higher degrees of spherical harmonics the lower degrees MUST be defined.
      Specified by:
      getSphericalHarmonicsDegree1Coef1 in interface GaussianSplats
      Returns:
      value of sphericalHarmonicsDegree1Coef1 field
    • setSphericalHarmonicsDegree1Coef1

      public GaussianSplats setSphericalHarmonicsDegree1Coef1(float[] newValue)
      Accessor method to assign 3-tuple float array to inputOutput MFVec3f field named sphericalHarmonicsDegree1Coef1.

      Tooltip: spherical harmonics data.
      • Warning: To use higher degrees of spherical harmonics the lower degrees MUST be defined.
      Specified by:
      setSphericalHarmonicsDegree1Coef1 in interface GaussianSplats
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree1Coef1 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree1Coef1

      public GaussianSplats setSphericalHarmonicsDegree1Coef1(MFVec3f newValue)
      Assign typed object value to MFVec3f sphericalHarmonicsDegree1Coef1 field, similar to setSphericalHarmonicsDegree1Coef1(float[]).
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree1Coef1 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • addSphericalHarmonicsDegree1Coef1

      public GaussianSplats addSphericalHarmonicsDegree1Coef1(SFVec3f newValue)
      Add singleton SFVec3f value to MFVec3f sphericalHarmonicsDegree1Coef1field.
      Parameters:
      newValue - is new value to add to the sphericalHarmonicsDegree1Coef1 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree1Coef1

      public GaussianSplats setSphericalHarmonicsDegree1Coef1(double[] newArray)
      Utility method: double-precision set-array accessor for X3D floating-point type, similar to setSphericalHarmonicsDegree1Coef1(float[]).
      Parameters:
      newArray - is new value for field
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getSphericalHarmonicsDegree1Coef2

      public float[] getSphericalHarmonicsDegree1Coef2()
      Provide array of 3-tuple float results from inputOutput MFVec3f field named sphericalHarmonicsDegree1Coef2.

      Tooltip: spherical harmonics data.
      • Warning: To use higher degrees of spherical harmonics the lower degrees MUST be defined.
      Specified by:
      getSphericalHarmonicsDegree1Coef2 in interface GaussianSplats
      Returns:
      value of sphericalHarmonicsDegree1Coef2 field
    • setSphericalHarmonicsDegree1Coef2

      public GaussianSplats setSphericalHarmonicsDegree1Coef2(float[] newValue)
      Accessor method to assign 3-tuple float array to inputOutput MFVec3f field named sphericalHarmonicsDegree1Coef2.

      Tooltip: spherical harmonics data.
      • Warning: To use higher degrees of spherical harmonics the lower degrees MUST be defined.
      Specified by:
      setSphericalHarmonicsDegree1Coef2 in interface GaussianSplats
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree1Coef2 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree1Coef2

      public GaussianSplats setSphericalHarmonicsDegree1Coef2(MFVec3f newValue)
      Assign typed object value to MFVec3f sphericalHarmonicsDegree1Coef2 field, similar to setSphericalHarmonicsDegree1Coef2(float[]).
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree1Coef2 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • addSphericalHarmonicsDegree1Coef2

      public GaussianSplats addSphericalHarmonicsDegree1Coef2(SFVec3f newValue)
      Add singleton SFVec3f value to MFVec3f sphericalHarmonicsDegree1Coef2field.
      Parameters:
      newValue - is new value to add to the sphericalHarmonicsDegree1Coef2 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree1Coef2

      public GaussianSplats setSphericalHarmonicsDegree1Coef2(double[] newArray)
      Utility method: double-precision set-array accessor for X3D floating-point type, similar to setSphericalHarmonicsDegree1Coef2(float[]).
      Parameters:
      newArray - is new value for field
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getSphericalHarmonicsDegree2Coef0

      public float[] getSphericalHarmonicsDegree2Coef0()
      Provide array of 3-tuple float results from inputOutput MFVec3f field named sphericalHarmonicsDegree2Coef0.

      Tooltip: spherical harmonics data.
      • Warning: To use higher degrees of spherical harmonics the lower degrees MUST be defined.
      Specified by:
      getSphericalHarmonicsDegree2Coef0 in interface GaussianSplats
      Returns:
      value of sphericalHarmonicsDegree2Coef0 field
    • setSphericalHarmonicsDegree2Coef0

      public GaussianSplats setSphericalHarmonicsDegree2Coef0(float[] newValue)
      Accessor method to assign 3-tuple float array to inputOutput MFVec3f field named sphericalHarmonicsDegree2Coef0.

      Tooltip: spherical harmonics data.
      • Warning: To use higher degrees of spherical harmonics the lower degrees MUST be defined.
      Specified by:
      setSphericalHarmonicsDegree2Coef0 in interface GaussianSplats
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree2Coef0 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree2Coef0

      public GaussianSplats setSphericalHarmonicsDegree2Coef0(MFVec3f newValue)
      Assign typed object value to MFVec3f sphericalHarmonicsDegree2Coef0 field, similar to setSphericalHarmonicsDegree2Coef0(float[]).
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree2Coef0 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • addSphericalHarmonicsDegree2Coef0

      public GaussianSplats addSphericalHarmonicsDegree2Coef0(SFVec3f newValue)
      Add singleton SFVec3f value to MFVec3f sphericalHarmonicsDegree2Coef0field.
      Parameters:
      newValue - is new value to add to the sphericalHarmonicsDegree2Coef0 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree2Coef0

      public GaussianSplats setSphericalHarmonicsDegree2Coef0(double[] newArray)
      Utility method: double-precision set-array accessor for X3D floating-point type, similar to setSphericalHarmonicsDegree2Coef0(float[]).
      Parameters:
      newArray - is new value for field
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getSphericalHarmonicsDegree2Coef1

      public float[] getSphericalHarmonicsDegree2Coef1()
      Provide array of 3-tuple float results from inputOutput MFVec3f field named sphericalHarmonicsDegree2Coef1.

      Tooltip: spherical harmonics data.
      • Warning: To use higher degrees of spherical harmonics the lower degrees MUST be defined.
      Specified by:
      getSphericalHarmonicsDegree2Coef1 in interface GaussianSplats
      Returns:
      value of sphericalHarmonicsDegree2Coef1 field
    • setSphericalHarmonicsDegree2Coef1

      public GaussianSplats setSphericalHarmonicsDegree2Coef1(float[] newValue)
      Accessor method to assign 3-tuple float array to inputOutput MFVec3f field named sphericalHarmonicsDegree2Coef1.

      Tooltip: spherical harmonics data.
      • Warning: To use higher degrees of spherical harmonics the lower degrees MUST be defined.
      Specified by:
      setSphericalHarmonicsDegree2Coef1 in interface GaussianSplats
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree2Coef1 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree2Coef1

      public GaussianSplats setSphericalHarmonicsDegree2Coef1(MFVec3f newValue)
      Assign typed object value to MFVec3f sphericalHarmonicsDegree2Coef1 field, similar to setSphericalHarmonicsDegree2Coef1(float[]).
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree2Coef1 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • addSphericalHarmonicsDegree2Coef1

      public GaussianSplats addSphericalHarmonicsDegree2Coef1(SFVec3f newValue)
      Add singleton SFVec3f value to MFVec3f sphericalHarmonicsDegree2Coef1field.
      Parameters:
      newValue - is new value to add to the sphericalHarmonicsDegree2Coef1 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree2Coef1

      public GaussianSplats setSphericalHarmonicsDegree2Coef1(double[] newArray)
      Utility method: double-precision set-array accessor for X3D floating-point type, similar to setSphericalHarmonicsDegree2Coef1(float[]).
      Parameters:
      newArray - is new value for field
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getSphericalHarmonicsDegree2Coef2

      public float[] getSphericalHarmonicsDegree2Coef2()
      Provide array of 3-tuple float results from inputOutput MFVec3f field named sphericalHarmonicsDegree2Coef2.

      Tooltip: spherical harmonics data.
      • Warning: To use higher degrees of spherical harmonics the lower degrees MUST be defined.
      Specified by:
      getSphericalHarmonicsDegree2Coef2 in interface GaussianSplats
      Returns:
      value of sphericalHarmonicsDegree2Coef2 field
    • setSphericalHarmonicsDegree2Coef2

      public GaussianSplats setSphericalHarmonicsDegree2Coef2(float[] newValue)
      Accessor method to assign 3-tuple float array to inputOutput MFVec3f field named sphericalHarmonicsDegree2Coef2.

      Tooltip: spherical harmonics data.
      • Warning: To use higher degrees of spherical harmonics the lower degrees MUST be defined.
      Specified by:
      setSphericalHarmonicsDegree2Coef2 in interface GaussianSplats
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree2Coef2 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree2Coef2

      public GaussianSplats setSphericalHarmonicsDegree2Coef2(MFVec3f newValue)
      Assign typed object value to MFVec3f sphericalHarmonicsDegree2Coef2 field, similar to setSphericalHarmonicsDegree2Coef2(float[]).
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree2Coef2 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • addSphericalHarmonicsDegree2Coef2

      public GaussianSplats addSphericalHarmonicsDegree2Coef2(SFVec3f newValue)
      Add singleton SFVec3f value to MFVec3f sphericalHarmonicsDegree2Coef2field.
      Parameters:
      newValue - is new value to add to the sphericalHarmonicsDegree2Coef2 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree2Coef2

      public GaussianSplats setSphericalHarmonicsDegree2Coef2(double[] newArray)
      Utility method: double-precision set-array accessor for X3D floating-point type, similar to setSphericalHarmonicsDegree2Coef2(float[]).
      Parameters:
      newArray - is new value for field
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getSphericalHarmonicsDegree2Coef3

      public float[] getSphericalHarmonicsDegree2Coef3()
      Provide array of 3-tuple float results from inputOutput MFVec3f field named sphericalHarmonicsDegree2Coef3.

      Tooltip: spherical harmonics data.
      • Warning: To use higher degrees of spherical harmonics the lower degrees MUST be defined.
      Specified by:
      getSphericalHarmonicsDegree2Coef3 in interface GaussianSplats
      Returns:
      value of sphericalHarmonicsDegree2Coef3 field
    • setSphericalHarmonicsDegree2Coef3

      public GaussianSplats setSphericalHarmonicsDegree2Coef3(float[] newValue)
      Accessor method to assign 3-tuple float array to inputOutput MFVec3f field named sphericalHarmonicsDegree2Coef3.

      Tooltip: spherical harmonics data.
      • Warning: To use higher degrees of spherical harmonics the lower degrees MUST be defined.
      Specified by:
      setSphericalHarmonicsDegree2Coef3 in interface GaussianSplats
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree2Coef3 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree2Coef3

      public GaussianSplats setSphericalHarmonicsDegree2Coef3(MFVec3f newValue)
      Assign typed object value to MFVec3f sphericalHarmonicsDegree2Coef3 field, similar to setSphericalHarmonicsDegree2Coef3(float[]).
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree2Coef3 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • addSphericalHarmonicsDegree2Coef3

      public GaussianSplats addSphericalHarmonicsDegree2Coef3(SFVec3f newValue)
      Add singleton SFVec3f value to MFVec3f sphericalHarmonicsDegree2Coef3field.
      Parameters:
      newValue - is new value to add to the sphericalHarmonicsDegree2Coef3 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree2Coef3

      public GaussianSplats setSphericalHarmonicsDegree2Coef3(double[] newArray)
      Utility method: double-precision set-array accessor for X3D floating-point type, similar to setSphericalHarmonicsDegree2Coef3(float[]).
      Parameters:
      newArray - is new value for field
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getSphericalHarmonicsDegree2Coef4

      public float[] getSphericalHarmonicsDegree2Coef4()
      Provide array of 3-tuple float results from inputOutput MFVec3f field named sphericalHarmonicsDegree2Coef4.

      Tooltip: spherical harmonics data.
      • Warning: To use higher degrees of spherical harmonics the lower degrees MUST be defined.
      Specified by:
      getSphericalHarmonicsDegree2Coef4 in interface GaussianSplats
      Returns:
      value of sphericalHarmonicsDegree2Coef4 field
    • setSphericalHarmonicsDegree2Coef4

      public GaussianSplats setSphericalHarmonicsDegree2Coef4(float[] newValue)
      Accessor method to assign 3-tuple float array to inputOutput MFVec3f field named sphericalHarmonicsDegree2Coef4.

      Tooltip: spherical harmonics data.
      • Warning: To use higher degrees of spherical harmonics the lower degrees MUST be defined.
      Specified by:
      setSphericalHarmonicsDegree2Coef4 in interface GaussianSplats
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree2Coef4 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree2Coef4

      public GaussianSplats setSphericalHarmonicsDegree2Coef4(MFVec3f newValue)
      Assign typed object value to MFVec3f sphericalHarmonicsDegree2Coef4 field, similar to setSphericalHarmonicsDegree2Coef4(float[]).
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree2Coef4 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • addSphericalHarmonicsDegree2Coef4

      public GaussianSplats addSphericalHarmonicsDegree2Coef4(SFVec3f newValue)
      Add singleton SFVec3f value to MFVec3f sphericalHarmonicsDegree2Coef4field.
      Parameters:
      newValue - is new value to add to the sphericalHarmonicsDegree2Coef4 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree2Coef4

      public GaussianSplats setSphericalHarmonicsDegree2Coef4(double[] newArray)
      Utility method: double-precision set-array accessor for X3D floating-point type, similar to setSphericalHarmonicsDegree2Coef4(float[]).
      Parameters:
      newArray - is new value for field
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getSphericalHarmonicsDegree3Coef0

      public float[] getSphericalHarmonicsDegree3Coef0()
      Provide array of 3-tuple float results from inputOutput MFVec3f field named sphericalHarmonicsDegree3Coef0.

      Tooltip: spherical harmonics data.
      • Warning: To use higher degrees of spherical harmonics the lower degrees MUST be defined.
      Specified by:
      getSphericalHarmonicsDegree3Coef0 in interface GaussianSplats
      Returns:
      value of sphericalHarmonicsDegree3Coef0 field
    • setSphericalHarmonicsDegree3Coef0

      public GaussianSplats setSphericalHarmonicsDegree3Coef0(float[] newValue)
      Accessor method to assign 3-tuple float array to inputOutput MFVec3f field named sphericalHarmonicsDegree3Coef0.

      Tooltip: spherical harmonics data.
      • Warning: To use higher degrees of spherical harmonics the lower degrees MUST be defined.
      Specified by:
      setSphericalHarmonicsDegree3Coef0 in interface GaussianSplats
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree3Coef0 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree3Coef0

      public GaussianSplats setSphericalHarmonicsDegree3Coef0(MFVec3f newValue)
      Assign typed object value to MFVec3f sphericalHarmonicsDegree3Coef0 field, similar to setSphericalHarmonicsDegree3Coef0(float[]).
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree3Coef0 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • addSphericalHarmonicsDegree3Coef0

      public GaussianSplats addSphericalHarmonicsDegree3Coef0(SFVec3f newValue)
      Add singleton SFVec3f value to MFVec3f sphericalHarmonicsDegree3Coef0field.
      Parameters:
      newValue - is new value to add to the sphericalHarmonicsDegree3Coef0 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree3Coef0

      public GaussianSplats setSphericalHarmonicsDegree3Coef0(double[] newArray)
      Utility method: double-precision set-array accessor for X3D floating-point type, similar to setSphericalHarmonicsDegree3Coef0(float[]).
      Parameters:
      newArray - is new value for field
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getSphericalHarmonicsDegree3Coef1

      public float[] getSphericalHarmonicsDegree3Coef1()
      Provide array of 3-tuple float results from inputOutput MFVec3f field named sphericalHarmonicsDegree3Coef1.

      Tooltip: spherical harmonics data.
      • Warning: To use higher degrees of spherical harmonics the lower degrees MUST be defined.
      Specified by:
      getSphericalHarmonicsDegree3Coef1 in interface GaussianSplats
      Returns:
      value of sphericalHarmonicsDegree3Coef1 field
    • setSphericalHarmonicsDegree3Coef1

      public GaussianSplats setSphericalHarmonicsDegree3Coef1(float[] newValue)
      Accessor method to assign 3-tuple float array to inputOutput MFVec3f field named sphericalHarmonicsDegree3Coef1.

      Tooltip: spherical harmonics data.
      • Warning: To use higher degrees of spherical harmonics the lower degrees MUST be defined.
      Specified by:
      setSphericalHarmonicsDegree3Coef1 in interface GaussianSplats
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree3Coef1 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree3Coef1

      public GaussianSplats setSphericalHarmonicsDegree3Coef1(MFVec3f newValue)
      Assign typed object value to MFVec3f sphericalHarmonicsDegree3Coef1 field, similar to setSphericalHarmonicsDegree3Coef1(float[]).
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree3Coef1 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • addSphericalHarmonicsDegree3Coef1

      public GaussianSplats addSphericalHarmonicsDegree3Coef1(SFVec3f newValue)
      Add singleton SFVec3f value to MFVec3f sphericalHarmonicsDegree3Coef1field.
      Parameters:
      newValue - is new value to add to the sphericalHarmonicsDegree3Coef1 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree3Coef1

      public GaussianSplats setSphericalHarmonicsDegree3Coef1(double[] newArray)
      Utility method: double-precision set-array accessor for X3D floating-point type, similar to setSphericalHarmonicsDegree3Coef1(float[]).
      Parameters:
      newArray - is new value for field
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getSphericalHarmonicsDegree3Coef2

      public float[] getSphericalHarmonicsDegree3Coef2()
      Provide array of 3-tuple float results from inputOutput MFVec3f field named sphericalHarmonicsDegree3Coef2.

      Tooltip: spherical harmonics data.
      • Warning: To use higher degrees of spherical harmonics the lower degrees MUST be defined.
      Specified by:
      getSphericalHarmonicsDegree3Coef2 in interface GaussianSplats
      Returns:
      value of sphericalHarmonicsDegree3Coef2 field
    • setSphericalHarmonicsDegree3Coef2

      public GaussianSplats setSphericalHarmonicsDegree3Coef2(float[] newValue)
      Accessor method to assign 3-tuple float array to inputOutput MFVec3f field named sphericalHarmonicsDegree3Coef2.

      Tooltip: spherical harmonics data.
      • Warning: To use higher degrees of spherical harmonics the lower degrees MUST be defined.
      Specified by:
      setSphericalHarmonicsDegree3Coef2 in interface GaussianSplats
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree3Coef2 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree3Coef2

      public GaussianSplats setSphericalHarmonicsDegree3Coef2(MFVec3f newValue)
      Assign typed object value to MFVec3f sphericalHarmonicsDegree3Coef2 field, similar to setSphericalHarmonicsDegree3Coef2(float[]).
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree3Coef2 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • addSphericalHarmonicsDegree3Coef2

      public GaussianSplats addSphericalHarmonicsDegree3Coef2(SFVec3f newValue)
      Add singleton SFVec3f value to MFVec3f sphericalHarmonicsDegree3Coef2field.
      Parameters:
      newValue - is new value to add to the sphericalHarmonicsDegree3Coef2 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree3Coef2

      public GaussianSplats setSphericalHarmonicsDegree3Coef2(double[] newArray)
      Utility method: double-precision set-array accessor for X3D floating-point type, similar to setSphericalHarmonicsDegree3Coef2(float[]).
      Parameters:
      newArray - is new value for field
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getSphericalHarmonicsDegree3Coef3

      public float[] getSphericalHarmonicsDegree3Coef3()
      Provide array of 3-tuple float results from inputOutput MFVec3f field named sphericalHarmonicsDegree3Coef3.

      Tooltip: spherical harmonics data.
      • Warning: To use higher degrees of spherical harmonics the lower degrees MUST be defined.
      Specified by:
      getSphericalHarmonicsDegree3Coef3 in interface GaussianSplats
      Returns:
      value of sphericalHarmonicsDegree3Coef3 field
    • setSphericalHarmonicsDegree3Coef3

      public GaussianSplats setSphericalHarmonicsDegree3Coef3(float[] newValue)
      Accessor method to assign 3-tuple float array to inputOutput MFVec3f field named sphericalHarmonicsDegree3Coef3.

      Tooltip: spherical harmonics data.
      • Warning: To use higher degrees of spherical harmonics the lower degrees MUST be defined.
      Specified by:
      setSphericalHarmonicsDegree3Coef3 in interface GaussianSplats
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree3Coef3 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree3Coef3

      public GaussianSplats setSphericalHarmonicsDegree3Coef3(MFVec3f newValue)
      Assign typed object value to MFVec3f sphericalHarmonicsDegree3Coef3 field, similar to setSphericalHarmonicsDegree3Coef3(float[]).
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree3Coef3 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • addSphericalHarmonicsDegree3Coef3

      public GaussianSplats addSphericalHarmonicsDegree3Coef3(SFVec3f newValue)
      Add singleton SFVec3f value to MFVec3f sphericalHarmonicsDegree3Coef3field.
      Parameters:
      newValue - is new value to add to the sphericalHarmonicsDegree3Coef3 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree3Coef3

      public GaussianSplats setSphericalHarmonicsDegree3Coef3(double[] newArray)
      Utility method: double-precision set-array accessor for X3D floating-point type, similar to setSphericalHarmonicsDegree3Coef3(float[]).
      Parameters:
      newArray - is new value for field
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getSphericalHarmonicsDegree3Coef4

      public float[] getSphericalHarmonicsDegree3Coef4()
      Provide array of 3-tuple float results from inputOutput MFVec3f field named sphericalHarmonicsDegree3Coef4.

      Tooltip: spherical harmonics data.
      • Warning: To use higher degrees of spherical harmonics the lower degrees MUST be defined.
      Specified by:
      getSphericalHarmonicsDegree3Coef4 in interface GaussianSplats
      Returns:
      value of sphericalHarmonicsDegree3Coef4 field
    • setSphericalHarmonicsDegree3Coef4

      public GaussianSplats setSphericalHarmonicsDegree3Coef4(float[] newValue)
      Accessor method to assign 3-tuple float array to inputOutput MFVec3f field named sphericalHarmonicsDegree3Coef4.

      Tooltip: spherical harmonics data.
      • Warning: To use higher degrees of spherical harmonics the lower degrees MUST be defined.
      Specified by:
      setSphericalHarmonicsDegree3Coef4 in interface GaussianSplats
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree3Coef4 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree3Coef4

      public GaussianSplats setSphericalHarmonicsDegree3Coef4(MFVec3f newValue)
      Assign typed object value to MFVec3f sphericalHarmonicsDegree3Coef4 field, similar to setSphericalHarmonicsDegree3Coef4(float[]).
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree3Coef4 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • addSphericalHarmonicsDegree3Coef4

      public GaussianSplats addSphericalHarmonicsDegree3Coef4(SFVec3f newValue)
      Add singleton SFVec3f value to MFVec3f sphericalHarmonicsDegree3Coef4field.
      Parameters:
      newValue - is new value to add to the sphericalHarmonicsDegree3Coef4 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree3Coef4

      public GaussianSplats setSphericalHarmonicsDegree3Coef4(double[] newArray)
      Utility method: double-precision set-array accessor for X3D floating-point type, similar to setSphericalHarmonicsDegree3Coef4(float[]).
      Parameters:
      newArray - is new value for field
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getSphericalHarmonicsDegree3Coef5

      public float[] getSphericalHarmonicsDegree3Coef5()
      Provide array of 3-tuple float results from inputOutput MFVec3f field named sphericalHarmonicsDegree3Coef5.

      Tooltip: spherical harmonics data.
      • Warning: To use higher degrees of spherical harmonics the lower degrees MUST be defined.
      Specified by:
      getSphericalHarmonicsDegree3Coef5 in interface GaussianSplats
      Returns:
      value of sphericalHarmonicsDegree3Coef5 field
    • setSphericalHarmonicsDegree3Coef5

      public GaussianSplats setSphericalHarmonicsDegree3Coef5(float[] newValue)
      Accessor method to assign 3-tuple float array to inputOutput MFVec3f field named sphericalHarmonicsDegree3Coef5.

      Tooltip: spherical harmonics data.
      • Warning: To use higher degrees of spherical harmonics the lower degrees MUST be defined.
      Specified by:
      setSphericalHarmonicsDegree3Coef5 in interface GaussianSplats
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree3Coef5 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree3Coef5

      public GaussianSplats setSphericalHarmonicsDegree3Coef5(MFVec3f newValue)
      Assign typed object value to MFVec3f sphericalHarmonicsDegree3Coef5 field, similar to setSphericalHarmonicsDegree3Coef5(float[]).
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree3Coef5 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • addSphericalHarmonicsDegree3Coef5

      public GaussianSplats addSphericalHarmonicsDegree3Coef5(SFVec3f newValue)
      Add singleton SFVec3f value to MFVec3f sphericalHarmonicsDegree3Coef5field.
      Parameters:
      newValue - is new value to add to the sphericalHarmonicsDegree3Coef5 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree3Coef5

      public GaussianSplats setSphericalHarmonicsDegree3Coef5(double[] newArray)
      Utility method: double-precision set-array accessor for X3D floating-point type, similar to setSphericalHarmonicsDegree3Coef5(float[]).
      Parameters:
      newArray - is new value for field
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getSphericalHarmonicsDegree3Coef6

      public float[] getSphericalHarmonicsDegree3Coef6()
      Provide array of 3-tuple float results from inputOutput MFVec3f field named sphericalHarmonicsDegree3Coef6.

      Tooltip: spherical harmonics data.
      • Warning: To use higher degrees of spherical harmonics the lower degrees MUST be defined.
      Specified by:
      getSphericalHarmonicsDegree3Coef6 in interface GaussianSplats
      Returns:
      value of sphericalHarmonicsDegree3Coef6 field
    • setSphericalHarmonicsDegree3Coef6

      public GaussianSplats setSphericalHarmonicsDegree3Coef6(float[] newValue)
      Accessor method to assign 3-tuple float array to inputOutput MFVec3f field named sphericalHarmonicsDegree3Coef6.

      Tooltip: spherical harmonics data.
      • Warning: To use higher degrees of spherical harmonics the lower degrees MUST be defined.
      Specified by:
      setSphericalHarmonicsDegree3Coef6 in interface GaussianSplats
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree3Coef6 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree3Coef6

      public GaussianSplats setSphericalHarmonicsDegree3Coef6(MFVec3f newValue)
      Assign typed object value to MFVec3f sphericalHarmonicsDegree3Coef6 field, similar to setSphericalHarmonicsDegree3Coef6(float[]).
      Parameters:
      newValue - is new value for the sphericalHarmonicsDegree3Coef6 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • addSphericalHarmonicsDegree3Coef6

      public GaussianSplats addSphericalHarmonicsDegree3Coef6(SFVec3f newValue)
      Add singleton SFVec3f value to MFVec3f sphericalHarmonicsDegree3Coef6field.
      Parameters:
      newValue - is new value to add to the sphericalHarmonicsDegree3Coef6 field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setSphericalHarmonicsDegree3Coef6

      public GaussianSplats setSphericalHarmonicsDegree3Coef6(double[] newArray)
      Utility method: double-precision set-array accessor for X3D floating-point type, similar to setSphericalHarmonicsDegree3Coef6(float[]).
      Parameters:
      newArray - is new value for field
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getVisible

      public boolean getVisible()
      Provide boolean value from inputOutput SFBool field named visible.

      Tooltip: Whether or not renderable content within this node is visually displayed.
      • Hint: the visible field has no effect on animation behaviors, event passing or other non-visual characteristics.
      • Hint: content must be visible to be collidable and to be pickable.
      Specified by:
      getVisible in interface GaussianSplats
      Specified by:
      getVisible in interface X3DBoundedObject
      Returns:
      value of visible field
    • setVisible

      public GaussianSplats setVisible(boolean newValue)
      Accessor method to assign boolean value to inputOutput SFBool field named visible.

      Tooltip: Whether or not renderable content within this node is visually displayed.
      • Hint: the visible field has no effect on animation behaviors, event passing or other non-visual characteristics.
      • Hint: content must be visible to be collidable and to be pickable.
      Specified by:
      setVisible in interface GaussianSplats
      Specified by:
      setVisible in interface X3DBoundedObject
      Parameters:
      newValue - is new value for the visible field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setVisible

      public GaussianSplats setVisible(SFBool newValue)
      Assign typed object value to SFBool visible field, similar to setVisible(boolean).
      Parameters:
      newValue - is new value for the visible field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getDEF

      public String getDEF()
      Provide String value from inputOutput SFString field named DEF.

      Tooltip: DEF defines a unique ID name for this node, referenceable by other nodes.
      Overrides:
      getDEF in class X3DConcreteNode
      Returns:
      value of DEF field
      See Also:
    • setDEF

      public final GaussianSplats setDEF(String newValue)
      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.

      Note that setting the DEF value clears the USE value.
      Specified by:
      setDEF in class X3DConcreteNode
      Parameters:
      newValue - is new value for the DEF field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setDEF

      public GaussianSplats setDEF(SFString newValue)
      Assign typed object value to SFString DEF field, similar to setDEF(String).
      Parameters:
      newValue - is new value for the DEF field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getUSE

      public String 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:
      getUSE in class X3DConcreteNode
      Returns:
      value of USE field
      See Also:
    • setUSE

      public final GaussianSplats setUSE(String newValue)
      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: each USE node is still an independent object, with the USE value matching the DEF value in the preceding object.

      Warning: invoking the setUSE() 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:
      setUSE in class X3DConcreteNode
      Parameters:
      newValue - is new value for the USE field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setUSE

      public GaussianSplats setUSE(SFString newValue)
      Assign typed object value to SFString USE field, similar to setUSE(String).
      Parameters:
      newValue - is new value for the USE field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getCssClass

    • setCssClass

      public final GaussianSplats setCssClass(String newValue)
      Accessor method to assign String value to inputOutput SFString field named class.
      Specified by:
      setCssClass in class X3DConcreteNode
      Parameters:
      newValue - is new value for the class field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      See Also:
    • setCssClass

      public GaussianSplats setCssClass(SFString newValue)
      Assign typed object value to SFString cssClass field, similar to setCssClass(String).
      Parameters:
      newValue - is new value for the class field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getHtmlId

    • setHtmlId

      public final GaussianSplats setHtmlId(String newValue)
      Accessor method to assign String value to inputOutput SFString field named id.
      Specified by:
      setHtmlId in class X3DConcreteNode
      Parameters:
      newValue - is new value for the id field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      See Also:
    • setHtmlId

      public GaussianSplats setHtmlId(SFString newValue)
      Assign typed object value to SFString HtmlId field, similar to setHtmlId(String).
      Parameters:
      newValue - is new value for the id field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getCssStyle

    • setCssStyle

      public final GaussianSplats setCssStyle(String newValue)
      Accessor method to assign String value to inputOutput SFString field named style.
      Specified by:
      setCssStyle in class X3DConcreteNode
      Parameters:
      newValue - is new value for the style field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      See Also:
    • setCssStyle

      public GaussianSplats setCssStyle(SFString newValue)
      Assign typed object value to SFString cssClass field, similar to setCssStyle(String).
      Parameters:
      newValue - is new value for the style field.
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • setUSE

      public GaussianSplats setUSE(GaussianSplats DEFnode)
      Assign a USE reference to another DEF node of same node type, similar to setUSE(String).

      Warning: note that the setUSE() 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:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • addComments

      public GaussianSplats addComments(String newComment)
      Add comment as String to contained commentsList.
      Specified by:
      addComments in class X3DConcreteElement
      Parameters:
      newComment - initial value
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      See Also:
    • addComments

      public GaussianSplats addComments(String[] newComments)
      Add comments as String[] array to contained commentsList.
      Specified by:
      addComments in class X3DConcreteElement
      Parameters:
      newComments - array of comments
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
    • addComments

      public GaussianSplats addComments(CommentsBlock newCommentsBlock)
      Add CommentsBlock to contained commentsList.
      Specified by:
      addComments in class X3DConcreteElement
      Parameters:
      newCommentsBlock - block of comments to add
      Returns:
      GaussianSplats - namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
    • toStringX3D

      public String toStringX3D(int indentLevel)
      Recursive method to provide X3D string serialization of this model subgraph, utilizing XML encoding and conforming to X3D Canonical Form.
      Specified by:
      toStringX3D in class X3DConcreteElement
      Parameters:
      indentLevel - number of levels of indentation for this element
      Returns:
      X3D string
      See Also:
    • toStringClassicVRML

      public String toStringClassicVRML(int indentLevel)
      Recursive method to provide ClassicVRML string serialization.
      Specified by:
      toStringClassicVRML in class X3DConcreteElement
      Parameters:
      indentLevel - number of levels of indentation for this element
      Returns:
      ClassicVRML string
      See Also:
    • toStringVRML97

      public String toStringVRML97(int indentLevel)
      Recursive method to provide VRML97 string serialization.
      Specified by:
      toStringVRML97 in class X3DConcreteElement
      Parameters:
      indentLevel - number of levels of indentation for this element
      Returns:
      VRML97 string
      See Also:
    • findElementByNameValue

      public X3DConcreteElement 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. 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:
      findElementByNameValue in class X3DConcreteElement
      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

      public X3DConcreteElement 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. 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:
      findElementByNameValue in class X3DConcreteElement
      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

      public boolean hasElementByNameValue(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.
      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

      public X3DConcreteNode findNodeByDEF(String DEFvalue)
      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:
      findNodeByDEF in class X3DConcreteElement
      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

      public boolean hasNodeByDEF(String DEFvalue)
      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

      public String 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:
      validate in class X3DConcreteElement
      Returns:
      validation results (if any)