mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
Documentation - Migration to CMake from TCL #441
Remove OS folder with structure for refman generation. Remove tcl scripts from adm folder which used only for doc generation Migrate all the processes of doc generation to cmake (adm/cmake/occt_doc.cmake) RefMan and Overview build from CMake as a new utility option, no TCL is needed.
This commit is contained in:
@@ -1,64 +0,0 @@
|
||||
# Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
#
|
||||
# This file is part of Open CASCADE Technology software library.
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or modify it under
|
||||
# the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
# by the Free Software Foundation, with special exception defined in the file
|
||||
# OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
# distribution for complete text of the license and disclaimer of any warranty.
|
||||
#
|
||||
# Alternatively, this file may be used under the terms of Open CASCADE
|
||||
# commercial license or contractual agreement.
|
||||
|
||||
;#
|
||||
;# Liste des toolkits WOK sous forme de full path
|
||||
;#
|
||||
proc ApplicationFramework:toolkits { } {
|
||||
return [list \
|
||||
TKCDF \
|
||||
TKLCAF \
|
||||
TKVCAF \
|
||||
TKCAF \
|
||||
TKBinL \
|
||||
TKXmlL \
|
||||
TKBin \
|
||||
TKXml \
|
||||
TKStdL \
|
||||
TKStd \
|
||||
TKTObj \
|
||||
TKBinTObj \
|
||||
TKXmlTObj \
|
||||
]
|
||||
}
|
||||
;#
|
||||
;# Autres UDs a prendre.
|
||||
;#
|
||||
proc ApplicationFramework:ressources { } {
|
||||
return [list \
|
||||
[list both r StdResource {}] \
|
||||
[list both r XmlOcafResource {}] \
|
||||
]
|
||||
}
|
||||
;#
|
||||
;# Nom du module
|
||||
;#
|
||||
proc ApplicationFramework:name { } {
|
||||
return ApplicationFramework
|
||||
}
|
||||
;#
|
||||
;# Short Nom du module ( 3 lettres )
|
||||
;#
|
||||
proc ApplicationFramework:alias { } {
|
||||
return CAF
|
||||
}
|
||||
proc ApplicationFramework:depends { } {
|
||||
return [list Visualization]
|
||||
}
|
||||
|
||||
;#
|
||||
;# Returns a list of exported features.
|
||||
;#
|
||||
proc ApplicationFramework:Export { } {
|
||||
return [list source runtime wokadm api]
|
||||
}
|
@@ -1,64 +0,0 @@
|
||||
# Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
#
|
||||
# This file is part of Open CASCADE Technology software library.
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or modify it under
|
||||
# the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
# by the Free Software Foundation, with special exception defined in the file
|
||||
# OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
# distribution for complete text of the license and disclaimer of any warranty.
|
||||
#
|
||||
# Alternatively, this file may be used under the terms of Open CASCADE
|
||||
# commercial license or contractual agreement.
|
||||
|
||||
;#
|
||||
;# Liste des toolkits WOK sous forme de full path
|
||||
;#
|
||||
proc DataExchange:toolkits { } {
|
||||
return [list TKXSBase TKXCAF TKDEIGES TKDESTEP \
|
||||
TKDE TKDECascade TKDESTL TKDEVRML \
|
||||
TKXmlXCAF TKBinXCAF TKRWMesh \
|
||||
TKDEGLTF TKDEOBJ TKDEPLY]
|
||||
}
|
||||
|
||||
;#
|
||||
;# Autres UDs a prendre.
|
||||
;#
|
||||
proc DataExchange:ressources { } {
|
||||
return [list \
|
||||
[list both r XSMessage {} ] \
|
||||
[list both r SHMessage {} ] \
|
||||
[list both r XSTEPResource {} ] \
|
||||
]
|
||||
}
|
||||
;#
|
||||
;# retourne une liste de triplets {type <full path1> <target directory>/name}
|
||||
;# permet de faire : cp <full path> $CASROOT/<target directory>/name
|
||||
;# On peut ainsi embarquer des fichiers d'un peu partout et les dispatcher sous
|
||||
;# la racine d'arrivee et ce avec un autre nom.
|
||||
;# rien n'empeche de CALCULER automatiquement des paths dans cette proc.
|
||||
;# type = source/runtime/both pour dire si le fichier va dans l'archive en question.
|
||||
;# une deux (ou les deux) type d'archive fabriquees.
|
||||
;#
|
||||
proc DataExchange:freefiles { } {
|
||||
return {}
|
||||
}
|
||||
;#
|
||||
;# Nom du module
|
||||
;#
|
||||
proc DataExchange:name { } {
|
||||
return DataExchange
|
||||
}
|
||||
proc DataExchange:alias { } {
|
||||
return DXE
|
||||
}
|
||||
proc DataExchange:depends { } {
|
||||
return [list ApplicationFramework]
|
||||
}
|
||||
|
||||
;#
|
||||
;# Returns a list of exported features.
|
||||
;#
|
||||
proc DataExchange:Export { } {
|
||||
return [list source runtime wokadm api]
|
||||
}
|
@@ -1,55 +0,0 @@
|
||||
# Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
#
|
||||
# This file is part of Open CASCADE Technology software library.
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or modify it under
|
||||
# the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
# by the Free Software Foundation, with special exception defined in the file
|
||||
# OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
# distribution for complete text of the license and disclaimer of any warranty.
|
||||
#
|
||||
# Alternatively, this file may be used under the terms of Open CASCADE
|
||||
# commercial license or contractual agreement.
|
||||
|
||||
;# Return list of toolkits
|
||||
proc Draw:toolkits { } {
|
||||
set aResult [list TKDraw TKTopTest TKViewerTest TKXSDRAW TKDCAF TKXDEDRAW TKTObjDRAW TKQADraw]
|
||||
|
||||
lappend aResult "TKOpenGlTest"
|
||||
if { [info exists ::env(HAVE_GLES2)] && "$::env(HAVE_GLES2)" == "true" } {
|
||||
lappend aResult "TKOpenGlesTest"
|
||||
}
|
||||
|
||||
if { [info exists ::env(HAVE_D3D)] } {
|
||||
if { "$::env(HAVE_D3D)" == "true" } {
|
||||
lappend aResult "TKD3DHostTest"
|
||||
}
|
||||
}
|
||||
|
||||
if { [info exists ::env(HAVE_VTK)] && "$::env(HAVE_VTK)" == "true" } {
|
||||
lappend aResult "TKIVtkDraw"
|
||||
}
|
||||
|
||||
return $aResult
|
||||
}
|
||||
|
||||
;# Autres UDs a prendre. Listes de triplets
|
||||
;# { ar typ UD str } Tous les types de UD vont dans un sous directory nomme root/str
|
||||
;# Ils seront dans CAS3.0/str de l'archive de type ar (source/runtime)
|
||||
;# { ar typ UD {} } Tous les types de UD vont dans root/UD/src => CAS3.0/src
|
||||
proc Draw:ressources { } {
|
||||
return [list \
|
||||
[list both r DrawResources {}] \
|
||||
[list both x DRAWEXE {}] \
|
||||
]
|
||||
}
|
||||
|
||||
proc Draw:freefiles { } { return {} }
|
||||
|
||||
proc Draw:name { } { return Draw }
|
||||
proc Draw:alias { } { return DRAW }
|
||||
proc Draw:depends { } { return [list DataExchange] }
|
||||
proc Draw:acdepends { } { return [list TCLTK] }
|
||||
|
||||
;# Returns a list of exported features.
|
||||
proc Draw:Export { } { return [list source runtime wokadm api] }
|
@@ -1,8 +0,0 @@
|
||||
srcinc:::ApplicationFramework.tcl
|
||||
srcinc:::DataExchange.tcl
|
||||
srcinc:::Draw.tcl
|
||||
srcinc:::FoundationClasses.tcl
|
||||
srcinc:::ModelingAlgorithms.tcl
|
||||
srcinc:::ModelingData.tcl
|
||||
srcinc:::Modules.tcl
|
||||
srcinc:::Visualization.tcl
|
@@ -1,62 +0,0 @@
|
||||
# Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
#
|
||||
# This file is part of Open CASCADE Technology software library.
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or modify it under
|
||||
# the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
# by the Free Software Foundation, with special exception defined in the file
|
||||
# OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
# distribution for complete text of the license and disclaimer of any warranty.
|
||||
#
|
||||
# Alternatively, this file may be used under the terms of Open CASCADE
|
||||
# commercial license or contractual agreement.
|
||||
|
||||
;#
|
||||
;# Liste des toolkits WOK sous forme de full path
|
||||
;#
|
||||
proc FoundationClasses:toolkits { } {
|
||||
return [list TKernel TKMath]
|
||||
}
|
||||
;#
|
||||
;# Autres UDs a prendre.
|
||||
;#
|
||||
proc FoundationClasses:ressources { } {
|
||||
return [list \
|
||||
[list both r OS {} ] \
|
||||
[list both r UnitsAPI {} ] \
|
||||
]
|
||||
}
|
||||
;
|
||||
;#
|
||||
;# retourne une liste de triplets {type <full path1> <target directory>/name}
|
||||
;# permet de faire : cp <full path> $CASROOT/<target directory>/name
|
||||
;# On peut ainsi embarquer des fichiers d'un peu partout et les dispatcher sous
|
||||
;# la racine d'arrivee et ce avec un autre nom.
|
||||
;# rien n'empeche de CALCULER automatiquement des paths dans cette proc.
|
||||
;# type = source/runtime/both pour dire si le fichier va dans l'archive en question.
|
||||
;# une deux (ou les deux) type d'archive fabriquees.
|
||||
;#
|
||||
proc FoundationClasses:freefiles { } {}
|
||||
;#
|
||||
;# Nom du module
|
||||
;#
|
||||
proc FoundationClasses:name { } {
|
||||
return FoundationClasses
|
||||
}
|
||||
proc FoundationClasses:alias { } {
|
||||
return FOC
|
||||
}
|
||||
proc FoundationClasses:depends { } {
|
||||
return {}
|
||||
}
|
||||
|
||||
;#
|
||||
;# Returns a list of exported features.
|
||||
;#
|
||||
proc FoundationClasses:Export { } {
|
||||
return [list source runtime wokadm api]
|
||||
}
|
||||
|
||||
proc FoundationClasses:install { } {
|
||||
return [list UnitsAPI]
|
||||
}
|
@@ -1,56 +0,0 @@
|
||||
# Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
#
|
||||
# This file is part of Open CASCADE Technology software library.
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or modify it under
|
||||
# the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
# by the Free Software Foundation, with special exception defined in the file
|
||||
# OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
# distribution for complete text of the license and disclaimer of any warranty.
|
||||
#
|
||||
# Alternatively, this file may be used under the terms of Open CASCADE
|
||||
# commercial license or contractual agreement.
|
||||
|
||||
;#
|
||||
;# Liste des toolkits WOK sous forme de full path
|
||||
;#
|
||||
proc ModelingAlgorithms:toolkits { } {
|
||||
return [list TKGeomAlgo \
|
||||
TKTopAlgo \
|
||||
TKPrim \
|
||||
TKBO \
|
||||
TKBool \
|
||||
TKHLR \
|
||||
TKFillet \
|
||||
TKOffset \
|
||||
TKFeat \
|
||||
TKMesh \
|
||||
TKXMesh \
|
||||
TKShHealing \
|
||||
]
|
||||
}
|
||||
;#
|
||||
;# Autres UDs a prendre.
|
||||
;#
|
||||
proc ModelingAlgorithms:ressources { } {
|
||||
|
||||
}
|
||||
;#
|
||||
;# Nom du module
|
||||
;#
|
||||
proc ModelingAlgorithms:name { } {
|
||||
return ModelingAlgorithms
|
||||
}
|
||||
proc ModelingAlgorithms:alias { } {
|
||||
return ALGO
|
||||
}
|
||||
proc ModelingAlgorithms:depends { } {
|
||||
return [list ModelingData]
|
||||
}
|
||||
|
||||
;#
|
||||
;# Returns a list of exported features.
|
||||
;#
|
||||
proc ModelingAlgorithms:Export { } {
|
||||
return [list source runtime wokadm api]
|
||||
}
|
@@ -1,48 +0,0 @@
|
||||
# Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
#
|
||||
# This file is part of Open CASCADE Technology software library.
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or modify it under
|
||||
# the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
# by the Free Software Foundation, with special exception defined in the file
|
||||
# OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
# distribution for complete text of the license and disclaimer of any warranty.
|
||||
#
|
||||
# Alternatively, this file may be used under the terms of Open CASCADE
|
||||
# commercial license or contractual agreement.
|
||||
|
||||
;#
|
||||
;# Liste des toolkits WOK sous forme de full path
|
||||
;#
|
||||
proc ModelingData:toolkits { } {
|
||||
return [list TKG2d \
|
||||
TKG3d \
|
||||
TKGeomBase \
|
||||
TKBRep \
|
||||
]
|
||||
}
|
||||
;#
|
||||
;# Autres UDs a prendre.
|
||||
;#
|
||||
proc ModelingData:ressources { } {
|
||||
|
||||
}
|
||||
;#
|
||||
;# Nom du module
|
||||
;#
|
||||
proc ModelingData:name { } {
|
||||
return ModelingData
|
||||
}
|
||||
proc ModelingData:alias { } {
|
||||
return DATA
|
||||
}
|
||||
proc ModelingData:depends { } {
|
||||
return [list FoundationClasses]
|
||||
}
|
||||
|
||||
;#
|
||||
;# Returns a list of exported features.
|
||||
;#
|
||||
proc ModelingData:Export { } {
|
||||
return [list source runtime wokadm api]
|
||||
}
|
@@ -1,27 +0,0 @@
|
||||
# Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
#
|
||||
# This file is part of Open CASCADE Technology software library.
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or modify it under
|
||||
# the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
# by the Free Software Foundation, with special exception defined in the file
|
||||
# OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
# distribution for complete text of the license and disclaimer of any warranty.
|
||||
#
|
||||
# Alternatively, this file may be used under the terms of Open CASCADE
|
||||
# commercial license or contractual agreement.
|
||||
|
||||
;#
|
||||
;# Retourne la liste ordonnee des noms de Modules
|
||||
;#
|
||||
proc OS:Modules { {plat ""} } {
|
||||
set ret [list FoundationClasses \
|
||||
ModelingData \
|
||||
ModelingAlgorithms \
|
||||
Visualization \
|
||||
ApplicationFramework \
|
||||
DataExchange \
|
||||
Draw \
|
||||
]
|
||||
return $ret
|
||||
}
|
@@ -1,41 +0,0 @@
|
||||
# Copyright (c) 2020 OPEN CASCADE SAS
|
||||
#
|
||||
# This file is part of Open CASCADE Technology software library.
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or modify it under
|
||||
# the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
# by the Free Software Foundation, with special exception defined in the file
|
||||
# OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
# distribution for complete text of the license and disclaimer of any warranty.
|
||||
#
|
||||
# Alternatively, this file may be used under the terms of Open CASCADE
|
||||
# commercial license or contractual agreement.
|
||||
|
||||
# List of toolkits
|
||||
proc TApplicationFramework:toolkits { } {
|
||||
return [list TKTreeModel TKTInspectorAPI TKDFBrowser]
|
||||
}
|
||||
|
||||
# List of non-toolkits (resource units, executables etc., with associated info)
|
||||
proc TApplicationFramework:ressources { } {
|
||||
}
|
||||
|
||||
# Module name
|
||||
proc TApplicationFramework:name { } {
|
||||
return TApplicationFramework
|
||||
}
|
||||
|
||||
# And short alias
|
||||
proc TApplicationFramework:alias { } {
|
||||
return TApplicationFramework
|
||||
}
|
||||
|
||||
# Dependency on other products
|
||||
proc TApplicationFramework:depends { } {
|
||||
return [list ApplicationFramework FoundationClasses DataExchange TModelingData Visualization]
|
||||
}
|
||||
|
||||
# Returns a list of exported features.
|
||||
proc TApplicationFramework:Export { } {
|
||||
return [list source runtime wokadm api]
|
||||
}
|
@@ -1,41 +0,0 @@
|
||||
# Copyright (c) 2020 OPEN CASCADE SAS
|
||||
#
|
||||
# This file is part of Open CASCADE Technology software library.
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or modify it under
|
||||
# the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
# by the Free Software Foundation, with special exception defined in the file
|
||||
# OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
# distribution for complete text of the license and disclaimer of any warranty.
|
||||
#
|
||||
# Alternatively, this file may be used under the terms of Open CASCADE
|
||||
# commercial license or contractual agreement.
|
||||
|
||||
# List of toolkits
|
||||
proc TModelingData:toolkits { } {
|
||||
return [list TKShapeView]
|
||||
}
|
||||
|
||||
# List of non-toolkits (resource units, executables etc., with associated info)
|
||||
proc TModelingData:ressources { } {
|
||||
}
|
||||
|
||||
# Module name
|
||||
proc TModelingData:name { } {
|
||||
return TModelingData
|
||||
}
|
||||
|
||||
# And short alias
|
||||
proc TModelingData:alias { } {
|
||||
return TModelingData
|
||||
}
|
||||
|
||||
# Dependency on other products
|
||||
proc TModelingData:depends { } {
|
||||
return [list FoundationClasses ModelingData TVisualization]
|
||||
}
|
||||
|
||||
# Returns a list of exported features.
|
||||
proc TModelingData:Export { } {
|
||||
return [list source runtime wokadm api]
|
||||
}
|
@@ -1,44 +0,0 @@
|
||||
# Copyright (c) 2020 OPEN CASCADE SAS
|
||||
#
|
||||
# This file is part of Open CASCADE Technology software library.
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or modify it under
|
||||
# the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
# by the Free Software Foundation, with special exception defined in the file
|
||||
# OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
# distribution for complete text of the license and disclaimer of any warranty.
|
||||
#
|
||||
# Alternatively, this file may be used under the terms of Open CASCADE
|
||||
# commercial license or contractual agreement.
|
||||
|
||||
# List of toolkits
|
||||
proc TTool:toolkits { } {
|
||||
return [list TKTInspector TKToolsDraw]
|
||||
}
|
||||
|
||||
# List of non-toolkits (resource units, executables etc., with associated info)
|
||||
proc TTool:ressources { } {
|
||||
return [list \
|
||||
[list both x TInspectorEXE {}] \
|
||||
]
|
||||
}
|
||||
|
||||
# Module name
|
||||
proc TTool:name { } {
|
||||
return TTool
|
||||
}
|
||||
|
||||
# And short alias
|
||||
proc TTool:alias { } {
|
||||
return TTool
|
||||
}
|
||||
|
||||
# Dependency on other products
|
||||
proc TTool:depends { } {
|
||||
return [list FoundationClasses Draw TApplicationFramework]
|
||||
}
|
||||
|
||||
# Returns a list of exported features.
|
||||
proc TTool:Export { } {
|
||||
return [list source runtime wokadm api]
|
||||
}
|
@@ -1,41 +0,0 @@
|
||||
# Copyright (c) 2020 OPEN CASCADE SAS
|
||||
#
|
||||
# This file is part of Open CASCADE Technology software library.
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or modify it under
|
||||
# the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
# by the Free Software Foundation, with special exception defined in the file
|
||||
# OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
# distribution for complete text of the license and disclaimer of any warranty.
|
||||
#
|
||||
# Alternatively, this file may be used under the terms of Open CASCADE
|
||||
# commercial license or contractual agreement.
|
||||
|
||||
# List of toolkits
|
||||
proc TVisualization:toolkits { } {
|
||||
return [list TKView TKVInspector]
|
||||
}
|
||||
|
||||
# List of non-toolkits (resource units, executables etc., with associated info)
|
||||
proc TVisualization:ressources { } {
|
||||
}
|
||||
|
||||
# Module name
|
||||
proc TVisualization:name { } {
|
||||
return TVisualization
|
||||
}
|
||||
|
||||
# And short alias
|
||||
proc TVisualization:alias { } {
|
||||
return TVisualization
|
||||
}
|
||||
|
||||
# Dependency on other products
|
||||
proc TVisualization:depends { } {
|
||||
return [list FoundationClasses]
|
||||
}
|
||||
|
||||
# Returns a list of exported features.
|
||||
proc TVisualization:Export { } {
|
||||
return [list source runtime wokadm api]
|
||||
}
|
@@ -1,24 +0,0 @@
|
||||
# Copyright (c) 2020 OPEN CASCADE SAS
|
||||
#
|
||||
# This file is part of Open CASCADE Technology software library.
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or modify it under
|
||||
# the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
# by the Free Software Foundation, with special exception defined in the file
|
||||
# OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
# distribution for complete text of the license and disclaimer of any warranty.
|
||||
#
|
||||
# Alternatively, this file may be used under the terms of Open CASCADE
|
||||
# commercial license or contractual agreement.
|
||||
|
||||
;#
|
||||
;# Returns an ordered list of module names
|
||||
;#
|
||||
proc OS:Tools { {plat ""} } {
|
||||
set ret [list TModelingData \
|
||||
TVisualization \
|
||||
TApplicationFramework \
|
||||
TTool \
|
||||
]
|
||||
return $ret
|
||||
}
|
@@ -1,76 +0,0 @@
|
||||
# Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
#
|
||||
# This file is part of Open CASCADE Technology software library.
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or modify it under
|
||||
# the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
# by the Free Software Foundation, with special exception defined in the file
|
||||
# OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
# distribution for complete text of the license and disclaimer of any warranty.
|
||||
#
|
||||
# Alternatively, this file may be used under the terms of Open CASCADE
|
||||
# commercial license or contractual agreement.
|
||||
|
||||
;#
|
||||
;# Liste des toolkits WOK sous forme de full path
|
||||
;#
|
||||
proc Visualization:toolkits { } {
|
||||
set aResult [list TKService TKV3d TKMeshVS]
|
||||
|
||||
lappend aResult "TKOpenGl"
|
||||
if { [info exists ::env(HAVE_GLES2)] && "$::env(HAVE_GLES2)" == "true" } {
|
||||
lappend aResult "TKOpenGles"
|
||||
}
|
||||
|
||||
if { [info exists ::env(HAVE_D3D)] } {
|
||||
if { "$::env(HAVE_D3D)" == "true" } {
|
||||
lappend aResult "TKD3DHost"
|
||||
}
|
||||
}
|
||||
|
||||
if { [info exists ::env(HAVE_VTK)] && "$::env(HAVE_VTK)" == "true" } {
|
||||
lappend aResult "TKIVtk"
|
||||
}
|
||||
|
||||
return $aResult
|
||||
}
|
||||
|
||||
;#
|
||||
;# Autres UDs a prendre.
|
||||
;#
|
||||
proc Visualization:ressources { } {
|
||||
return [list \
|
||||
[list both r Textures {}] \
|
||||
[list both r Shaders {}] \
|
||||
[list both r XRResources {}] \
|
||||
]
|
||||
}
|
||||
;#
|
||||
;# Nom du module
|
||||
;#
|
||||
proc Visualization:name { } {
|
||||
return Visualization
|
||||
}
|
||||
proc Visualization:alias { } {
|
||||
return VIS
|
||||
}
|
||||
proc Visualization:depends { } {
|
||||
return [list ModelingAlgorithms]
|
||||
}
|
||||
|
||||
proc Visualization:acdepends { } {
|
||||
set aList [list X11 GL FREETYPE]
|
||||
|
||||
if { [info exists ::env(HAVE_VTK)] && "$::env(HAVE_VTK)" == "true" } {
|
||||
lappend aList "VTK"
|
||||
}
|
||||
|
||||
return $aList
|
||||
}
|
||||
|
||||
;#
|
||||
;# Returns a list of exported features.
|
||||
;#
|
||||
proc Visualization:Export { } {
|
||||
return [list source runtime wokadm api]
|
||||
}
|
Reference in New Issue
Block a user