vtk.sample.Demo.class Maven / Gradle / Ivy
???? 3 vtk/sample/Demo exec (Ljava/util/concurrent/CompletionService;
NUMBER_OF_PIPLINE_TO_BUILD I
gcStatus Ljavax/swing/JLabel; debugMode Ljavax/swing/JCheckBox; runGC panel3d Lvtk/vtkPanel;
nbSeconds java/awt/BorderLayout
! " ()V
$ % & ! ' javax/swing/JPanel (Ljava/awt/LayoutManager;)V ) vtk/vtkPanel
( , javax/swing/JLabel .
+ 0 ! 1 (Ljava/lang/String;)V 3 javax/swing/JCheckBox 5 Enable GC
2 7 ! 8 (Ljava/lang/String;Z)V :
Debug mode < .java/util/concurrent/ExecutorCompletionService
> ? @ A B java/lang/Runtime
getRuntime ()Ljava/lang/Runtime;
> D E F availableProcessors ()I
H I J K L java/util/concurrent/Executors newFixedThreadPool )(I)Ljava/util/concurrent/ExecutorService;
; N ! O "(Ljava/util/concurrent/Executor;)V
$ R javax/swing/BoxLayout
Q T ! U (Ljava/awt/Container;I)V
$ W X ' setLayout
$ Z [ \ add *(Ljava/awt/Component;)Ljava/awt/Component;
^ _ ` a b javax/swing/Box createHorizontalGlue ()Ljava/awt/Component; d Center
f [ g )(Ljava/awt/Component;Ljava/lang/Object;)V i South
k l " setupWorkers n javax/swing/Timer p vtk/sample/Demo$1
o r ! s (Lvtk/sample/Demo;)V
m u ! v #(ILjava/awt/event/ActionListener;)V
m x y " start { | } ~
vtk/vtkObject JAVA_OBJECT_MANAGER Lvtk/vtkJavaMemoryManager; ? ? ? ? ? vtk/vtkJavaMemoryManager getAutoGarbageCollector ()Lvtk/vtkJavaGarbageCollector; ? ? ? ? ? java/util/concurrent/TimeUnit SECONDS Ljava/util/concurrent/TimeUnit;
? ? ? ? ? vtk/vtkJavaGarbageCollector SetScheduleTime #(JLjava/util/concurrent/TimeUnit;)V ? vtk/sample/Demo$2
? r
2 ? ? ? addActionListener "(Ljava/awt/event/ActionListener;)V ? vtk/sample/Demo$3
? r ? vtk/sample/Demo$AddActorRunnable
?
? ? ? ? setRenderer (Lvtk/vtkPanel;)V ? vtk/sample/Demo$4
? ? ! ? 6(Lvtk/sample/Demo;Lvtk/sample/Demo$AddActorRunnable;)V
? x ? vtk/sample/Demo$PipelineBuilder
? ? ? ? ? ? &java/util/concurrent/CompletionService submit >(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Future; ? vtk/sample/Demo$5
?
? ? ? ? ? javax/swing/SwingUtilities invokeLater (Ljava/lang/Runnable;)V
? ? ? ? ? vtk/vtkNativeLibrary LoadAllNativeLibraries ()Z
? ? ? ? values ()[Lvtk/vtkNativeLibrary;
? ? ? ? IsLoaded ? ? ? ? ? java/lang/System out Ljava/io/PrintStream; ? java/lang/StringBuilder
?
? ? ? ? GetLibraryName ()Ljava/lang/String;
? ? ? ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? not loaded
? ? ? ? toString
? ? ? ? 1 java/io/PrintStream println
? ? ? ? DisableOutputWindow (Ljava/io/File;)V serialVersionUID J
ConstantValue Signature 8Ljava/util/concurrent/CompletionService; Code LineNumberTable setupGC startWorking
StackMapTable main ([Ljava/lang/String;)V
Exceptions ? java/lang/InterruptedException ? +java/lang/reflect/InvocationTargetException
access$008 (Lvtk/sample/Demo;)I
access$100 !(Lvtk/sample/Demo;)Lvtk/vtkPanel;
access$200 *(Lvtk/sample/Demo;)Ljavax/swing/JCheckBox;
access$300
access$400 '(Lvtk/sample/Demo;)Ljavax/swing/JLabel;
access$500
access$600 ;(Lvtk/sample/Demo;)Ljava/util/concurrent/CompletionService; [Lvtk/vtkNativeLibrary;
SourceFile Demo.java InnerClasses AddActorRunnable PipelineBuilder ! $ ? ? ? ?
? ?
! " ? % ?*? Y? ? #*x? *? (Y? *? *? +Y-? /? *? 2Y4? 6? *? 2Y9? 6? *? ;Y? =? C? G? M? ? $Y? PL+? QY+? S? V+*? ? YW+*? ? YW+? ]? YW+*? ? YW**? c? e*+h? e*? j*? ? mY? oY*? q? t? w? ? R ? - ? ? ) ? 7 ? E ? Y ? a ? n ? w ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? " ? R .? z? ?
? ?? ?*? ? ?Y*? ?? ?*? ? ?Y*? ?? ?? ? ? ? ? - ? l " ? E ? ?Y? ?L+*? ? ?? ?Y*+? ?? ?? ? ? ? ? ? ? ? " ? U "<*? ? *? ? ?Y? ?? ? W???? ? ?
? ? ! ? ? ? ? ? ? ? ' ? ?Y? ?? ?? ?
?
? ? ? ? ? ? ? $ *Y? Z`? ? ? ' ? ? ? *? ? ? ' ? ? ? *? ? ? ' ? ? *? ? ? ' ? *? ? ? ' ? ? *? ? ? ' ? *? ? ? ' " ? ? F? ?? >? ?K*?<=? 0*2N-? Ś ? Ȼ ?Y? ?-? Ѷ ?ٶ ն ۶ ބ???? ? ? 5 6 7 8 ; 6 A <