Examples of transform()


Examples of com.ardor3d.bounding.BoundingBox.transform()

        worldToLocal(center, center);
        worldBound.setXExtent(extents.getX());
        worldBound.setYExtent(extents.getY());
        worldBound.setZExtent(extents.getZ());
        worldBound.setCenter(center.getX(), (heightMax + heightMin) * 0.5, center.getZ());
        worldBound.transform(_worldTransform, worldBound);
        clearDirty(DirtyType.Bounding);
    }

    /**
     * Initialize/Update shaders

Examples of com.artemis.weaver.packed.ExternalFieldClassTransformer.transform()

  private boolean compileClass(String file) {
    ClassWriter cw = new ClassWriter(ClassWriter.COMPUTE_FRAMES);
   
    ExternalFieldClassTransformer transformer = new ExternalFieldClassTransformer(null, packed);
    ClassNode cn = transformer.transform(cr);
   
    if (!transformer.isComponentAccessChanged())
      return false;
   
    try {

Examples of com.bazaarvoice.jolt.Chainr.transform()

    }

    @Test(dataProvider = "badTransforms", expectedExceptions = TransformException.class )
    public void testBadTransforms(Object chainrSpec) {
        Chainr unit = Chainr.fromSpec( chainrSpec );
        unit.transform( new HashMap(), null );// should fail here
        AssertJUnit.fail( "Should not have gotten here" );
    }

    @DataProvider
    public Object[][] passingTestCases() throws IOException {

Examples of com.bazaarvoice.jolt.Shiftr.transform()

    @Test(dataProvider = "shiftrTestCases")
    public void shiftrUnitTest(String testName, Map<String, Object> spec, Map<String, Object> data, Map<String, Object> expected) throws Exception {

        Shiftr shiftr = new Shiftr( spec );
        Object actual = shiftr.transform( data );

        JoltTestUtil.runDiffy( testName, expected, actual );
    }

Examples of com.bulletphysics.linearmath.Transform.transform()

            Transform tmpTrans = body
                .getCenterOfMassTransform(new Transform());
            tmpTrans.inverse();
            Vector3f localPivot = new Vector3f(pickPos);
            tmpTrans.transform(localPivot);

            Point2PointConstraint p2p = new Point2PointConstraint(
                body, localPivot);
            myWorld.addConstraint(p2p);
            pickConstraint = p2p;

Examples of com.buschmais.jqassistant.core.report.api.ReportTransformer.transform()

      Source xmlSource = new StreamSource(selectedXmlReportFile);
      Result htmlTarget = new StreamResult(writer);
      getLog().info("Transforming " + selectedXmlReportFile.getAbsolutePath() + ".");
      ReportTransformer transformer = new HtmlReportTransformer();
      try {
        transformer.transform(xmlSource, htmlTarget);
      } catch (ReportTransformerException e) {
        throw new MavenReportException("Cannot transform report.", e);
      }
      getSink().rawText(writer.toString());
    }

Examples of com.buschmais.jqassistant.core.report.impl.HtmlReportTransformer.transform()

      Source xmlSource = new StreamSource(selectedXmlReportFile);
      Result htmlTarget = new StreamResult(writer);
      getLog().info("Transforming " + selectedXmlReportFile.getAbsolutePath() + ".");
      ReportTransformer transformer = new HtmlReportTransformer();
      try {
        transformer.transform(xmlSource, htmlTarget);
      } catch (ReportTransformerException e) {
        throw new MavenReportException("Cannot transform report.", e);
      }
      getSink().rawText(writer.toString());
    }

Examples of com.dotcms.repackage.javax.xml.transform.Transformer.transform()

        TransformerFactory transFact = TransformerFactory.newInstance();
        StreamResult result = new StreamResult(new ByteArrayOutputStream());
        Transformer trans = transFact.newTransformer(xsltSource);

        try{
          trans.transform(xmlSource, result);
        }catch(Exception e1){
          Logger.error(XsltTool.class, "Error in transformation. "+e1.getMessage());
          e1.printStackTrace();
        }

Examples of com.dp.nebula.wormhole.common.interfaces.ITransformer.transform()

          line.addField(entry.getValue().toString());
        }
       
      }
      if(!dataTransform.isEmpty()) {
        line = transformer.transform(line);
      }
      log.debug("send line to bufferLineExchanger:" + line.toString('\t'));
      if (lineSender.send(line)){
        getMonitor().increaseSuccessLines();
      }else{

Examples of com.dragome.callbackevictor.serverside.bytecode.transformation.asm.AsmClassTransformer.transform()

    byte[] transformedArray;

    if (requiresTransformation(className))
    {
      AsmClassTransformer asmClassTransformer= new AsmClassTransformer();
      transformedArray= asmClassTransformer.transform(originalByteArray);
    }
    else
    {
      transformedArray= originalByteArray;
    }
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.