Vtk
-
VtkEx Cylinder (for python)Vtk 2021. 3. 9. 22:26
Vtk Example Cylinder (for python) 각진 cylinder를 만들고, Filter처리 없이 간단히 Mapper로 넘겨서, rendering하는 예제. import vtk # This creates a polygonal cylinder model. cylinderData = vtk.vtkCylinderSource() # The mapper is responsible for pushing the geometry into the graphics. cylinderMapper = vtk.vtkPolyDataMapper() cylinderMapper.SetInputConnection(cylinderData.GetOutputPort()) # ready to rendering cylinderAc..
-
Vtk VisualizationPipelineVtk 2021. 3. 9. 22:15
정보를 그래픽 데이터로 변환하는 과정들을 말한다. Mapper된 Data를 화면에 보이는 처리. Vtk 렌더링 엔진 vtkActor vtkVolume VtkActor2d VtkAbstractMapper VtkProperty, vtkVolumeProperty VtkCamera VtkLight vtkRenderer vtkRenderWindow vtkRenderWindowInteractor vtkTransform vtkLookupTable, vtkColorTransferFunction, vtkPiecewiseFunction
-
-
Vtk 설치(Python)Vtk 2021. 3. 9. 21:44
pip install vtk C:\>pip install vtk Collecting vtk Downloading vtk-9.0.1-cp38-cp38-win_amd64.whl (38.4 MB) |████████████████████████████████| 38.4 MB 3.3 MB/s Installing collected packages: vtk Successfully installed vtk-9.0.1 WARNING: You are using pip version 20.1.1; however, version 21.0.1 is available. You should consider upgrading via the 'c:\python38\python.exe -m pip install --u pgrade pi..
-
Vtk Data object (데이터 객체)Vtk 2021. 3. 8. 15:50
data object (데이터 객체) visualization pipeline에 의해 처리되는 데이터를 일컫는다. DataObject의 구성은 structure(체계화된 구조)와 data attribute(데이터 속성)을 가진다. 하나 또는 복수의 점과 셀로 구성된다. DataSet는 DataObject의 집합으로, ProcessObject(처리 객체)를 적용하는 대상이 된다. Data구조는 topology(위상, 체계적인 분류, 위상 배치) )와 geometry(형상)의 두 가지로 구성된다. DataObject종류 vtkImageData vtkRetilinearGrid vtkStructuredGrid vtkPointData(vtkUnstructuredPoint) vtkPolyData vtkUnstruc..
-
VTK(The Visualization Toolkit)Vtk 2021. 2. 24. 01:28
VTK(The Visualization Toolkit) 세상에 존재하는 다양한 데이터를 시각화 할 수있다 다양한 파일 입출력을 지원한다 Cross platform 이다. windows, linux, mac 등 지원. 내부구현 C++ 사용 C++, Java, Python download: https://vtk.org/download/관련 도서: VTK 프로그래밍 3차원 가시화 오픈소스 라이브러리 기본흐름 Source -> Filter -> Mapper -> Actor