Examples of GetRenderer()


Examples of vtk.vtkPanel.GetRenderer()

    vtkPolyDataMapper coneMapper = new vtkPolyDataMapper();
    coneMapper.SetInput(coneSource.GetOutput());
    vtkActor coneActor = new vtkActor();
    coneActor.SetMapper(coneMapper);
    // Add actor in 3D Panel
    panel3D.GetRenderer().AddActor(coneActor);
    // Build Java Frame and include the VTK view
    JFrame frame = new JFrame("Artenum Demo");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.getContentPane().setLayout(new BorderLayout());
    frame.getContentPane().add(panel3D, BorderLayout.CENTER);
View Full Code Here
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.