Class DrawableCombiner3d

    • Field Detail

      • properties

        public java.util.Map<java.lang.String,​java.lang.Object> properties
        The properties
      • dynamic

        public boolean dynamic
        does the Drawable3d have dynamic subelements?
      • _hasSpaceobject

        public boolean _hasSpaceobject
        Has a SpaceObject?
      • _rotation3d

        public boolean _rotation3d
        Uses 3d Rotation?
      • _autoRotation

        public boolean _autoRotation
        Calculate the Rotation ?
      • DEG45X

        public static final IVector3 DEG45X
        Constant for 45 degree. In all three Dimensions (x,y,z)
      • DEG45Y

        public static final IVector3 DEG45Y
      • DEG45Z

        public static final IVector3 DEG45Z
      • DEG90X

        public static final IVector3 DEG90X
        Constant for 90 degree. In all three Dimensions (x,y,z)
      • DEG90Y

        public static final IVector3 DEG90Y
      • DEG90Z

        public static final IVector3 DEG90Z
      • DEG180X

        public static final IVector3 DEG180X
        Constant for 180 degree. In all three Dimensions (x,y,z)
      • DEG180Y

        public static final IVector3 DEG180Y
      • DEG180Z

        public static final IVector3 DEG180Z
      • DEG270X

        public static final IVector3 DEG270X
        Constant for 270 degree. In all three Dimensions (x,y,z)
      • DEG270Y

        public static final IVector3 DEG270Y
      • DEG270Z

        public static final IVector3 DEG270Z
    • Constructor Detail

      • DrawableCombiner3d

        public DrawableCombiner3d()
        Creates a new DrawableCombiner of size 1.0.
      • DrawableCombiner3d

        public DrawableCombiner3d​(java.lang.Object position,
                                  java.lang.Object rotation,
                                  java.lang.Object size,
                                  boolean dynamic,
                                  boolean hasSpaceobject,
                                  boolean rotation3d,
                                  boolean autoRotation)
        Creates a new DrawableCombiner3d
    • Method Detail

      • addPrimitive

        public void addPrimitive​(Primitive3d p)
        Adds a primitive
        Parameters:
        p - the primitive
        sizeDefining - true if the added object should be the size-defining one
      • removePrimitive

        public void removePrimitive​(Primitive3d p)
        Removes a primitive from all layers in the combiner.
        Parameters:
        p - the primitive
      • getBoundValue

        public java.lang.Object getBoundValue​(java.lang.Object obj,
                                              java.lang.Object prop,
                                              IViewport3d viewport)
        Gets the bound value for a property.
        Returns:
        The bound value.
      • getProperty

        public java.lang.Object getProperty​(java.lang.String name)
        Returns a property.
        Specified by:
        getProperty in interface IPropertyObject
        Parameters:
        name - name of the property
        Returns:
        the property
      • getPropertyNames

        public java.util.Set<?> getPropertyNames()
        Returns all of the properties.
        Specified by:
        getPropertyNames in interface IPropertyObject
        Returns:
        the properties
      • setProperty

        public void setProperty​(java.lang.String name,
                                java.lang.Object value)
        Sets a property
        Specified by:
        setProperty in interface IPropertyObject
        Parameters:
        name - name of the property
        value - value of the property
      • hasProperty

        public boolean hasProperty​(java.lang.String name)
        Description copied from interface: IPropertyObject
        Tests if the given property name exists If an property is null it exists
        Specified by:
        hasProperty in interface IPropertyObject
        Parameters:
        name - the name of the property to test
        Returns:
        true if and only if the property exists
      • hasSpaceobject

        public boolean hasSpaceobject()
      • setHasSpaceobject

        public void setHasSpaceobject​(boolean hasSpaceobject)
      • getPrimitives3d

        public java.util.List<Primitive3d> getPrimitives3d()
        Returns:
        the primitives3d
      • setPrimitives3d

        public void setPrimitives3d​(java.util.List<Primitive3d> primitives3d)
        Parameters:
        primitives3d - the primitives3d to set
      • isRotation3d

        public boolean isRotation3d()
        Returns:
        the _rotation3d
      • setRotation3d

        public void setRotation3d​(boolean _rotation3d)
        Parameters:
        _rotation3d - the _rotation3d to set
      • isAutoRotation

        public boolean isAutoRotation()
        Returns:
        the _autoRotation
      • setAutoRotation

        public void setAutoRotation​(boolean _autoRotation)
        Parameters:
        _autoRotation - the _autoRotation to set
      • isDynamic

        public boolean isDynamic()
      • setDynamic

        public void setDynamic​(boolean dynamic)