@acransac/vtk.js 中文文档教程

发布于 3年前 浏览 3 项目主页 更新于 3年前

VTK.js - The Visualization Toolkit for JavaScript

构建状态 构建状态 依赖状态 semantic-release npm-download npm-version-requirement="" DOI

Introduction

< a href="https://github.com/Kitware/vtk-js">这是一个分支。 所有学分和版权归原作者和维护者所有。

请参阅存储库中的许可证文件或与 npm 包一起分发。

此分支基于 VTK 16,在引入 ESM 之前模块和随后的重大更改。 它旨在允许在 web worker 上下文中使用 VTK 的某些部分。

VTK 是一个用于图像处理、3D 的开源软件系统 图形、体绘制和可视化。 VTK包括许多 先进的算法(例如,表面重建,隐式建模, 抽取)和渲染技术(例如,硬件加速 体积渲染、LOD 控制)。 JavaScript 实现仍然存在 实际 C++ 库的一个子集,但将努力轻松实现 将原生 VTK 代码移植或编译到 WebAssembly 中以更好地融合 两个世界。 vtk.js 是真正用纯 JavaScript (ES6) 重写的 VTK。 因此,并非所有内容都已重写。

VTK起源于教科书《The Visualization Toolkit, an Object-Oriented Approach to 3D Graphics” 最初由 Prentice Hall,现在由 Kitware, Inc. 出版(第三版 ISBN 1-930934-07-6)。 VTK 已经成长为(自 1994 年首次发布以来) 商业、学术和研究领域的全球用户群 社区。

vtk.js 旨在成为 VTK 的一个子集,并使用 WebGL 提供 3D 渲染 用于几何和体绘制。

Reporting Bugs

如果您发现了错误:

  1. 如果您有补丁,请阅读 CONTRIBUTING.md 文档。

  2. 否则,请加入 VTK 邮件列表之一并询问 关于预期和观察到的行为,以确定它是否 真的是一个错误。

  3. 最后,如果通过以上步骤还不能解决问题,打开 VTK Issue Tracker 中的条目。

Requirements

一般来说,VTK 试图尽可能地便携; 下面的特定配置已知可以工作并经过测试。

vtk.js 支持以下开发环境:

  • Node 8+
  • NPM 6+

我们使用 @babel/preset-env 和 <一个 href="https://github.com/Kitware/vtk-js/blob/master/.browserslistrc">defaults 集 浏览器目标。 但是,当从源代码构建时,只要它们提供 WebGL,就可以对其进行调整以支持任何浏览器。

Documentation

请参阅文档 入门指南、高级文档和 API 说明。

Contributing

有关贡献说明,请参阅 CONTRIBUTING.md

License

VTK 是根据 OSI 批准的 BSD 3 条款许可证分发的。 有关详细信息,请参阅 Copyright.txt

VTK.js - The Visualization Toolkit for JavaScript

Build Status Build Status Dependency Status semantic-release npm-download npm-version-requirementDOI

Introduction

This is a fork. All credits and copyright go to the original authors and maintainers.

See the license file in the repository or distributed with the npm package.

This fork is based on VTK 16, before the introduction of ESM modules and subsequent breaking changes. It aims to allow the use of some pieces of VTK in a web worker context.

VTK is an open-source software system for image processing, 3D graphics, volume rendering and visualization. VTK includes many advanced algorithms (e.g., surface reconstruction, implicit modelling, decimation) and rendering techniques (e.g., hardware-accelerated volume rendering, LOD control). The JavaScript implementation remains a subset of the actual C++ library but efforts will be made to easily port or compile native VTK code into WebAssembly to better blend both worlds. vtk.js is a true rewrite of VTK in plain JavaScript (ES6). Therefore not everything has been rewritten.

The origin of VTK is with the textbook "The Visualization Toolkit, an Object-Oriented Approach to 3D Graphics" originally published by Prentice Hall and now published by Kitware, Inc. (Third Edition ISBN 1-930934-07-6). VTK has grown (since its initial release in 1994) to a world-wide user base in the commercial, academic, and research communities.

vtk.js aims to be a subset of VTK and provide 3D rendering using WebGL for both geometry and volume rendering.

Reporting Bugs

If you have found a bug:

  1. If you have a patch, please read the CONTRIBUTING.md document.

  2. Otherwise, please join the one of the VTK Mailing Lists and ask about the expected and observed behaviors to determine if it is really a bug.

  3. Finally, if the issue is not resolved by the above steps, open an entry in the VTK Issue Tracker.

Requirements

In general VTK tries to be as portable as possible; the specific configurations below are known to work and tested.

vtk.js supports the following development environments:

  • Node 8+
  • NPM 6+

and we use @babel/preset-env with the defaults set of browsers target. But when built from source this could be adjusted to support any browser as long they provide WebGL.

Documentation

See the documentation for a getting started guide, advanced documentation, and API descriptions.

Contributing

See CONTRIBUTING.md for instructions to contribute.

License

VTK is distributed under the OSI-approved BSD 3-clause License. See Copyright.txt for details.

更多

友情链接

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文