Diferencia entre revisiones de «The scene»
| Línea 10: | Línea 10: | ||
===Model coordinates=== | ===Model coordinates=== | ||
| − | <figure id="fig: | + | <figure id="fig:ModelCoordinates"> |
[[File:The scene-02-en.png|frame|<caption>Whatever</caption>]] | [[File:The scene-02-en.png|frame|<caption>Whatever</caption>]] | ||
</figure> | </figure> | ||
| Línea 16: | Línea 16: | ||
Each one of the different models that will take part of the scene have, their own coordinate system. These '''model coordinate systems''' are | Each one of the different models that will take part of the scene have, their own coordinate system. These '''model coordinate systems''' are | ||
dependent of each object itself and have their own coordinate axis: the origin of these axis and also their orientation may differ as they rely on how the data of such object is captured. | dependent of each object itself and have their own coordinate axis: the origin of these axis and also their orientation may differ as they rely on how the data of such object is captured. | ||
| − | The '''model coordinate systems''' can be either 3D or 2D | + | The '''model coordinate systems''' can be either 3D or 2D, as seen in <xr id="ModelCoordinates">here</xr> |
===Word coordinates=== | ===Word coordinates=== | ||
Revisión del 14:39 20 sep 2017
Contenido
A central concept: the scene
As a visualization application, 3D Slicer provides graphical representations of patient-specific data embedded in a GUI with configurable layouts that facilitate inspection, processing and interaction. Such patient-specific data is provided by a host of biomedical imaging modalities, across different spatial and temporal scales. 3D Slicer has a bias towards volumetric modalities, such as CT, MRI and PET due to their clinical relevance, but it is possible to integrate 1D and 2D signals, in addition to 3D, as well as their time varying counterparts. Morevover the magnitudes conveyed by the signals can be scalar, vector and tensors. Graphical representations are then provided by means of 3D, slice (2D) and chart (1D) specialized viewers.
Since 3D Slicer is largely built on top of the Visualization Toolkit (Vtk), it is very conveniet to read The Visualization Toolkit: An Object-Oriented Approach to 3D Graphics, 4th Edition, a.k.a. The VTK Textbook, which is the official reference guide for VTK and is freely available for download here.
The coordinate systems
In visualization and graphics, the scene consists of a virtual world in which objects (sometimes called actors), lights and cameras provide representations to be presented to the user.
Model coordinates
Each one of the different models that will take part of the scene have, their own coordinate system. These model coordinate systems are dependent of each object itself and have their own coordinate axis: the origin of these axis and also their orientation may differ as they rely on how the data of such object is captured. The model coordinate systems can be either 3D or 2D, as seen in here ???
Word coordinates
The world sets a reference system with respect to which objects (or actors), lights and cameras are positioned. Objects (or actors) are described in their own reference systems, an independent one for each of them. The view coordinate system represents what is visible to the camera. This consists of a pair of x and y values, ranging between (-1,1), and a z depth coordinate. The x, y values specify location in the image plane, while the z coordinate represents the distance, or range, from the camera. The display coordinate system uses the same basis as the view coordinate system, but instead of using negative one to one as the range, the coordinates are actual x, y pixel locations on the image plane. Factors such as the window’s size on the display determine how the view coordinate range of (-1,1) is mapped into pixel locations. This is also where the viewport comes into effect, so that different views can be integrated into the same window (see Chapter 3 and Fig. 3-14 of the VTK Textbook).
View coordinates
Display coordinates
Back to Previous considerations - Back to Main Page
