Exemplo n.º 1
0
 ///
 ///          <summary> * (9) get attribute TransferFunctionSource </summary>
 ///          * <returns> the value of the attribute </returns>
 ///
 public virtual EnumTransferFunctionSource getTransferFunctionSource()
 {
     return(EnumTransferFunctionSource.getEnum(getAttribute(AttributeName.TRANSFERFUNCTIONSOURCE, null, null)));
 }
Exemplo n.º 2
0
 static JDFAutoTransferFunctionControl()
 {
     atrInfoTable[0]  = new AtrInfoTable(AttributeName.TRANSFERFUNCTIONSOURCE, 0x22222222, AttributeInfo.EnumAttributeType.enumeration, EnumTransferFunctionSource.getEnum(0), null);
     elemInfoTable[0] = new ElemInfoTable(ElementName.TRANSFERCURVEPOOL, 0x66666666);
 }
Exemplo n.º 3
0
        // ************************************************************************
        // * Attribute getter / setter
        // * ************************************************************************
        //

        //         ---------------------------------------------------------------------
        //        Methods for Attribute TransferFunctionSource
        //        ---------------------------------------------------------------------
        ///
        ///          <summary> * (5) set attribute TransferFunctionSource </summary>
        ///          * <param name="enumVar">: the enumVar to set the attribute to </param>
        ///
        public virtual void setTransferFunctionSource(EnumTransferFunctionSource enumVar)
        {
            setAttribute(AttributeName.TRANSFERFUNCTIONSOURCE, enumVar == null ? null : enumVar.getName(), null);
        }