-
Notifications
You must be signed in to change notification settings - Fork 31
VTK ViewPortObject
A 2-dimensional representation of a 3-dimensional vtk object
Name | Type | Description |
---|---|---|
source |
* | a vtk source, reader, etc. |
renderer |
vtk.Rendering.Core.vtkRenderer | a vtk renderer |
Source:
vtk source
- *
Source:
vtk coordinate system
- vtk.Rendering.Core.vtkCoordinate
Source:
Calculates the rectangle surrounding the vtk object, projected into the viewport
Source:
Type
Rect
An external edge has all other corners on the same side of the line it defines
Name | Type | Description |
---|---|---|
dim |
string | dimension (x|y|z) |
Source:
Type
Array.<LineSegment>
points on the screen that have the largest and smallest values in each dimension
Source:
- mapping of dimension to the extrema, e.g. {x: [p1, p2, ...], ...}
Type
Object
Translates corners from vtk world to viewport
Source:
Type
Array.<Point>
Translates edges from vtk world to viewport
Source:
- mapping of dimension to the edges, e.g. {x: [LineSegment1, LineSegment2], ...}
Type
Object
Translates a 3-dimensional Point in the vttk world corresponding to the given 2-dimensional point in the viewport
Name | Type | Description |
---|---|---|
worldPoint |
Point |
Source:
Type
Point
Translates the given Points from vtk world to viewport
Name | Type | Description |
---|---|---|
coords |
Array.<Point> | 3d points |
Source:
- 2d points
Type
Array.<Point>
Gets the center of the vtk object
Source:
Type
Point
Gets the corners of the vtk object. Subclasses should override
Source:
Type
Array.<Point>
Gets the edges - that is, the lines connecting corners. Subclasses should override
Source:
Type
Object
License: http://www.apache.org/licenses/LICENSE-2.0.html
Copyright ©️ 2015–2020 RadiaSoft LLC. All Rights Reserved.
- Activait
- Controls
- elegant
- FLASH
- Genesis
- JSPEC
- JupyterHub
- MAD-X
- OPAL
- Radia
- Shadow
- Synchrotron Radiation Workshop (SRW)
- Warp PBA
- Warp VND
- Zgoubi
- Authentication and Account Creation
- How Your Sirepo Workspace Works
- Navigating the Sirepo Simulations Interface
- How to upload a lattice file
- How to share a Sirepo simulation via URL
- How Example simulations work
- How to report a bug in Sirepo
- Using lattice files in Sirepo
- Resetting an Example Simulation to default
- Backup SRW Sirepo simulations
- SRW Aperture
- SRW Brilliance Report
- SRW Circular Cylinder Mirror
- SRW CRL
- SRW Crystal
- SRW Electron Beam
- SRW Elliptical Cylinder Mirror
- SRW Fiber
- SRW Flux
- SRW Fully Coherent Gaussian Beam
- SRW Import Python or JSON Simulation File
- SRW Initial Wavefront Simulation Grid
- SRW Intensity Report
- SRW Planar Mirror
- SRW Power Density Report
- SRW Propagation Parameters
- SRW Single Electron Spectrum Report
- SRW Spherical Mirror
- SRW Toroid Mirror
- SRW Watchpoint
- SRW Additional Documentation