7
7
- [ FieldData] ( #FieldData )
8
8
- [ GeometryRepresentation] ( #GeometryRepresentation )
9
9
- [ ImageData] ( #ImageData )
10
+ - [ Mesh] ( #Mesh )
10
11
- [ PointCloudRepresentation] ( #PointCloudRepresentation )
11
12
- [ PointData] ( #PointData )
12
13
- [ PolyData] ( #PolyData )
13
14
- [ Reader] ( #Reader )
14
15
- [ ShareDataSet] ( #ShareDataSet )
15
16
- [ SliceRepresentation] ( #SliceRepresentation )
16
17
- [ View] ( #View )
18
+ - [ Volume] ( #Volume )
17
19
- [ VolumeController] ( #VolumeController )
18
20
- [ VolumeDataRepresentation] ( #VolumeDataRepresentation )
19
21
- [ VolumeRepresentation] ( #VolumeRepresentation )
@@ -169,6 +171,27 @@ Keyword arguments:
169
171
[ Back to menu] ( #components-reference )
170
172
171
173
174
+ ## Mesh
175
+
176
+ ``` python
177
+ dash_vtk.Mesh(id , port, state, ** kwargs)
178
+ ```
179
+
180
+ A Mesh component.
181
+ Mesh is exposing a vtkPolyData to a downstream filter
182
+ It takes the following set of properties:
183
+ - state: { mesh: { ...polydata-props }, field: { ...dataArray } }
184
+
185
+ Keyword arguments:
186
+ - id (string; optional): The ID used to identify this component.
187
+ - port (number; default 0): downstream connection port
188
+ - state (dict; default {
189
+ mesh: { points: [ ] },
190
+ }): State of the mesh
191
+
192
+ [ Back to menu] ( #components-reference )
193
+
194
+
172
195
## PointCloudRepresentation
173
196
174
197
``` python
@@ -321,7 +344,7 @@ Keyword arguments:
321
344
## View
322
345
323
346
``` python
324
- dash_vtk.View(children, id , background, interactorSettings, cameraPosition, cameraViewUp, cameraParallelProjection, ** kwargs)
347
+ dash_vtk.View(children, id , background, interactorSettings, cameraPosition, cameraViewUp, cameraParallelProjection, triggerRender, triggerResetCamera, ** kwargs)
325
348
```
326
349
327
350
A View component.
@@ -376,6 +399,29 @@ between 0-1 of Red, Green, Blue component.
376
399
- cameraPosition (list; default [ 0, 0, 1] ): Initial camera position from an object in [ 0,0,0]
377
400
- cameraViewUp (list; default [ 0, 1, 0] ): Initial camera position from an object in [ 0,0,0]
378
401
- cameraParallelProjection (boolean; default False): Use parallel projection (default: false)
402
+ - triggerRender (number; default 0): Property use to trigger a render when changing.
403
+ - triggerResetCamera (number; default 0): Property use to trigger a resetCamera when changing.
404
+
405
+ [ Back to menu] ( #components-reference )
406
+
407
+
408
+ ## Volume
409
+
410
+ ``` python
411
+ dash_vtk.Volume(id , port, state, ** kwargs)
412
+ ```
413
+
414
+ A Volume component.
415
+ Volume is exposing a vtkImageData to a downstream filter
416
+ It takes the following set of properties:
417
+ - state: { image: { ...imagedata-props }, field: { ...dataArray } }
418
+
419
+ Keyword arguments:
420
+ - id (string; optional): The ID used to identify this component.
421
+ - port (number; default 0): downstream connection port
422
+ - state (dict; default {
423
+ image: { dimension: [ 10, 10, 10] },
424
+ }): State of the volume
379
425
380
426
[ Back to menu] ( #components-reference )
381
427
@@ -400,7 +446,7 @@ Keyword arguments:
400
446
## VolumeDataRepresentation
401
447
402
448
``` python
403
- dash_vtk.VolumeDataRepresentation(dimensions, spacing, origin, rgb, rgba, scalars, scalarsType, mapper, volume, property , colorMapPreset, volumeController, controllerSize, rescaleColorMap, colorDataRange, ** kwargs)
449
+ dash_vtk.VolumeDataRepresentation(id , dimensions, spacing, origin, rgb, rgba, scalars, scalarsType, mapper, volume, property , colorMapPreset, volumeController, controllerSize, rescaleColorMap, colorDataRange, ** kwargs)
404
450
```
405
451
406
452
A VolumeDataRepresentation component.
@@ -414,6 +460,7 @@ VolumneDataRepresentation expect the following set of properties
414
460
- scalarsType: Float32Array
415
461
416
462
Keyword arguments:
463
+ - id (string; optional): The ID used to identify this component.
417
464
- dimensions (list of numbers; optional): Number of points along x, y, z
418
465
- spacing (list of numbers; optional): Spacing along x, y, z between points in world coordinates
419
466
- origin (list of numbers; optional): World coordinate of the lower left corner of your vtkImageData (i=0, j=0, k=0).
0 commit comments