Skip to content

Commit

Permalink
Migrando código
Browse files Browse the repository at this point in the history
  • Loading branch information
fblupi committed Nov 1, 2016
1 parent f9def66 commit 8d34cb9
Show file tree
Hide file tree
Showing 93 changed files with 33,871 additions and 0 deletions.
27 changes: 27 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

cmake_minimum_required(VERSION 2.8)
PROJECT(3DCurator)

find_package(VTK REQUIRED)
include(${VTK_USE_FILE})

# Instruct CMake to run moc automatically when needed.
set(CMAKE_AUTOMOC ON)

find_package(Qt5Widgets REQUIRED QUIET)

include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})

file(GLOB UI_FILES *.ui)
file(GLOB QT_WRAP *.h)
file(GLOB CPP_FILES *.cpp)

set(RESOURCE ${CMAKE_CURRENT_SOURCE_DIR}/assets/resources.qrc)
qt5_add_resources(RESOURCE_ADDED ${RESOURCE})

qt5_wrap_ui(UISrcs ${UI_FILES})
# CMAKE_AUTOMOC in ON so the MOC headers will be automatically wrapped.
set_source_files_properties(${RESOURCE_ADDED} PROPERTIES GENERATED ON)
add_executable(3DCurator ${CPP_FILES} ${UISrcs} ${QT_WRAP} ${RESOURCE_ADDED})
qt5_use_modules(3DCurator Core Gui)
target_link_libraries(3DCurator ${VTK_LIBRARIES})
Binary file added assets/icons/3DCurator.ico
Binary file not shown.
Binary file added assets/icons/3DCurator.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/axial.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/complete.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/coronal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/eraser.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/eye-slash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/eye.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/folder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/metal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/minus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/plus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/power.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/refresh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/sagital.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/save-as.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/save.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/stucco.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/wood.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
75 changes: 75 additions & 0 deletions assets/presets/ct-onlymetal.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<?xml version="1.0" encoding="utf-8"?>
<tf name="CT-OnlyMetal" description="Muestra el metal de la escultura">
<color>
<point>
<x>-750</x>
<r>0.08</r>
<g>0.05</g>
<b>0.03</b>
</point>
<point>
<x>-350</x>
<r>0.39</r>
<g>0.25</g>
<b>0.16</b>
</point>
<point>
<x>-200</x>
<r>0.8</r>
<g>0.8</g>
<b>0.8</b>
</point>
<point>
<x>2750</x>
<r>0.7</r>
<g>0.7</g>
<b>0.7</b>
</point>
<point>
<x>3000</x>
<r>0.35</r>
<g>0.35</g>
<b>0.35</b>
</point>
</color>
<scalar>
<point>
<x>-800</x>
<y>0</y>
</point>
<point>
<x>-750</x>
<y>0.03</y>
</point>
<point>
<x>-350</x>
<y>0.03</y>
</point>
<point>
<x>-300</x>
<y>0</y>
</point>
<point>
<x>2950</x>
<y>0</y>
</point>
<point>
<x>2976</x>
<y>1</y>
</point>
<point>
<x>3000</x>
<y>0</y>
</point>
</scalar>
<gradient>
<point>
<x>0</x>
<y>0</y>
</point>
<point>
<x>2000</x>
<y>1</y>
</point>
</gradient>
</tf>
59 changes: 59 additions & 0 deletions assets/presets/ct-onlystucco.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<?xml version="1.0" encoding="utf-8"?>
<tf name="CT-OnlyStucco" description="Muestra solo el estuco de la escultura">
<color>
<point>
<x>-750</x>
<r>0.08</r>
<g>0.05</g>
<b>0.03</b>
</point>
<point>
<x>-350</x>
<r>0.39</r>
<g>0.25</g>
<b>0.16</b>
</point>
<point>
<x>-200</x>
<r>0.8</r>
<g>0.8</g>
<b>0.8</b>
</point>
<point>
<x>2750</x>
<r>0.7</r>
<g>0.7</g>
<b>0.7</b>
</point>
<point>
<x>3000</x>
<r>0.35</r>
<g>0.35</g>
<b>0.35</b>
</point>
</color>
<scalar>
<point>
<x>-200</x>
<y>0</y>
</point>
<point>
<x>-100</x>
<y>1</y>
</point>
<point>
<x>1000</x>
<y>0</y>
</point>
</scalar>
<gradient>
<point>
<x>0</x>
<y>0</y>
</point>
<point>
<x>2000</x>
<y>1</y>
</point>
</gradient>
</tf>
63 changes: 63 additions & 0 deletions assets/presets/ct-onlywood.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="utf-8"?>
<tf name="CT-OnlyWood" description="Muestra solo la madera de la escultura">
<color>
<point>
<x>-750</x>
<r>0.08</r>
<g>0.05</g>
<b>0.03</b>
</point>
<point>
<x>-350</x>
<r>0.39</r>
<g>0.25</g>
<b>0.16</b>
</point>
<point>
<x>-200</x>
<r>0.8</r>
<g>0.8</g>
<b>0.8</b>
</point>
<point>
<x>2750</x>
<r>0.7</r>
<g>0.7</g>
<b>0.7</b>
</point>
<point>
<x>3000</x>
<r>0.35</r>
<g>0.35</g>
<b>0.35</b>
</point>
</color>
<scalar>
<point>
<x>-800</x>
<y>0</y>
</point>
<point>
<x>-750</x>
<y>1</y>
</point>
<point>
<x>-350</x>
<y>1</y>
</point>
<point>
<x>-300</x>
<y>0</y>
</point>
</scalar>
<gradient>
<point>
<x>0</x>
<y>0</y>
</point>
<point>
<x>2000</x>
<y>1</y>
</point>
</gradient>
</tf>
87 changes: 87 additions & 0 deletions assets/presets/ct-woodsculpture.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
<?xml version="1.0" encoding="utf-8"?>
<tf name="CT-WoodSculpture" description="Escultura de madera con clavos y una capa de estuco y policromado">
<color>
<point>
<x>-750</x>
<r>0.08</r>
<g>0.05</g>
<b>0.03</b>
</point>
<point>
<x>-350</x>
<r>0.39</r>
<g>0.25</g>
<b>0.16</b>
</point>
<point>
<x>-200</x>
<r>0.8</r>
<g>0.8</g>
<b>0.8</b>
</point>
<point>
<x>2750</x>
<r>0.7</r>
<g>0.7</g>
<b>0.7</b>
</point>
<point>
<x>3000</x>
<r>0.35</r>
<g>0.35</g>
<b>0.35</b>
</point>
</color>
<scalar>
<point>
<x>-800</x>
<y>0</y>
</point>
<point>
<x>-750</x>
<y>1</y>
</point>
<point>
<x>-350</x>
<y>1</y>
</point>
<point>
<x>-300</x>
<y>0</y>
</point>
<point>
<x>-200</x>
<y>0</y>
</point>
<point>
<x>-100</x>
<y>1</y>
</point>
<point>
<x>1000</x>
<y>0</y>
</point>
<point>
<x>2950</x>
<y>0</y>
</point>
<point>
<x>2976</x>
<y>1</y>
</point>
<point>
<x>3000</x>
<y>0</y>
</point>
</scalar>
<gradient>
<point>
<x>0</x>
<y>0</y>
</point>
<point>
<x>2000</x>
<y>1</y>
</point>
</gradient>
</tf>
28 changes: 28 additions & 0 deletions assets/resources.qrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE RCC>
<RCC version="1.0">
<qresource>
<file>icons/3DCurator.ico</file>
<file>icons/3DCurator.png</file>
<file>icons/folder.png</file>
<file>icons/refresh.png</file>
<file>icons/power.png</file>
<file>icons/save.png</file>
<file>icons/save-as.png</file>
<file>icons/eye.png</file>
<file>icons/eye-slash.png</file>
<file>icons/eraser.png</file>
<file>icons/minus.png</file>
<file>icons/plus.png</file>
<file>icons/axial.png</file>
<file>icons/sagital.png</file>
<file>icons/coronal.png</file>
<file>icons/wood.png</file>
<file>icons/stucco.png</file>
<file>icons/metal.png</file>
<file>icons/complete.png</file>
<file>presets/ct-woodsculpture.xml</file>
<file>presets/ct-onlywood.xml</file>
<file>presets/ct-onlystucco.xml</file>
<file>presets/ct-onlymetal.xml</file>
</qresource>
</RCC>
Binary file added build/3DCurator.rc
Binary file not shown.
Loading

0 comments on commit 8d34cb9

Please sign in to comment.