Class ViewLayers3D

    • Field Detail

      • layer

        public TypedIOPort layer
        The input scene graph. Actors that produce 3D objects can be connected to this port for rendering. The type of this port is sceneGraph.
      • backgroundColor

        public ColorAttribute backgroundColor
        The background color. Note that the alpha value (the fourth element of the array), which would normally specify transparency, is ignored.
      • horizontalResolution

        public Parameter horizontalResolution
        The width in pixels of the display screen. The larger of the vertical or horizontal size will correspond by default to one unit of distance, so this parameter determines the horizontal resolution as well as the size of the display. This is an int with default 400.
      • iterationSynchronized

        public Parameter iterationSynchronized
        Boolean variable that determines whether screen update is done once per iteration. This is a boolean with default false.
      • layerThickness

        public Parameter layerThickness
        Floating-point variable for specifying thickness of each layer.
      • rotatable

        public Parameter rotatable
        Boolean variable that determines whether the user can rotate the model with the mouse. This is a boolean with default true.
      • scalable

        public Parameter scalable
        Boolean variable that determines whether the user can move the point of view along the z axis using the mouse. This is a boolean with default false.
      • showAxes

        public Parameter showAxes
        Boolean variable that determines whether or not axes are shown. This parameter is a boolean with default false.
      • translatable

        public Parameter translatable
        Boolean variable that determines whether the user can translate the model with the mouse. This is a boolean with default false.
      • verticalResolution

        public Parameter verticalResolution
        The height in pixels of the display screen. The larger of the vertical or horizontal size will correspond by default to one unit of distance, so this parameter determines the horizontal resolution as well as the size of the display. This is an integer with default 400.
    • Constructor Detail

      • ViewLayers3D

        public ViewLayers3D​(CompositeEntity container,
                            java.lang.String name)
                     throws IllegalActionException,
                            NameDuplicationException
        Construct a ViewLayers3D in the given container with the given name. If the container argument is null, a NullPointerException will be thrown. If the name argument is null, then the name is set to the empty string. Increment the version number of the workspace.
        Parameters:
        container - Container of the director.
        name - Name of this ViewScreen.
        Throws:
        IllegalActionException - If this actor is not compatible with the specified container.
        NameDuplicationException - If the container not a CompositeActor and the name collides with an entity in the container.