Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
47c3e794
Commit
47c3e794
authored
May 18, 2010
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added Doxygen-based documentation (draft version for now)
parent
3b0243c5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
176 additions
and
3 deletions
+176
-3
CMakeLists.txt
CMakeLists.txt
+17
-2
CMakeLists.txt
doc/CMakeLists.txt
+35
-0
Doxyfile.in
doc/Doxyfile.in
+123
-0
cxcore_utilities_system_functions.tex
doc/cxcore_utilities_system_functions.tex
+1
-1
core.hpp
modules/core/include/opencv2/core/core.hpp
+0
-0
No files found.
CMakeLists.txt
View file @
47c3e794
...
@@ -663,6 +663,14 @@ endif()
...
@@ -663,6 +663,14 @@ endif()
################## LATEX ##################
################## LATEX ##################
set
(
BUILD_LATEX_DOCS OFF CACHE BOOL
"Build LaTeX OpenCV Documentation"
)
set
(
BUILD_LATEX_DOCS OFF CACHE BOOL
"Build LaTeX OpenCV Documentation"
)
################### DOXYGEN ###############
find_package
(
Doxygen
)
if
(
DOXYGEN_FOUND
)
set
(
BUILD_DOXYGEN_DOCS ON CACHE BOOL
"Generate HTML docs using Doxygen"
)
endif
()
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
# UPDATE CONFIG FILES & SCRIPTS:
# UPDATE CONFIG FILES & SCRIPTS:
#
#
...
@@ -1190,10 +1198,17 @@ message(STATUS " Use TBB: NO")
...
@@ -1190,10 +1198,17 @@ message(STATUS " Use TBB: NO")
endif
()
endif
()
if
(
BUILD_LATEX_DOCS AND PDFLATEX_COMPILER
)
if
(
BUILD_LATEX_DOCS AND PDFLATEX_COMPILER
)
message
(
STATUS
" Build
Documentation 1
"
)
message
(
STATUS
" Build
PDF YES
"
)
else
()
else
()
message
(
STATUS
" Build
Documentation 0
"
)
message
(
STATUS
" Build
PDF NO
"
)
endif
()
endif
()
if
(
BUILD_DOXYGEN_DOCS AND DOXYGEN_FOUND
)
message
(
STATUS
" Doxygen HTMLs YES"
)
else
()
message
(
STATUS
" Doxygen HTMLs NO"
)
endif
()
message
(
STATUS
""
)
message
(
STATUS
""
)
message
(
STATUS
" Install path:
${
CMAKE_INSTALL_PREFIX
}
"
)
message
(
STATUS
" Install path:
${
CMAKE_INSTALL_PREFIX
}
"
)
message
(
STATUS
""
)
message
(
STATUS
""
)
...
...
doc/CMakeLists.txt
View file @
47c3e794
...
@@ -126,3 +126,38 @@ endif() # BUILD_LATEX_DOCS AND PDFLATEX_COMPILER
...
@@ -126,3 +126,38 @@ endif() # BUILD_LATEX_DOCS AND PDFLATEX_COMPILER
install
(
FILES
${
FILES_DOC
}
DESTINATION
"
${
OPENCV_DOC_INSTALL_PATH
}
"
COMPONENT main
)
install
(
FILES
${
FILES_DOC
}
DESTINATION
"
${
OPENCV_DOC_INSTALL_PATH
}
"
COMPONENT main
)
install
(
FILES
${
FILES_DOC_PAPERS
}
DESTINATION
"
${
OPENCV_DOC_INSTALL_PATH
}
/papers"
COMPONENT main
)
install
(
FILES
${
FILES_DOC_PAPERS
}
DESTINATION
"
${
OPENCV_DOC_INSTALL_PATH
}
/papers"
COMPONENT main
)
install
(
FILES
${
FILES_DOC_VS
}
DESTINATION
"
${
OPENCV_DOC_INSTALL_PATH
}
/vidsurv"
COMPONENT main
)
install
(
FILES
${
FILES_DOC_VS
}
DESTINATION
"
${
OPENCV_DOC_INSTALL_PATH
}
/vidsurv"
COMPONENT main
)
########################################### Doxygen Docs #########################################
if
(
BUILD_DOXYGEN_DOCS AND DOXYGEN_FOUND
)
set
(
DOXYGEN_LANGUAGE
"English"
CACHE STRING
"Language used by doxygen"
)
mark_as_advanced
(
DOXYGEN_LANGUAGE
)
set
(
CMAKE_DOXYGEN_IMAGE_PATH
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/pics"
)
set
(
module_names core
)
# imgproc calib3d features2d objdetect video highgui ml legacy contrib)
set
(
DOXYGEN_SOURCE_DIR
)
set
(
doxy_html_dep_list
)
foreach
(
m
${
module_names
}
)
set
(
module_hdr_path
"
${
CMAKE_SOURCE_DIR
}
/modules/
${
m
}
/include/opencv2/
${
m
}
"
)
set
(
DOXYGEN_SOURCE_DIR
${
DOXYGEN_SOURCE_DIR
}
${
module_hdr_path
}
)
file
(
GLOB module_hdrs
"
${
module_hdr_path
}
/*.h*"
)
set
(
doxy_html_dep_list
${
doxy_html_dep_list
}
${
module_hdrs
}
)
endforeach
()
set
(
DOXYGEN_OUTPUT_DIR html
)
string
(
REGEX REPLACE
";"
" "
CMAKE_DOXYGEN_INPUT_LIST
"
${
DOXYGEN_SOURCE_DIR
}
"
)
configure_file
(
Doxyfile.in
${
CMAKE_CURRENT_BINARY_DIR
}
/Doxyfile
)
set
(
HTML_TARGET
"DOXY_HTML"
)
add_custom_target
(
${
HTML_TARGET
}
ALL
${
DOXYGEN_EXECUTABLE
}
${
CMAKE_CURRENT_BINARY_DIR
}
/Doxyfile
DEPENDS
${
CMAKE_CURRENT_BINARY_DIR
}
/Doxyfile
${
doxy_html_dep_list
}
)
install
(
DIRECTORY
"
${
CMAKE_CURRENT_BINARY_DIR
}
/html/"
DESTINATION
"
${
OPENCV_DOC_INSTALL_PATH
}
/html/"
COMPONENT main
)
endif
()
doc/Doxyfile.in
0 → 100755
View file @
47c3e794
# Doxyfile 1.3.9.1
#---------------------------------------------------------------------------
# Project related configuration options
#---------------------------------------------------------------------------
PROJECT_NAME = opencv
PROJECT_NUMBER = @OPENCV_VERSION@
OUTPUT_DIRECTORY = .
CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = English
BRIEF_MEMBER_DESC = YES
#---------------------------------------------------------------------------
# Build related configuration options
#---------------------------------------------------------------------------
EXTRACT_ALL = YES
#---------------------------------------------------------------------------
# configuration options related to warning and progress messages
#---------------------------------------------------------------------------
QUIET = NO
WARNINGS = YES
WARN_IF_UNDOCUMENTED = YES
WARN_IF_DOC_ERROR = YES
WARN_FORMAT = "$file:$line: $text"
WARN_LOGFILE =
#---------------------------------------------------------------------------
# configuration options related to the input files
#---------------------------------------------------------------------------
INPUT = @CMAKE_DOXYGEN_INPUT_LIST@
FILE_PATTERNS = *.cpp *.h*
RECURSIVE = NO
EXCLUDE =
EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS =
EXAMPLE_PATH =
EXAMPLE_PATTERNS =
EXAMPLE_RECURSIVE = NO
IMAGE_PATH = @CMAKE_DOXYGEN_IMAGE_PATH@
INPUT_FILTER =
FILTER_PATTERNS =
FILTER_SOURCE_FILES = NO
#---------------------------------------------------------------------------
# configuration options related to the alphabetical class index
#---------------------------------------------------------------------------
ALPHABETICAL_INDEX = YES
COLS_IN_ALPHA_INDEX = 5
IGNORE_PREFIX =
#---------------------------------------------------------------------------
# configuration options related to the HTML output
#---------------------------------------------------------------------------
GENERATE_HTML = YES
HTML_OUTPUT = html
HTML_FILE_EXTENSION = .html
#---------------------------------------------------------------------------
# configuration options related to the LaTeX output
#---------------------------------------------------------------------------
GENERATE_LATEX = NO
#---------------------------------------------------------------------------
# configuration options related to the RTF output
#---------------------------------------------------------------------------
GENERATE_RTF = NO
#---------------------------------------------------------------------------
# configuration options related to the man page output
#---------------------------------------------------------------------------
GENERATE_MAN = NO
#---------------------------------------------------------------------------
# configuration options related to the XML output
#---------------------------------------------------------------------------
GENERATE_XML = NO
#---------------------------------------------------------------------------
# configuration options for the AutoGen Definitions output
#---------------------------------------------------------------------------
GENERATE_AUTOGEN_DEF = NO
#---------------------------------------------------------------------------
# configuration options related to the Perl module output
#---------------------------------------------------------------------------
GENERATE_PERLMOD = NO
#---------------------------------------------------------------------------
# Configuration options related to the preprocessor
#---------------------------------------------------------------------------
ENABLE_PREPROCESSING = YES
MACRO_EXPANSION = YES
EXPAND_ONLY_PREDEF = YES
PREDEFINED = CV_EXPORTS= CVAPI(x)=x __cplusplus=1
SEARCH_INCLUDES = NO
INCLUDE_PATH =
INCLUDE_FILE_PATTERNS =
EXPAND_AS_DEFINED =
SKIP_FUNCTION_MACROS = YES
#---------------------------------------------------------------------------
# Configuration::additions related to external references
#---------------------------------------------------------------------------
TAGFILES =
GENERATE_TAGFILE =
ALLEXTERNALS = NO
EXTERNAL_GROUPS = YES
PERL_PATH = /usr/bin/perl
#---------------------------------------------------------------------------
# Configuration options related to the dot tool
#---------------------------------------------------------------------------
CLASS_DIAGRAMS = YES
HIDE_UNDOC_RELATIONS = YES
HAVE_DOT = NO
CLASS_GRAPH = YES
COLLABORATION_GRAPH = YES
UML_LOOK = NO
TEMPLATE_RELATIONS = YES
INCLUDE_GRAPH = YES
INCLUDED_BY_GRAPH = YES
CALL_GRAPH = NO
GRAPHICAL_HIERARCHY = YES
DOT_IMAGE_FORMAT = png
DOT_PATH =
DOTFILE_DIRS =
MAX_DOT_GRAPH_WIDTH = 1024
MAX_DOT_GRAPH_HEIGHT = 1024
MAX_DOT_GRAPH_DEPTH = 0
GENERATE_LEGEND = YES
DOT_CLEANUP = YES
#---------------------------------------------------------------------------
# Configuration::additions related to the search engine
#---------------------------------------------------------------------------
SEARCHENGINE = YES
doc/cxcore_utilities_system_functions.tex
View file @
47c3e794
...
@@ -730,7 +730,7 @@ Returns the number of ticks per second
...
@@ -730,7 +730,7 @@ Returns the number of ticks per second
\cvdefCpp
{
double getTickFrequency();
}
\cvdefCpp
{
double getTickFrequency();
}
The function returns the number of ticks per second.
The function returns the number of ticks per second.
That is, the following code computes the executi
ng
time in seconds.
That is, the following code computes the executi
on
time in seconds.
\begin{lstlisting}
\begin{lstlisting}
double t = (double)getTickCount();
double t = (double)getTickCount();
// do something ...
// do something ...
...
...
modules/core/include/opencv2/core/core.hpp
View file @
47c3e794
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment