/dports/math/vtk9/VTK-9.1.0/Rendering/Volume/Testing/Python/ |
H A D | TestFixedPointRayCasterNearest.py | 294 self.volumeProperty[0][i].SetColor(rainbow) 298 self.volumeProperty[1][i].SetColor(rainbow) 302 self.volumeProperty[2][i].SetColor(rainbow) 306 self.volumeProperty[3][i].SetColor(0, red) 308 self.volumeProperty[3][i].SetColor(2, blue) 327 self.volumeProperty[i][2].ShadeOn() 328 self.volumeProperty[i][4].ShadeOn(0) 329 self.volumeProperty[i][4].ShadeOn(1) 330 self.volumeProperty[i][4].ShadeOn(2) 331 self.volumeProperty[i][4].ShadeOn(3) [all …]
|
/dports/math/vtk8/VTK-8.2.0/Rendering/Volume/Testing/Python/ |
H A D | TestFixedPointRayCasterNearest.py | 294 self.volumeProperty[0][i].SetColor(rainbow) 298 self.volumeProperty[1][i].SetColor(rainbow) 302 self.volumeProperty[2][i].SetColor(rainbow) 306 self.volumeProperty[3][i].SetColor(0, red) 308 self.volumeProperty[3][i].SetColor(2, blue) 327 self.volumeProperty[i][2].ShadeOn() 328 self.volumeProperty[i][4].ShadeOn(0) 329 self.volumeProperty[i][4].ShadeOn(1) 330 self.volumeProperty[i][4].ShadeOn(2) 331 self.volumeProperty[i][4].ShadeOn(3) [all …]
|
/dports/math/vtk6/VTK-6.2.0/Rendering/Volume/Testing/Python/ |
H A D | TestFixedPointRayCasterNearest.py | 294 self.volumeProperty[0][i].SetColor(rainbow) 298 self.volumeProperty[1][i].SetColor(rainbow) 302 self.volumeProperty[2][i].SetColor(rainbow) 306 self.volumeProperty[3][i].SetColor(0, red) 308 self.volumeProperty[3][i].SetColor(2, blue) 327 self.volumeProperty[i][2].ShadeOn() 328 self.volumeProperty[i][4].ShadeOn(0) 329 self.volumeProperty[i][4].ShadeOn(1) 330 self.volumeProperty[i][4].ShadeOn(2) 331 self.volumeProperty[i][4].ShadeOn(3) [all …]
|
/dports/math/vtk6/VTK-6.2.0/Rendering/Volume/Testing/Cxx/ |
H A D | ExerciseUnstructuredGridRayCastMapper.cxx | 323 volumeProperty->ShadeOff(); in NewRGBVolumeProperty() 331 return volumeProperty; in NewRGBVolumeProperty() 351 volumeProperty->ShadeOff(); in NewGrayVolumeProperty() 359 return volumeProperty; in NewGrayVolumeProperty() 367 volumeProperty->ShadeOff(); in NewMultiTFVolumeProperty() 377 volumeProperty->SetColor(0, rgb); in NewMultiTFVolumeProperty() 409 return volumeProperty; in NewMultiTFVolumeProperty() 440 volumeProperty->Delete(); in ExerciseUnstructuredGridRayCastMapper() 450 volumeProperty->Delete(); in ExerciseUnstructuredGridRayCastMapper() 459 volumeProperty->Delete(); in ExerciseUnstructuredGridRayCastMapper() [all …]
|
H A D | TestGPURayCastVolumeLightKit.cxx | 80 vtkNew<vtkVolumeProperty> volumeProperty; in TestGPURayCastVolumeLightKit() local 81 volumeProperty->ShadeOn(); in TestGPURayCastVolumeLightKit() 82 volumeProperty->SetAmbient(0.0); in TestGPURayCastVolumeLightKit() 83 volumeProperty->SetDiffuse(1.0); in TestGPURayCastVolumeLightKit() 84 volumeProperty->SetSpecular(0.0); in TestGPURayCastVolumeLightKit() 85 volumeProperty->SetInterpolationType(VTK_LINEAR_INTERPOLATION); in TestGPURayCastVolumeLightKit() 86 volumeProperty->SetScalarOpacity(scalarOpacity.GetPointer()); in TestGPURayCastVolumeLightKit() 89 volumeProperty->GetRGBTransferFunction(0); in TestGPURayCastVolumeLightKit() 95 volume->SetProperty(volumeProperty.GetPointer()); in TestGPURayCastVolumeLightKit()
|
/dports/math/vtk9/VTK-9.1.0/Rendering/Volume/Testing/Cxx/ |
H A D | TestGPURayCastDependentComponentsLightParameters.cxx | 52 vtkVolumeProperty* volumeProperty; in TestGPURayCastDependentComponentsLightParameters() local 63 volumeProperty = vtkVolumeProperty::New(); in TestGPURayCastDependentComponentsLightParameters() 64 volumeProperty->IndependentComponentsOff(); in TestGPURayCastDependentComponentsLightParameters() 65 volumeProperty->ShadeOn(); in TestGPURayCastDependentComponentsLightParameters() 66 volumeProperty->SetScalarOpacity(opacity); in TestGPURayCastDependentComponentsLightParameters() 67 volumeProperty->SetAmbient(0.1); in TestGPURayCastDependentComponentsLightParameters() 68 volumeProperty->SetDiffuse(0.9); in TestGPURayCastDependentComponentsLightParameters() 69 volumeProperty->SetSpecular(0.4); in TestGPURayCastDependentComponentsLightParameters() 70 volumeProperty->SetSpecularPower(10.0); in TestGPURayCastDependentComponentsLightParameters() 74 volume->SetProperty(volumeProperty); in TestGPURayCastDependentComponentsLightParameters() [all …]
|
H A D | TestGPURayCastVolumeLightKit.cxx | 81 vtkNew<vtkVolumeProperty> volumeProperty; in TestGPURayCastVolumeLightKit() local 82 volumeProperty->ShadeOn(); in TestGPURayCastVolumeLightKit() 83 volumeProperty->SetAmbient(0.0); in TestGPURayCastVolumeLightKit() 84 volumeProperty->SetDiffuse(1.0); in TestGPURayCastVolumeLightKit() 85 volumeProperty->SetSpecular(0.0); in TestGPURayCastVolumeLightKit() 86 volumeProperty->SetInterpolationType(VTK_LINEAR_INTERPOLATION); in TestGPURayCastVolumeLightKit() 87 volumeProperty->SetScalarOpacity(scalarOpacity); in TestGPURayCastVolumeLightKit() 90 volumeProperty->GetRGBTransferFunction(0); in TestGPURayCastVolumeLightKit() 96 volume->SetProperty(volumeProperty); in TestGPURayCastVolumeLightKit()
|
H A D | TestGPURayCastFourComponentsAdditive.cxx | 52 vtkVolumeProperty* volumeProperty; in TestGPURayCastFourComponentsAdditive() local 59 volumeProperty = vtkVolumeProperty::New(); in TestGPURayCastFourComponentsAdditive() 60 volumeProperty->IndependentComponentsOff(); in TestGPURayCastFourComponentsAdditive() 61 volumeProperty->SetInterpolationType(VTK_LINEAR_INTERPOLATION); in TestGPURayCastFourComponentsAdditive() 62 volumeProperty->SetShade(1); in TestGPURayCastFourComponentsAdditive() 67 volumeProperty->SetScalarOpacity(f); in TestGPURayCastFourComponentsAdditive() 72 volume->SetProperty(volumeProperty); in TestGPURayCastFourComponentsAdditive() 75 int valid = volumeMapper->IsRenderSupported(renWin, volumeProperty); in TestGPURayCastFourComponentsAdditive() 101 volumeProperty->Delete(); in TestGPURayCastFourComponentsAdditive()
|
H A D | TestGPURayCastFourComponentsMIP.cxx | 52 vtkVolumeProperty* volumeProperty; in TestGPURayCastFourComponentsMIP() local 59 volumeProperty = vtkVolumeProperty::New(); in TestGPURayCastFourComponentsMIP() 60 volumeProperty->IndependentComponentsOff(); in TestGPURayCastFourComponentsMIP() 61 volumeProperty->SetInterpolationType(VTK_LINEAR_INTERPOLATION); in TestGPURayCastFourComponentsMIP() 62 volumeProperty->SetShade(1); in TestGPURayCastFourComponentsMIP() 67 volumeProperty->SetScalarOpacity(f); in TestGPURayCastFourComponentsMIP() 72 volume->SetProperty(volumeProperty); in TestGPURayCastFourComponentsMIP() 75 int valid = volumeMapper->IsRenderSupported(renWin, volumeProperty); in TestGPURayCastFourComponentsMIP() 101 volumeProperty->Delete(); in TestGPURayCastFourComponentsMIP()
|
H A D | TestGPURayCastFourComponentsAverage.cxx | 52 vtkVolumeProperty* volumeProperty; in TestGPURayCastFourComponentsAverage() local 60 volumeProperty = vtkVolumeProperty::New(); in TestGPURayCastFourComponentsAverage() 61 volumeProperty->IndependentComponentsOff(); in TestGPURayCastFourComponentsAverage() 62 volumeProperty->SetInterpolationType(VTK_LINEAR_INTERPOLATION); in TestGPURayCastFourComponentsAverage() 63 volumeProperty->SetShade(1); in TestGPURayCastFourComponentsAverage() 68 volumeProperty->SetScalarOpacity(f); in TestGPURayCastFourComponentsAverage() 73 volume->SetProperty(volumeProperty); in TestGPURayCastFourComponentsAverage() 76 int valid = volumeMapper->IsRenderSupported(renWin, volumeProperty); in TestGPURayCastFourComponentsAverage() 102 volumeProperty->Delete(); in TestGPURayCastFourComponentsAverage()
|
/dports/math/vtk8/VTK-8.2.0/Rendering/Volume/Testing/Cxx/ |
H A D | TestGPURayCastDependentComponentsLightParameters.cxx | 54 vtkVolumeProperty *volumeProperty; in TestGPURayCastDependentComponentsLightParameters() local 66 volumeProperty=vtkVolumeProperty::New(); in TestGPURayCastDependentComponentsLightParameters() 67 volumeProperty->IndependentComponentsOff(); in TestGPURayCastDependentComponentsLightParameters() 68 volumeProperty->ShadeOn(); in TestGPURayCastDependentComponentsLightParameters() 69 volumeProperty->SetScalarOpacity(opacity); in TestGPURayCastDependentComponentsLightParameters() 70 volumeProperty->SetAmbient(0.1); in TestGPURayCastDependentComponentsLightParameters() 71 volumeProperty->SetDiffuse(0.9); in TestGPURayCastDependentComponentsLightParameters() 72 volumeProperty->SetSpecular(0.4); in TestGPURayCastDependentComponentsLightParameters() 73 volumeProperty->SetSpecularPower(10.0); in TestGPURayCastDependentComponentsLightParameters() 77 volume->SetProperty(volumeProperty); in TestGPURayCastDependentComponentsLightParameters() [all …]
|
H A D | TestGPURayCastVolumeLightKit.cxx | 82 vtkNew<vtkVolumeProperty> volumeProperty; in TestGPURayCastVolumeLightKit() local 83 volumeProperty->ShadeOn(); in TestGPURayCastVolumeLightKit() 84 volumeProperty->SetAmbient(0.0); in TestGPURayCastVolumeLightKit() 85 volumeProperty->SetDiffuse(1.0); in TestGPURayCastVolumeLightKit() 86 volumeProperty->SetSpecular(0.0); in TestGPURayCastVolumeLightKit() 87 volumeProperty->SetInterpolationType(VTK_LINEAR_INTERPOLATION); in TestGPURayCastVolumeLightKit() 88 volumeProperty->SetScalarOpacity(scalarOpacity); in TestGPURayCastVolumeLightKit() 91 volumeProperty->GetRGBTransferFunction(0); in TestGPURayCastVolumeLightKit() 97 volume->SetProperty(volumeProperty); in TestGPURayCastVolumeLightKit()
|
H A D | TestGPURayCastFourComponentsAverage.cxx | 54 vtkVolumeProperty *volumeProperty; in TestGPURayCastFourComponentsAverage() local 63 volumeProperty=vtkVolumeProperty::New(); in TestGPURayCastFourComponentsAverage() 64 volumeProperty->IndependentComponentsOff(); in TestGPURayCastFourComponentsAverage() 65 volumeProperty->SetInterpolationType(VTK_LINEAR_INTERPOLATION); in TestGPURayCastFourComponentsAverage() 66 volumeProperty->SetShade(1); in TestGPURayCastFourComponentsAverage() 71 volumeProperty->SetScalarOpacity(f); in TestGPURayCastFourComponentsAverage() 76 volume->SetProperty(volumeProperty); in TestGPURayCastFourComponentsAverage() 79 int valid=volumeMapper->IsRenderSupported(renWin,volumeProperty); in TestGPURayCastFourComponentsAverage() 105 volumeProperty->Delete(); in TestGPURayCastFourComponentsAverage()
|
H A D | TestGPURayCastFourComponentsAdditive.cxx | 54 vtkVolumeProperty *volumeProperty; in TestGPURayCastFourComponentsAdditive() local 62 volumeProperty=vtkVolumeProperty::New(); in TestGPURayCastFourComponentsAdditive() 63 volumeProperty->IndependentComponentsOff(); in TestGPURayCastFourComponentsAdditive() 64 volumeProperty->SetInterpolationType(VTK_LINEAR_INTERPOLATION); in TestGPURayCastFourComponentsAdditive() 65 volumeProperty->SetShade(1); in TestGPURayCastFourComponentsAdditive() 70 volumeProperty->SetScalarOpacity(f); in TestGPURayCastFourComponentsAdditive() 75 volume->SetProperty(volumeProperty); in TestGPURayCastFourComponentsAdditive() 78 int valid=volumeMapper->IsRenderSupported(renWin,volumeProperty); in TestGPURayCastFourComponentsAdditive() 104 volumeProperty->Delete(); in TestGPURayCastFourComponentsAdditive()
|
H A D | TestGPURayCastFourComponentsMIP.cxx | 54 vtkVolumeProperty *volumeProperty; in TestGPURayCastFourComponentsMIP() local 62 volumeProperty=vtkVolumeProperty::New(); in TestGPURayCastFourComponentsMIP() 63 volumeProperty->IndependentComponentsOff(); in TestGPURayCastFourComponentsMIP() 64 volumeProperty->SetInterpolationType(VTK_LINEAR_INTERPOLATION); in TestGPURayCastFourComponentsMIP() 65 volumeProperty->SetShade(1); in TestGPURayCastFourComponentsMIP() 70 volumeProperty->SetScalarOpacity(f); in TestGPURayCastFourComponentsMIP() 75 volume->SetProperty(volumeProperty); in TestGPURayCastFourComponentsMIP() 78 int valid=volumeMapper->IsRenderSupported(renWin,volumeProperty); in TestGPURayCastFourComponentsMIP() 104 volumeProperty->Delete(); in TestGPURayCastFourComponentsMIP()
|
/dports/math/vtk8/VTK-8.2.0/Rendering/VolumeOpenGL2/Testing/Cxx/ |
H A D | TestGPURayCastIsosurface.cxx | 37 vtkNew<vtkVolumeProperty> volumeProperty; in TestGPURayCastIsosurface() local 38 volumeProperty->ShadeOn(); in TestGPURayCastIsosurface() 39 volumeProperty->SetInterpolationTypeToLinear(); in TestGPURayCastIsosurface() 40 volumeProperty->SetColor(colorTransferFunction); in TestGPURayCastIsosurface() 41 volumeProperty->SetScalarOpacity(scalarOpacity); in TestGPURayCastIsosurface() 45 volume->SetProperty(volumeProperty); in TestGPURayCastIsosurface() 64 volumeProperty->GetIsoSurfaceValues()->SetValue(0, 220.0); in TestGPURayCastIsosurface() 66 volumeProperty->GetIsoSurfaceValues()->SetNumberOfContours(0); in TestGPURayCastIsosurface() 70 volumeProperty->GetIsoSurfaceValues()->SetValue(0, 220.0); in TestGPURayCastIsosurface() 71 volumeProperty->GetIsoSurfaceValues()->SetValue(1, 150.0); in TestGPURayCastIsosurface() [all …]
|
/dports/math/vtk9/VTK-9.1.0/Rendering/VolumeOpenGL2/Testing/Cxx/ |
H A D | TestGPURayCastIsosurface.cxx | 46 vtkNew<vtkVolumeProperty> volumeProperty; in TestGPURayCastIsosurface() local 47 volumeProperty->ShadeOn(); in TestGPURayCastIsosurface() 48 volumeProperty->SetInterpolationTypeToLinear(); in TestGPURayCastIsosurface() 49 volumeProperty->SetColor(colorTransferFunction); in TestGPURayCastIsosurface() 50 volumeProperty->SetScalarOpacity(scalarOpacity); in TestGPURayCastIsosurface() 54 volume->SetProperty(volumeProperty); in TestGPURayCastIsosurface() 73 volumeProperty->GetIsoSurfaceValues()->SetValue(0, 220.0); in TestGPURayCastIsosurface() 75 volumeProperty->GetIsoSurfaceValues()->SetNumberOfContours(0); in TestGPURayCastIsosurface() 79 volumeProperty->GetIsoSurfaceValues()->SetValue(0, 220.0); in TestGPURayCastIsosurface() 80 volumeProperty->GetIsoSurfaceValues()->SetValue(1, 150.0); in TestGPURayCastIsosurface() [all …]
|
/dports/math/vtk6/VTK-6.2.0/Examples/Medical/Tcl/ |
H A D | Medical4.tcl | 78 vtkVolumeProperty volumeProperty 79 volumeProperty SetColor volumeColor 80 volumeProperty SetScalarOpacity volumeScalarOpacity 81 volumeProperty SetGradientOpacity volumeGradientOpacity 82 volumeProperty SetInterpolationTypeToLinear 83 volumeProperty ShadeOn 84 volumeProperty SetAmbient 0.4 85 volumeProperty SetDiffuse 0.6 86 volumeProperty SetSpecular 0.2 92 volume SetProperty volumeProperty
|
/dports/math/vtk8/VTK-8.2.0/Rendering/OSPRay/Testing/Cxx/ |
H A D | TestOSPRayIsosurface.cxx | 53 vtkNew<vtkVolumeProperty> volumeProperty; in TestOSPRayIsosurface() local 54 volumeProperty->ShadeOn(); in TestOSPRayIsosurface() 55 volumeProperty->SetInterpolationTypeToLinear(); in TestOSPRayIsosurface() 56 volumeProperty->SetColor(colorTransferFunction); in TestOSPRayIsosurface() 57 volumeProperty->SetScalarOpacity(scalarOpacity); in TestOSPRayIsosurface() 58 volumeProperty->GetIsoSurfaceValues()->SetValue(0, 220.0); in TestOSPRayIsosurface() 59 volumeProperty->GetIsoSurfaceValues()->SetValue(1, 150.0); in TestOSPRayIsosurface() 60 volumeProperty->GetIsoSurfaceValues()->SetValue(2, 190.0); in TestOSPRayIsosurface() 64 volume->SetProperty(volumeProperty); in TestOSPRayIsosurface()
|
/dports/math/vtk8/VTK-8.2.0/Examples/Medical/Python/ |
H A D | Medical4.py | 79 volumeProperty = vtk.vtkVolumeProperty() variable 80 volumeProperty.SetColor(volumeColor) 81 volumeProperty.SetScalarOpacity(volumeScalarOpacity) 82 volumeProperty.SetGradientOpacity(volumeGradientOpacity) 83 volumeProperty.SetInterpolationTypeToLinear() 84 volumeProperty.ShadeOn() 85 volumeProperty.SetAmbient(0.4) 86 volumeProperty.SetDiffuse(0.6) 87 volumeProperty.SetSpecular(0.2) 93 volume.SetProperty(volumeProperty)
|
/dports/math/vtk6/VTK-6.2.0/Examples/Medical/Python/ |
H A D | Medical4.py | 81 volumeProperty = vtk.vtkVolumeProperty() variable 82 volumeProperty.SetColor(volumeColor) 83 volumeProperty.SetScalarOpacity(volumeScalarOpacity) 84 volumeProperty.SetGradientOpacity(volumeGradientOpacity) 85 volumeProperty.SetInterpolationTypeToLinear() 86 volumeProperty.ShadeOn() 87 volumeProperty.SetAmbient(0.4) 88 volumeProperty.SetDiffuse(0.6) 89 volumeProperty.SetSpecular(0.2) 95 volume.SetProperty(volumeProperty)
|
/dports/math/vtk9/VTK-9.1.0/Rendering/RayTracing/Testing/Cxx/ |
H A D | TestOSPRayIsosurface.cxx | 62 vtkNew<vtkVolumeProperty> volumeProperty; in TestOSPRayIsosurface() local 63 volumeProperty->ShadeOn(); in TestOSPRayIsosurface() 64 volumeProperty->SetInterpolationTypeToLinear(); in TestOSPRayIsosurface() 65 volumeProperty->SetColor(colorTransferFunction); in TestOSPRayIsosurface() 66 volumeProperty->SetScalarOpacity(scalarOpacity); in TestOSPRayIsosurface() 67 volumeProperty->GetIsoSurfaceValues()->SetValue(0, 220.0); in TestOSPRayIsosurface() 68 volumeProperty->GetIsoSurfaceValues()->SetValue(1, 150.0); in TestOSPRayIsosurface() 69 volumeProperty->GetIsoSurfaceValues()->SetValue(2, 190.0); in TestOSPRayIsosurface() 73 volume->SetProperty(volumeProperty); in TestOSPRayIsosurface()
|
/dports/math/vtk8/VTK-8.2.0/Examples/Medical/Cxx/ |
H A D | Medical4.cxx | 114 vtkSmartPointer<vtkVolumeProperty> volumeProperty = in main() local 116 volumeProperty->SetColor(volumeColor); in main() 117 volumeProperty->SetScalarOpacity(volumeScalarOpacity); in main() 118 volumeProperty->SetGradientOpacity(volumeGradientOpacity); in main() 119 volumeProperty->SetInterpolationTypeToLinear(); in main() 120 volumeProperty->ShadeOn(); in main() 121 volumeProperty->SetAmbient(0.4); in main() 122 volumeProperty->SetDiffuse(0.6); in main() 123 volumeProperty->SetSpecular(0.2); in main() 130 volume->SetProperty(volumeProperty); in main()
|
/dports/math/vtk9/VTK-9.1.0/Examples/Medical/Cxx/ |
H A D | Medical4.cxx | 112 vtkSmartPointer<vtkVolumeProperty> volumeProperty = vtkSmartPointer<vtkVolumeProperty>::New(); in main() local 113 volumeProperty->SetColor(volumeColor); in main() 114 volumeProperty->SetScalarOpacity(volumeScalarOpacity); in main() 115 volumeProperty->SetGradientOpacity(volumeGradientOpacity); in main() 116 volumeProperty->SetInterpolationTypeToLinear(); in main() 117 volumeProperty->ShadeOn(); in main() 118 volumeProperty->SetAmbient(0.4); in main() 119 volumeProperty->SetDiffuse(0.6); in main() 120 volumeProperty->SetSpecular(0.2); in main() 126 volume->SetProperty(volumeProperty); in main()
|
/dports/math/vtk6/VTK-6.2.0/Examples/Medical/Cxx/ |
H A D | Medical4.cxx | 120 vtkSmartPointer<vtkVolumeProperty> volumeProperty = in main() local 122 volumeProperty->SetColor(volumeColor); in main() 123 volumeProperty->SetScalarOpacity(volumeScalarOpacity); in main() 124 volumeProperty->SetGradientOpacity(volumeGradientOpacity); in main() 125 volumeProperty->SetInterpolationTypeToLinear(); in main() 126 volumeProperty->ShadeOn(); in main() 127 volumeProperty->SetAmbient(0.4); in main() 128 volumeProperty->SetDiffuse(0.6); in main() 129 volumeProperty->SetSpecular(0.2); in main() 136 volume->SetProperty(volumeProperty); in main()
|