iterative closest points
CEV ICP algorithm library
|
Public Member Functions | |
__init__ (self, search_dir, out_dir, main_file) | |
extract (self, file, contents) | |
update_main (self, doxygen_refs) | |
build (self) | |
Public Attributes | |
search_dir | |
out_dir | |
main_file | |
all_sources | |
A class used to build documentation for an ICP implementation. ... Attributes ---------- search_dir : str The directory to search for source files. out_dir : str The directory to write the output markdown files. main_file : str The main documentation file. all_sources : set A set of all sources found in the source files. registration_names : dict Associates each ICP type name with its registration name. Methods ------- extract(file, contents): Extracts the documentation from the given file contents and writes it to a markdown file. build(): Searches for source files in the search directory and extracts their documentation.
Definition at line 15 of file icp_doc_builder.py.
icp_doc_builder.ICPDocumentationBuilder.__init__ | ( | self, | |
search_dir, | |||
out_dir, | |||
main_file | |||
) |
Constructs a new ICPDocumentationBuilder. Parameters ---------- search_dir : str The directory to search for source files. out_dir : str The directory to write the output markdown files. main_file : str A path to the main markdown file.
Definition at line 42 of file icp_doc_builder.py.
icp_doc_builder.ICPDocumentationBuilder.build | ( | self | ) |
Searches for source files in the search directory and extracts their documentation.
Definition at line 179 of file icp_doc_builder.py.
icp_doc_builder.ICPDocumentationBuilder.extract | ( | self, | |
file, | |||
contents | |||
) |
Extracts the documentation from the given file contents and writes it to a markdown file. Parameters ---------- file : str The name of the file to extract documentation from. contents : str The contents of the file.
Definition at line 60 of file icp_doc_builder.py.
icp_doc_builder.ICPDocumentationBuilder.update_main | ( | self, | |
doxygen_refs | |||
) |
Definition at line 151 of file icp_doc_builder.py.
icp_doc_builder.ICPDocumentationBuilder.all_sources |
Definition at line 58 of file icp_doc_builder.py.
icp_doc_builder.ICPDocumentationBuilder.main_file |
Definition at line 57 of file icp_doc_builder.py.
icp_doc_builder.ICPDocumentationBuilder.out_dir |
Definition at line 56 of file icp_doc_builder.py.
icp_doc_builder.ICPDocumentationBuilder.search_dir |
Definition at line 55 of file icp_doc_builder.py.