約 6,123,890 件
https://w.atwiki.jp/wiki5_hks/pages/39.html
OUTPUT ファイルからの情報抽出 Web 上で実行記事 記事(追記) 実行場所 http //homepage1.nifty.com/hkasai/NMonal/NMonal.html 複数の OUTPUT ファイルから情報を抽出 あるフォルダ内にある OUTPUT ファイルすべてから必要な情報を抽出する.フォルダ内に OUTPUT ファイル以外のファイルが保存されていても構わない.OUTPUT ファイルのみを認識して,以下の作業が自動的に行われる. 使い方1. 下のプログラム (ReadNMoutMulti.pl および NMoutAnal.pl) をひとつのフォルダに保存する 2. Perl をインストールしておく.(Perl 参照) 3. 以下のように実行する.結果は CSV ファイルに出力される.Summary.csv は使用者が任意につける名前.何でもよい. ### カレントフォルダの OUTPUT をすべて対象とする場合 ### C \nmv\run perl ReadNMoutMulti.pl . Summary.csv ### カレントフォルダの下の OUT フォルダの中のファイルを対象とする場合 ### C \nmv\run perl ReadNMoutMulti.pl out Summary.csv 注意 COV ステップのエラー検出には未対応です.== 対応しました. 結果の保証はいたしかねます. ReadNMoutMulti.pl use strict; require NMoutAnal.pl ; my $ThisScriptName = "ReadNMoutMulti.pl"; if (@ARGV != 1) { print "Usage perl $ThisScriptName FOLDER_name\n\n"; die; } my $dirname = shift @ARGV; my @result_all; opendir(DIR, $dirname) or die "$dirname $!"; while (defined(my $fname = readdir(DIR))) { next if ($fname =~ /pl$/); next unless (-f "$dirname\\$fname"); open(FILE, "$dirname\\$fname") or die "$dirname\\$fname $!"; my $isOutputFile = 0; while (defined(my $line = FILE )) { if ($line =~ "DEVELOPED AND PROGRAMMED BY STUART BEAL AND LEWIS SHEINER" ) { $isOutputFile = 1; } } close(FILE); if ($isOutputFile) { my %result1 = NMoutAnal("$dirname\\$fname"); $result1{ FNAME } = $fname; push(@result_all, \%result1); } } closedir(DIR); my $max_ntheta = 0; my $max_nomega = 0; my $max_nsigma = 0; foreach my $res1 (@result_all) { if ($res1- { NTHETA } $max_ntheta) { $max_ntheta = ${$res1}{ NTHETA }; } if ($res1- { NOMEGA } $max_nomega) { $max_nomega = ${$res1}{ NOMEGA }; } if ($res1- { NSIGMA } $max_nsigma) { $max_nsigma = ${$res1}{ NSIGMA }; } } print "Output,EST Status,COV Status,NIndiv,Nobs,OBJ"; for (1..$max_ntheta) { print ",TH$_"; } for (1..$max_nomega) { print ",OM$_"; } for (1..$max_nsigma) { print ",SG$_"; } for (1..$max_ntheta) { print ",SETH$_"; } for (1..$max_nomega) { print ",SEOM$_"; } for (1..$max_nsigma) { print ",SESG$_"; } print "\n"; my @values; my $COV_status; foreach my $res1 (@result_all) { $COV_status = "Success"; if ($res1- { COV_STATUS } == 0) { $COV_status = "Failure"; } elsif ($res1- { COV_STATUS } == -1) { $COV_status = "Not Implemented"; } print "$res1- { FNAME }"; print ",$res1- { STATUS }"; print ",$COV_status"; #COV status print ",$res1- { NINDIV }"; print ",$res1- { NOBS }"; print ",$res1- { OBJ }"; @values = ConvEStrToNum($res1- { THETA }); print ",", join(",", @values); if ($res1- { NTHETA } $max_ntheta) { foreach my $i (($res1- { NTHETA } + 1)..$max_ntheta) { print ",."; } } @values = ConvEStrToNum($res1- { OMEGA }); print ",", join(",", @values); if ($res1- { NOMEGA } $max_nomega) { foreach my $i (($res1- { NOMEGA } + 1)..$max_nomega) { print ",."; } } @values = ConvEStrToNum($res1- { SIGMA }); print ",", join(",", @values); if ($res1- { NSIGMA } $max_nsigma) { foreach my $i (($res1- { NSIGMA } + 1)..$max_nsigma) { print ",."; } } @values = ConvEStrToNum($res1- { SE_THETA }); print ",", join(",", @values); if ($res1- { NTHETA } $max_ntheta) { foreach my $i (($res1- { NTHETA } + 1)..$max_ntheta) { print ",."; } } @values = ConvEStrToNum($res1- { SE_OMEGA }); print ",", join(",", @values); if ($res1- { NOMEGA } $max_nomega) { foreach my $i (($res1- { NOMEGA } + 1)..$max_nomega) { print ",."; } } @values = ConvEStrToNum($res1- { SE_SIGMA }); print ",", join(",", @values); if ($res1- { NSIGMA } $max_nsigma) { foreach my $i (($res1- { NSIGMA } + 1)..$max_nsigma) { print ",."; } } print "\n"; } NMoutAnal.pl use strict; sub NMoutAnal { if (@_ != 1) { print "Irregular arguments.\n\n"; die; } my $output_file = shift @_; if (not -e $output_file) { print "File not found $output_file\n\n"; die; } open(OUTPUT, $output_file) or die "$!"; my @lines = OUTPUT ; my $nlines = @lines; close(OUTPUT); my %result; my $problem; my $tmp; my $nobs; my $nindiv; my $del; my $status; my $obj; my @theta; my $ntheta; my $str; my @omega; my $nomega; my @sigma; my $nsigma; my @se_theta; my @se_omega; my @se_sigma; foreach my $i (0..($nlines - 1)) { if ($lines[$i] =~ /PROBLEM NO./) { $i++; chomp($lines[$i]); $problem = $lines[$i]; $problem =~ s/^ +//; $problem =~ s/ +$//; $result{ PROBLEM } = $problem; } elsif ($lines[$i] =~ /OBS RECS/) { chomp($lines[$i]); ($tmp, $nobs) = split(/ +/, $lines[$i]); $result{ NOBS } = $nobs; } elsif ($lines[$i] =~ /OF INDIVIDUALS/) { chomp($lines[$i]); ($tmp, $nindiv) = split(/ +/, $lines[$i]); $result{ NINDIV } = $nindiv; } elsif ($lines[$i] =~ /MINIMIZATION/) { chomp($lines[$i]); $del = 0; if (substr($lines[$i], 0, 1) eq 0 ) { $del = 1; } $status = substr($lines[$i], $del); $result{ STATUS } = $status; } elsif ($lines[$i] =~ /MINIMUM VALUE OF OBJ/) { do { $i++; } until ($lines[$i] =~ /[\-\d\.]+/); $obj = $ ; $result{ OBJ } = $obj; } elsif ($lines[$i] =~ /FINAL PARAMETER ESTIMATE/) { do { $i++; } until ($lines[$i] =~ /TH 1/); $i += 2; chomp($lines[$i]); @theta = split( , $lines[$i]); $ntheta = @theta; $result{ NTHETA } = $ntheta; $result{ THETA } = "@theta"; if ($lines[$i + 4] =~ /OMEGA/) { do { $i++; } until ($lines[$i] =~ /^ ?ETA1/); $i++; chomp($lines[$i]); $del = 0; if (substr($lines[$i], 0, 1) eq + ) { $del = 1; } $str = substr($lines[$i], $del); @omega = split( , $str); $i += 2; while ($lines[$i] =~ /^ ?ETA/) { $i++; chomp($lines[$i]); $del = 0; if (substr($lines[$i], 0, 1) eq + ) { $del = 1; } $str = substr($lines[$i], $del); @omega = (@omega, split( , $str)); $i += 2; }; $nomega = @omega; $result{ NOMEGA } = $nomega; $result{ OMEGA } = "@omega"; } if ($lines[$i + 2] =~ /SIGMA/) { do { $i++; } until ($lines[$i] =~ /^ ?EPS1/); $i++; chomp($lines[$i]); $del = 0; if (substr($lines[$i], 0, 1) eq + ) { $del = 1; } $str = substr($lines[$i], $del); @sigma = split( , $str); $i += 2; while ($lines[$i] =~ /^ ?EPS/) { $i++; chomp($lines[$i]); $del = 0; if (substr($lines[$i], 0, 1) eq + ) { $del = 1; } $str = substr($lines[$i], $del); @sigma = (@sigma, split( , $str)); $i += 2; }; $nsigma = @sigma; $result{ NSIGMA } = $nsigma; $result{ SIGMA } = "@sigma"; } } elsif ($lines[$i] =~ /STANDARD ERROR/) { do { $i++; } until ($lines[$i] =~ /TH 1/); $i += 2; chomp($lines[$i]); @se_theta = split( , $lines[$i]); $result{ SE_THETA } = "@se_theta"; if ($lines[$i + 4] =~ /OMEGA/) { do { $i++; } until ($lines[$i] =~ /^ ?ETA1/); $i++; chomp($lines[$i]); $del = 0; if (substr($lines[$i], 0, 1) eq + ) { $del = 1; } $str = substr($lines[$i], $del); @se_omega = split( , $str); $i += 2; while ($lines[$i] =~ /^ ?ETA/) { $i++; chomp($lines[$i]); $del = 0; if (substr($lines[$i], 0, 1) eq + ) { $del = 1; } $str = substr($lines[$i], $del); @se_omega = (@se_omega, split( , $str)); $i += 2; }; $result{ SE_OMEGA } = "@se_omega"; } if ($lines[$i + 2] =~ /SIGMA/) { do { $i++; } until ($lines[$i] =~ /^ ?EPS1/); $i++; chomp($lines[$i]); $del = 0; if (substr($lines[$i], 0, 1) eq + ) { $del = 1; } $str = substr($lines[$i], $del); @se_sigma = split( , $str); $i += 2; while ($lines[$i] =~ /^ ?EPS/) { $i++; chomp($lines[$i]); $del = 0; if (substr($lines[$i], 0, 1) eq + ) { $del = 1; } $str = substr($lines[$i], $del); @se_sigma = (@se_sigma, split( , $str)); $i += 2; }; $result{ SE_SIGMA } = "@se_sigma"; } } } # COV ステップエラーの検出 my $COV_status = -1; # NOT IMPLEMENTED foreach my $line (@lines) { if ($line =~ /COVARIANCE STEP OMITTED.*$/) { my ($tmp, $COV_exec) = split(/ /, $ ); if ($COV_exec =~ /NO/) { $COV_status = 1; # IMPLEMENTED } } } if ($COV_status == 1) { # COV ステップが実行されている if (!($se_theta[0] 0)) { $COV_status = 0; } } $result{ COV_STATUS } = $COV_status; return %result; } sub ConvEStrToNum { my $str = shift @_; my @value = split(/ /, $str); foreach (@value) { $_ += 0; } return (@value); } 1;
https://w.atwiki.jp/reisiki/pages/87.html
# Doxyfile 1.5.8 # This file describes the settings to be used by the documentation system# doxygen (www.doxygen.org) for a project## All text after a hash (#) is considered a comment and will be ignored# The format is # TAG = value [value, ...]# For lists items can also be appended using # TAG += value [value, ...]# Values that contain spaces should be placed between quotes (" ") #---------------------------------------------------------------------------# Project related configuration options#--------------------------------------------------------------------------- # This tag specifies the encoding used for all characters in the config file # that follow. The default is UTF-8 which is also the encoding used for all # text before the first occurrence of this tag. Doxygen uses libiconv (or the # iconv built into libc) for the transcoding. See # http //www.gnu.org/software/libiconv for the list of possible encodings. DOXYFILE_ENCODING = UTF-8 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded # by quotes) that should identify the project. PROJECT_NAME = siki # The PROJECT_NUMBER tag can be used to enter a project or revision number. # This could be handy for archiving the generated documentation or # if some version control system is used. PROJECT_NUMBER = ver.090625 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) # base path where the generated documentation will be put. # If a relative path is entered, it will be relative to the location # where doxygen was started. If left blank the current directory will be used. OUTPUT_DIRECTORY = docs # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create # 4096 sub-directories (in 2 levels) under the output directory of each output # format and will distribute the generated files over these directories. # Enabling this option can be useful when feeding doxygen a huge amount of # source files, where putting all generated files in the same directory would # otherwise cause performance problems for the file system. CREATE_SUBDIRS = NO # The OUTPUT_LANGUAGE tag is used to specify the language in which all # documentation generated by doxygen is written. Doxygen will use this # information to generate all constant output in the proper language. # The default language is English, other supported languages are # Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional, # Croatian, Czech, Danish, Dutch, Farsi, Finnish, French, German, Greek, # Hungarian, Italian, Japanese, Japanese-en (Japanese with English messages), # Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian, Polish, # Portuguese, Romanian, Russian, Serbian, Serbian-Cyrilic, Slovak, Slovene, # Spanish, Swedish, and Ukrainian. OUTPUT_LANGUAGE = Japanese # If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will # include brief member descriptions after the members that are listed in # the file and class documentation (similar to JavaDoc). # Set to NO to disable this. BRIEF_MEMBER_DESC = YES # If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend # the brief description of a member or function before the detailed description. # Note if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the # brief descriptions will be completely suppressed. REPEAT_BRIEF = YES # This tag implements a quasi-intelligent brief description abbreviator # that is used to form the text in various listings. Each string # in this list, if found as the leading text of the brief description, will be # stripped from the text and the result after processing the whole list, is # used as the annotated text. Otherwise, the brief description is used as-is. # If left blank, the following values are used ("$name" is automatically # replaced with the name of the entity) "The $name class" "The $name widget" # "The $name file" "is" "provides" "specifies" "contains" # "represents" "a" "an" "the" ABBREVIATE_BRIEF = # If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then # Doxygen will generate a detailed section even if there is only a brief # description. ALWAYS_DETAILED_SEC = NO # If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all # inherited members of a class in the documentation of that class as if those # members were ordinary class members. Constructors, destructors and assignment # operators of the base classes will not be shown. INLINE_INHERITED_MEMB = YES # If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full # path before files name in the file list and in the header files. If set # to NO the shortest path that makes the file name unique will be used. FULL_PATH_NAMES = NO # If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag # can be used to strip a user-defined part of the path. Stripping is # only done if one of the specified strings matches the left-hand part of # the path. The tag can be used to show relative paths in the file list. # If left blank the directory from which doxygen is run is used as the # path to strip. STRIP_FROM_PATH = # The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of # the path mentioned in the documentation of a class, which tells # the reader which header file to include in order to use a class. # If left blank only the name of the header file containing the class # definition is used. Otherwise one should specify the include paths that # are normally passed to the compiler using the -I flag. STRIP_FROM_INC_PATH = # If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter # (but less readable) file names. This can be useful is your file systems # doesn t support long names like on DOS, Mac, or CD-ROM. SHORT_NAMES = NO # If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen # will interpret the first line (until the first dot) of a JavaDoc-style # comment as the brief description. If set to NO, the JavaDoc # comments will behave just like regular Qt-style comments # (thus requiring an explicit @brief command for a brief description.) JAVADOC_AUTOBRIEF = NO # If the QT_AUTOBRIEF tag is set to YES then Doxygen will # interpret the first line (until the first dot) of a Qt-style # comment as the brief description. If set to NO, the comments # will behave just like regular Qt-style comments (thus requiring # an explicit \brief command for a brief description.) QT_AUTOBRIEF = NO # The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen # treat a multi-line C++ special comment block (i.e. a block of //! or /// # comments) as a brief description. This used to be the default behaviour. # The new default is to treat a multi-line C++ comment block as a detailed # description. Set this tag to YES if you prefer the old behaviour instead. MULTILINE_CPP_IS_BRIEF = NO # If the INHERIT_DOCS tag is set to YES (the default) then an undocumented # member inherits the documentation from any documented member that it # re-implements. INHERIT_DOCS = YES # If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce # a new page for each member. If set to NO, the documentation of a member will # be part of the file/class/namespace that contains it. SEPARATE_MEMBER_PAGES = NO # The TAB_SIZE tag can be used to set the number of spaces in a tab. # Doxygen uses this value to replace tabs by spaces in code fragments. TAB_SIZE = 8 # This tag can be used to specify a number of aliases that acts # as commands in the documentation. An alias has the form "name=value". # For example adding "sideeffect=\par Side Effects \n" will allow you to # put the command \sideeffect (or @sideeffect) in the documentation, which # will result in a user-defined paragraph with heading "Side Effects ". # You can put \n s in the value part of an alias to insert newlines. ALIASES = # Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C # sources only. Doxygen will then generate output that is more tailored for C. # For instance, some of the names that are used will be different. The list # of all members will be omitted, etc. OPTIMIZE_OUTPUT_FOR_C = NO # Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java # sources only. Doxygen will then generate output that is more tailored for # Java. For instance, namespaces will be presented as packages, qualified # scopes will look different, etc. OPTIMIZE_OUTPUT_JAVA = NO # Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran # sources only. Doxygen will then generate output that is more tailored for # Fortran. OPTIMIZE_FOR_FORTRAN = NO # Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL # sources. Doxygen will then generate output that is tailored for # VHDL. OPTIMIZE_OUTPUT_VHDL = NO # Doxygen selects the parser to use depending on the extension of the files it parses. # With this tag you can assign which parser to use for a given extension. # Doxygen has a built-in mapping, but you can override or extend it using this tag. # The format is ext=language, where ext is a file extension, and language is one of # the parsers supported by doxygen IDL, Java, Javascript, C#, C, C++, D, PHP, # Objective-C, Python, Fortran, VHDL, C, C++. For instance to make doxygen treat # .inc files as Fortran files (default is PHP), and .f files as C (default is Fortran), # use inc=Fortran f=C EXTENSION_MAPPING = # If you use STL classes (i.e. std string, std vector, etc.) but do not want # to include (a tag file for) the STL sources as input, then you should # set this tag to YES in order to let doxygen match functions declarations and # definitions whose arguments contain STL classes (e.g. func(std string); v.s. # func(std string) {}). This also make the inheritance and collaboration # diagrams that involve STL classes more complete and accurate. BUILTIN_STL_SUPPORT = YES # If you use Microsoft s C++/CLI language, you should set this option to YES to # enable parsing support. CPP_CLI_SUPPORT = NO # Set the SIP_SUPPORT tag to YES if your project consists of sip sources only. # Doxygen will parse them like normal C++ but will assume all classes use public # instead of private inheritance when no explicit protection keyword is present. SIP_SUPPORT = NO # For Microsoft s IDL there are propget and propput attributes to indicate getter # and setter methods for a property. Setting this option to YES (the default) # will make doxygen to replace the get and set methods by a property in the # documentation. This will only work if the methods are indeed getting or # setting a simple type. If this is not the case, or you want to show the # methods anyway, you should set this option to NO. IDL_PROPERTY_SUPPORT = YES # If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC # tag is set to YES, then doxygen will reuse the documentation of the first # member in the group (if any) for the other members of the group. By default # all members of a group must be documented explicitly. DISTRIBUTE_GROUP_DOC = NO # Set the SUBGROUPING tag to YES (the default) to allow class member groups of # the same type (for instance a group of public functions) to be put as a # subgroup of that type (e.g. under the Public Functions section). Set it to # NO to prevent subgrouping. Alternatively, this can be done per class using # the \nosubgrouping command. SUBGROUPING = YES # When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum # is documented as struct, union, or enum with the name of the typedef. So # typedef struct TypeS {} TypeT, will appear in the documentation as a struct # with name TypeT. When disabled the typedef will appear as a member of a file, # namespace, or class. And the struct will be named TypeS. This can typically # be useful for C code in case the coding convention dictates that all compound # types are typedef ed and only the typedef is referenced, never the tag name. TYPEDEF_HIDES_STRUCT = NO # The SYMBOL_CACHE_SIZE determines the size of the internal cache use to # determine which symbols to keep in memory and which to flush to disk. # When the cache is full, less often used symbols will be written to disk. # For small to medium size projects ( 1000 input files) the default value is # probably good enough. For larger projects a too small cache size can cause # doxygen to be busy swapping symbols to and from disk most of the time # causing a significant performance penality. # If the system has enough physical memory increasing the cache will improve the # performance by keeping more symbols in memory. Note that the value works on # a logarithmic scale so increasing the size by one will rougly double the # memory usage. The cache size is given by this formula # 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0, # corresponding to a cache size of 2^16 = 65536 symbols SYMBOL_CACHE_SIZE = 0 #---------------------------------------------------------------------------# Build related configuration options#--------------------------------------------------------------------------- # If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in # documentation are documented, even if no documentation was available. # Private class members and static file members will be hidden unless # the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES EXTRACT_ALL = NO # If the EXTRACT_PRIVATE tag is set to YES all private members of a class # will be included in the documentation. EXTRACT_PRIVATE = YES # If the EXTRACT_STATIC tag is set to YES all static members of a file # will be included in the documentation. EXTRACT_STATIC = YES # If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) # defined locally in source files will be included in the documentation. # If set to NO only classes defined in header files are included. EXTRACT_LOCAL_CLASSES = YES # This flag is only useful for Objective-C code. When set to YES local # methods, which are defined in the implementation section but not in # the interface are included in the documentation. # If set to NO (the default) only methods in the interface are included. EXTRACT_LOCAL_METHODS = YES # If this flag is set to YES, the members of anonymous namespaces will be # extracted and appear in the documentation as a namespace called # anonymous_namespace{file} , where file will be replaced with the base # name of the file that contains the anonymous namespace. By default # anonymous namespace are hidden. EXTRACT_ANON_NSPACES = YES # If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all # undocumented members of documented classes, files or namespaces. # If set to NO (the default) these members will be included in the # various overviews, but no documentation section is generated. # This option has no effect if EXTRACT_ALL is enabled. HIDE_UNDOC_MEMBERS = NO # If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all # undocumented classes that are normally visible in the class hierarchy. # If set to NO (the default) these classes will be included in the various # overviews. This option has no effect if EXTRACT_ALL is enabled. HIDE_UNDOC_CLASSES = NO # If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all # friend (class|struct|union) declarations. # If set to NO (the default) these declarations will be included in the # documentation. HIDE_FRIEND_COMPOUNDS = NO # If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any # documentation blocks found inside the body of a function. # If set to NO (the default) these blocks will be appended to the # function s detailed documentation block. HIDE_IN_BODY_DOCS = NO # The INTERNAL_DOCS tag determines if documentation # that is typed after a \internal command is included. If the tag is set # to NO (the default) then the documentation will be excluded. # Set it to YES to include the internal documentation. INTERNAL_DOCS = YES # If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate # file names in lower-case letters. If set to YES upper-case letters are also # allowed. This is useful if you have classes or files whose names only differ # in case and if your file system supports case sensitive file names. Windows # and Mac users are advised to set this option to NO. CASE_SENSE_NAMES = NO # If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen # will show members with their full class and namespace scopes in the # documentation. If set to YES the scope will be hidden. HIDE_SCOPE_NAMES = NO # If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen # will put a list of the files that are included by a file in the documentation # of that file. SHOW_INCLUDE_FILES = YES # If the INLINE_INFO tag is set to YES (the default) then a tag [inline] # is inserted in the documentation for inline members. INLINE_INFO = YES # If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen # will sort the (detailed) documentation of file and class members # alphabetically by member name. If set to NO the members will appear in # declaration order. SORT_MEMBER_DOCS = NO # If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the # brief documentation of file, namespace and class members alphabetically # by member name. If set to NO (the default) the members will appear in # declaration order. SORT_BRIEF_DOCS = YES # If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the # hierarchy of group names into alphabetical order. If set to NO (the default) # the group names will appear in their defined order. SORT_GROUP_NAMES = YES # If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be # sorted by fully-qualified names, including namespaces. If set to # NO (the default), the class list will be sorted only by class name, # not including the namespace part. # Note This option is not very useful if HIDE_SCOPE_NAMES is set to YES. # Note This option applies only to the class list, not to the # alphabetical list. SORT_BY_SCOPE_NAME = YES # The GENERATE_TODOLIST tag can be used to enable (YES) or # disable (NO) the todo list. This list is created by putting \todo # commands in the documentation. GENERATE_TODOLIST = YES # The GENERATE_TESTLIST tag can be used to enable (YES) or # disable (NO) the test list. This list is created by putting \test # commands in the documentation. GENERATE_TESTLIST = YES # The GENERATE_BUGLIST tag can be used to enable (YES) or # disable (NO) the bug list. This list is created by putting \bug # commands in the documentation. GENERATE_BUGLIST = YES # The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or # disable (NO) the deprecated list. This list is created by putting # \deprecated commands in the documentation. GENERATE_DEPRECATEDLIST= YES # The ENABLED_SECTIONS tag can be used to enable conditional # documentation sections, marked by \if sectionname ... \endif. ENABLED_SECTIONS = # The MAX_INITIALIZER_LINES tag determines the maximum number of lines # the initial value of a variable or define consists of for it to appear in # the documentation. If the initializer consists of more lines than specified # here it will be hidden. Use a value of 0 to hide initializers completely. # The appearance of the initializer of individual variables and defines in the # documentation can be controlled using \showinitializer or \hideinitializer # command in the documentation regardless of this setting. MAX_INITIALIZER_LINES = 50 # Set the SHOW_USED_FILES tag to NO to disable the list of files generated # at the bottom of the documentation of classes and structs. If set to YES the # list will mention the files that were used to generate the documentation. SHOW_USED_FILES = YES # If the sources in your project are distributed over multiple directories # then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy # in the documentation. The default is NO. SHOW_DIRECTORIES = NO # Set the SHOW_FILES tag to NO to disable the generation of the Files page. # This will remove the Files entry from the Quick Index and from the # Folder Tree View (if specified). The default is YES. SHOW_FILES = YES # Set the SHOW_NAMESPACES tag to NO to disable the generation of the # Namespaces page. This will remove the Namespaces entry from the Quick Index # and from the Folder Tree View (if specified). The default is YES. SHOW_NAMESPACES = YES # The FILE_VERSION_FILTER tag can be used to specify a program or script that # doxygen should invoke to get the current version for each file (typically from # the version control system). Doxygen will invoke the program by executing (via # popen()) the command command input-file , where command is the value of # the FILE_VERSION_FILTER tag, and input-file is the name of an input file # provided by doxygen. Whatever the program writes to standard output # is used as the file version. See the manual for examples. FILE_VERSION_FILTER = # The LAYOUT_FILE tag can be used to specify a layout file which will be parsed by # doxygen. The layout file controls the global structure of the generated output files # in an output format independent way. The create the layout file that represents # doxygen s defaults, run doxygen with the -l option. You can optionally specify a # file name after the option, if omitted DoxygenLayout.xml will be used as the name # of the layout file. LAYOUT_FILE = #---------------------------------------------------------------------------# configuration options related to warning and progress messages#--------------------------------------------------------------------------- # The QUIET tag can be used to turn on/off the messages that are generated # by doxygen. Possible values are YES and NO. If left blank NO is used. QUIET = NO # The WARNINGS tag can be used to turn on/off the warning messages that are # generated by doxygen. Possible values are YES and NO. If left blank # NO is used. WARNINGS = YES # If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings # for undocumented members. If EXTRACT_ALL is set to YES then this flag will # automatically be disabled. WARN_IF_UNDOCUMENTED = YES # If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for # potential errors in the documentation, such as not documenting some # parameters in a documented function, or documenting parameters that # don t exist or using markup commands wrongly. WARN_IF_DOC_ERROR = YES # This WARN_NO_PARAMDOC option can be abled to get warnings for # functions that are documented, but have no documentation for their parameters # or return value. If set to NO (the default) doxygen will only warn about # wrong or incomplete parameter documentation, but not about the absence of # documentation. WARN_NO_PARAMDOC = YES # The WARN_FORMAT tag determines the format of the warning messages that # doxygen can produce. The string should contain the $file, $line, and $text # tags, which will be replaced by the file and line number from which the # warning originated and the warning text. Optionally the format may contain # $version, which will be replaced by the version of the file (if it could # be obtained via FILE_VERSION_FILTER) WARN_FORMAT = "!!$file($line) $text" # The WARN_LOGFILE tag can be used to specify a file to which warning # and error messages should be written. If left blank the output is written # to stderr. WARN_LOGFILE = DoxygenLog.txt #---------------------------------------------------------------------------# configuration options related to the input files#--------------------------------------------------------------------------- # The INPUT tag can be used to specify the files and/or directories that contain # documented source files. You may enter file names like "myfile.cpp" or # directories like "/usr/src/myproject". Separate the files or directories # with spaces. INPUT = . # This tag can be used to specify the character encoding of the source files # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is # also the default input encoding. Doxygen uses libiconv (or the iconv built # into libc) for the transcoding. See http //www.gnu.org/software/libiconv for # the list of possible encodings. INPUT_ENCODING = shift_jis # If the value of the INPUT tag contains directories, you can use the # FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp # and *.h) to filter out the source-files in the directories. If left # blank the following patterns are tested # *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx # *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py *.f90 FILE_PATTERNS = # The RECURSIVE tag can be used to turn specify whether or not subdirectories # should be searched for input files as well. Possible values are YES and NO. # If left blank NO is used. RECURSIVE = YES # The EXCLUDE tag can be used to specify files and/or directories that should # excluded from the INPUT source files. This way you can easily exclude a # subdirectory from a directory tree whose root is specified with the INPUT tag. EXCLUDE = # The EXCLUDE_SYMLINKS tag can be used select whether or not files or # directories that are symbolic links (a Unix filesystem feature) are excluded # from the input. EXCLUDE_SYMLINKS = NO # If the value of the INPUT tag contains directories, you can use the # EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude # certain files from those directories. Note that the wildcards are matched # against the file with absolute path, so to exclude all test directories # for example use the pattern */test/* EXCLUDE_PATTERNS = # The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names # (namespaces, classes, functions, etc.) that should be excluded from the # output. The symbol name can be a fully qualified name, a word, or if the # wildcard * is used, a substring. Examples ANamespace, AClass, # AClass ANamespace, ANamespace *Test EXCLUDE_SYMBOLS = # The EXAMPLE_PATH tag can be used to specify one or more files or # directories that contain example code fragments that are included (see # the \include command). EXAMPLE_PATH = # If the value of the EXAMPLE_PATH tag contains directories, you can use the # EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp # and *.h) to filter out the source-files in the directories. If left # blank all files are included. EXAMPLE_PATTERNS = # If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be # searched for input files to be used with the \include or \dontinclude # commands irrespective of the value of the RECURSIVE tag. # Possible values are YES and NO. If left blank NO is used. EXAMPLE_RECURSIVE = NO # The IMAGE_PATH tag can be used to specify one or more files or # directories that contain image that are included in the documentation (see # the \image command). IMAGE_PATH = # The INPUT_FILTER tag can be used to specify a program that doxygen should # invoke to filter for each input file. Doxygen will invoke the filter program # by executing (via popen()) the command filter input-file , where filter # is the value of the INPUT_FILTER tag, and input-file is the name of an # input file. Doxygen will then use the output that the filter program writes # to standard output. If FILTER_PATTERNS is specified, this tag will be # ignored. INPUT_FILTER = # The FILTER_PATTERNS tag can be used to specify filters on a per file pattern # basis. Doxygen will compare the file name with each pattern and apply the # filter if there is a match. The filters are a list of the form # pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further # info on how filters are used. If FILTER_PATTERNS is empty, INPUT_FILTER # is applied to all files. FILTER_PATTERNS = # If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using # INPUT_FILTER) will be used to filter the input files when producing source # files to browse (i.e. when SOURCE_BROWSER is set to YES). FILTER_SOURCE_FILES = NO #---------------------------------------------------------------------------# configuration options related to source browsing#--------------------------------------------------------------------------- # If the SOURCE_BROWSER tag is set to YES then a list of source files will # be generated. Documented entities will be cross-referenced with these sources. # Note To get rid of all source code in the generated output, make sure also # VERBATIM_HEADERS is set to NO. SOURCE_BROWSER = YES # Setting the INLINE_SOURCES tag to YES will include the body # of functions and classes directly in the documentation. INLINE_SOURCES = NO # Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct # doxygen to hide any special comment blocks from generated source code # fragments. Normal C and C++ comments will always remain visible. STRIP_CODE_COMMENTS = YES # If the REFERENCED_BY_RELATION tag is set to YES # then for each documented function all documented # functions referencing it will be listed. REFERENCED_BY_RELATION = NO # If the REFERENCES_RELATION tag is set to YES # then for each documented function all documented entities # called/used by that function will be listed. REFERENCES_RELATION = NO # If the REFERENCES_LINK_SOURCE tag is set to YES (the default) # and SOURCE_BROWSER tag is set to YES, then the hyperlinks from # functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will # link to the source code. Otherwise they will link to the documentation. REFERENCES_LINK_SOURCE = YES # If the USE_HTAGS tag is set to YES then the references to source code # will point to the HTML generated by the htags(1) tool instead of doxygen # built-in source browser. The htags tool is part of GNU s global source # tagging system (see http //www.gnu.org/software/global/global.html). You # will need version 4.8.6 or higher. USE_HTAGS = NO # If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen # will generate a verbatim copy of the header file for each class for # which an include is specified. Set to NO to disable this. VERBATIM_HEADERS = YES #---------------------------------------------------------------------------# configuration options related to the alphabetical class index#--------------------------------------------------------------------------- # If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index # of all compounds will be generated. Enable this if the project # contains a lot of classes, structs, unions or interfaces. ALPHABETICAL_INDEX = NO # If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then # the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns # in which this list will be split (can be a number in the range [1..20]) COLS_IN_ALPHA_INDEX = 5 # In case all classes in a project start with a common prefix, all # classes will be put under the same header in the alphabetical index. # The IGNORE_PREFIX tag can be used to specify one or more prefixes that # should be ignored while generating the index headers. IGNORE_PREFIX = #---------------------------------------------------------------------------# configuration options related to the HTML output#--------------------------------------------------------------------------- # If the GENERATE_HTML tag is set to YES (the default) Doxygen will # generate HTML output. GENERATE_HTML = YES # The HTML_OUTPUT tag is used to specify where the HTML docs will be put. # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `html will be used as the default path. HTML_OUTPUT = html # The HTML_FILE_EXTENSION tag can be used to specify the file extension for # each generated HTML page (for example .htm,.php,.asp). If it is left blank # doxygen will generate files with .html extension. HTML_FILE_EXTENSION = .html # The HTML_HEADER tag can be used to specify a personal HTML header for # each generated HTML page. If it is left blank doxygen will generate a # standard header. HTML_HEADER = # The HTML_FOOTER tag can be used to specify a personal HTML footer for # each generated HTML page. If it is left blank doxygen will generate a # standard footer. HTML_FOOTER = docs/hooter.html # The HTML_STYLESHEET tag can be used to specify a user-defined cascading # style sheet that is used by each HTML page. It can be used to # fine-tune the look of the HTML output. If the tag is left blank doxygen # will generate a default style sheet. Note that doxygen will try to copy # the style sheet file to the HTML output directory, so don t put your own # stylesheet in the HTML output directory as well, or it will be erased! HTML_STYLESHEET = docs/doxygen.css # If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, # files or namespaces will be aligned in HTML using tables. If set to # NO a bullet list will be used. HTML_ALIGN_MEMBERS = YES # If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML # documentation will contain sections that can be hidden and shown after the # page has loaded. For this to work a browser that supports # JavaScript and DHTML is required (for instance Mozilla 1.0+, Firefox # Netscape 6.0+, Internet explorer 5.0+, Konqueror, or Safari). HTML_DYNAMIC_SECTIONS = NO # If the GENERATE_DOCSET tag is set to YES, additional index files # will be generated that can be used as input for Apple s Xcode 3 # integrated development environment, introduced with OSX 10.5 (Leopard). # To create a documentation set, doxygen will generate a Makefile in the # HTML output directory. Running make will produce the docset in that # directory and running "make install" will install the docset in # ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find # it at startup. # See http //developer.apple.com/tools/creatingdocsetswithdoxygen.html for more information. GENERATE_DOCSET = NO # When GENERATE_DOCSET tag is set to YES, this tag determines the name of the # feed. A documentation feed provides an umbrella under which multiple # documentation sets from a single provider (such as a company or product suite) # can be grouped. DOCSET_FEEDNAME = # When GENERATE_DOCSET tag is set to YES, this tag specifies a string that # should uniquely identify the documentation set bundle. This should be a # reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen # will append .docset to the name. DOCSET_BUNDLE_ID = # If the GENERATE_HTMLHELP tag is set to YES, additional index files # will be generated that can be used as input for tools like the # Microsoft HTML help workshop to generate a compiled HTML help file (.chm) # of the generated HTML documentation. GENERATE_HTMLHELP = NO # If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can # be used to specify the file name of the resulting .chm file. You # can add a path in front of the file if the result should not be # written to the html output directory. CHM_FILE = # If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can # be used to specify the location (absolute path including file name) of # the HTML help compiler (hhc.exe). If non-empty doxygen will try to run # the HTML help compiler on the generated index.hhp. HHC_LOCATION = # If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag # controls if a separate .chi index file is generated (YES) or that # it should be included in the master .chm file (NO). GENERATE_CHI = NO # If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING # is used to encode HtmlHelp index (hhk), content (hhc) and project file # content. CHM_INDEX_ENCODING = # If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag # controls whether a binary table of contents is generated (YES) or a # normal table of contents (NO) in the .chm file. BINARY_TOC = NO # The TOC_EXPAND flag can be set to YES to add extra items for group members # to the contents of the HTML help documentation and to the tree view. TOC_EXPAND = NO # If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and QHP_VIRTUAL_FOLDER # are set, an additional index file will be generated that can be used as input for # Qt s qhelpgenerator to generate a Qt Compressed Help (.qch) of the generated # HTML documentation. GENERATE_QHP = NO # If the QHG_LOCATION tag is specified, the QCH_FILE tag can # be used to specify the file name of the resulting .qch file. # The path specified is relative to the HTML output folder. QCH_FILE = # The QHP_NAMESPACE tag specifies the namespace to use when generating # Qt Help Project output. For more information please see # http //doc.trolltech.com/qthelpproject.html#namespace QHP_NAMESPACE = # The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating # Qt Help Project output. For more information please see # http //doc.trolltech.com/qthelpproject.html#virtual-folders QHP_VIRTUAL_FOLDER = # If QHP_CUST_FILTER_NAME is set, it specifies the name of a custom filter to add. # For more information please see # http //doc.trolltech.com/qthelpproject.html#custom-filters QHP_CUST_FILTER_NAME = # The QHP_CUST_FILT_ATTRS tag specifies the list of the attributes of the custom filter to add.For more information please see # a href="http //doc.trolltech.com/qthelpproject.html#custom-filters" Qt Help Project / Custom Filters /a . QHP_CUST_FILTER_ATTRS = # The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this project s # filter section matches. # a href="http //doc.trolltech.com/qthelpproject.html#filter-attributes" Qt Help Project / Filter Attributes /a . QHP_SECT_FILTER_ATTRS = # If the GENERATE_QHP tag is set to YES, the QHG_LOCATION tag can # be used to specify the location of Qt s qhelpgenerator. # If non-empty doxygen will try to run qhelpgenerator on the generated # .qhp file. QHG_LOCATION = # The DISABLE_INDEX tag can be used to turn on/off the condensed index at # top of each HTML page. The value NO (the default) enables the index and # the value YES disables it. DISABLE_INDEX = NO # This tag can be used to set the number of enum values (range [1..20]) # that doxygen will group on one line in the generated HTML documentation. ENUM_VALUES_PER_LINE = 4 # The GENERATE_TREEVIEW tag is used to specify whether a tree-like index # structure should be generated to display hierarchical information. # If the tag value is set to FRAME, a side panel will be generated # containing a tree-like index structure (just like the one that # is generated for HTML Help). For this to work a browser that supports # JavaScript, DHTML, CSS and frames is required (for instance Mozilla 1.0+, # Netscape 6.0+, Internet explorer 5.0+, or Konqueror). Windows users are # probably better off using the HTML help feature. Other possible values # for this tag are HIERARCHIES, which will generate the Groups, Directories, # and Class Hierarchy pages using a tree view instead of an ordered list; # ALL, which combines the behavior of FRAME and HIERARCHIES; and NONE, which # disables this behavior completely. For backwards compatibility with previous # releases of Doxygen, the values YES and NO are equivalent to FRAME and NONE # respectively. GENERATE_TREEVIEW = NONE # If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be # used to set the initial width (in pixels) of the frame in which the tree # is shown. TREEVIEW_WIDTH = 6 # Use this tag to change the font size of Latex formulas included # as images in the HTML documentation. The default is 10. Note that # when you change the font size after a successful doxygen run you need # to manually remove any form_*.png images from the HTML output directory # to force them to be regenerated. FORMULA_FONTSIZE = 10 #---------------------------------------------------------------------------# configuration options related to the LaTeX output#--------------------------------------------------------------------------- # If the GENERATE_LATEX tag is set to YES (the default) Doxygen will # generate Latex output. GENERATE_LATEX = NO # The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `latex will be used as the default path. LATEX_OUTPUT = # The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be # invoked. If left blank `latex will be used as the default command name. LATEX_CMD_NAME = # The MAKEINDEX_CMD_NAME tag can be used to specify the command name to # generate index for LaTeX. If left blank `makeindex will be used as the # default command name. MAKEINDEX_CMD_NAME = # If the COMPACT_LATEX tag is set to YES Doxygen generates more compact # LaTeX documents. This may be useful for small projects and may help to # save some trees in general. COMPACT_LATEX = NO # The PAPER_TYPE tag can be used to set the paper type that is used # by the printer. Possible values are a4, a4wide, letter, legal and # executive. If left blank a4wide will be used. PAPER_TYPE = # The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX # packages that should be included in the LaTeX output. EXTRA_PACKAGES = # The LATEX_HEADER tag can be used to specify a personal LaTeX header for # the generated latex document. The header should contain everything until # the first chapter. If it is left blank doxygen will generate a # standard header. Notice only use this tag if you know what you are doing! LATEX_HEADER = # If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated # is prepared for conversion to pdf (using ps2pdf). The pdf file will # contain links (just like the HTML output) instead of page references # This makes the output suitable for online browsing using a pdf viewer. PDF_HYPERLINKS = NO # If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of # plain latex in the generated Makefile. Set this option to YES to get a # higher quality PDF documentation. USE_PDFLATEX = NO # If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. # command to the generated LaTeX files. This will instruct LaTeX to keep # running if errors occur, instead of asking the user for help. # This option is also used when generating formulas in HTML. LATEX_BATCHMODE = NO # If LATEX_HIDE_INDICES is set to YES then doxygen will not # include the index chapters (such as File Index, Compound Index, etc.) # in the output. LATEX_HIDE_INDICES = NO #---------------------------------------------------------------------------# configuration options related to the RTF output#--------------------------------------------------------------------------- # If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output # The RTF output is optimized for Word 97 and may not look very pretty with # other RTF readers or editors. GENERATE_RTF = NO # The RTF_OUTPUT tag is used to specify where the RTF docs will be put. # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `rtf will be used as the default path. RTF_OUTPUT = # If the COMPACT_RTF tag is set to YES Doxygen generates more compact # RTF documents. This may be useful for small projects and may help to # save some trees in general. COMPACT_RTF = NO # If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated # will contain hyperlink fields. The RTF file will # contain links (just like the HTML output) instead of page references. # This makes the output suitable for online browsing using WORD or other # programs which support those fields. # Note wordpad (write) and others do not support links. RTF_HYPERLINKS = NO # Load stylesheet definitions from file. Syntax is similar to doxygen s # config file, i.e. a series of assignments. You only have to provide # replacements, missing definitions are set to their default value. RTF_STYLESHEET_FILE = # Set optional variables used in the generation of an rtf document. # Syntax is similar to doxygen s config file. RTF_EXTENSIONS_FILE = #---------------------------------------------------------------------------# configuration options related to the man page output#--------------------------------------------------------------------------- # If the GENERATE_MAN tag is set to YES (the default) Doxygen will # generate man pages GENERATE_MAN = NO # The MAN_OUTPUT tag is used to specify where the man pages will be put. # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `man will be used as the default path. MAN_OUTPUT = # The MAN_EXTENSION tag determines the extension that is added to # the generated man pages (default is the subroutine s section .3) MAN_EXTENSION = # If the MAN_LINKS tag is set to YES and Doxygen generates man output, # then it will generate one additional man file for each entity # documented in the real man page(s). These additional files # only source the real man page, but without them the man command # would be unable to find the correct page. The default is NO. MAN_LINKS = NO #---------------------------------------------------------------------------# configuration options related to the XML output#--------------------------------------------------------------------------- # If the GENERATE_XML tag is set to YES Doxygen will # generate an XML file that captures the structure of # the code including all documentation. GENERATE_XML = NO # The XML_OUTPUT tag is used to specify where the XML pages will be put. # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `xml will be used as the default path. XML_OUTPUT = # The XML_SCHEMA tag can be used to specify an XML schema, # which can be used by a validating XML parser to check the # syntax of the XML files. XML_SCHEMA = # The XML_DTD tag can be used to specify an XML DTD, # which can be used by a validating XML parser to check the # syntax of the XML files. XML_DTD = # If the XML_PROGRAMLISTING tag is set to YES Doxygen will # dump the program listings (including syntax highlighting # and cross-referencing information) to the XML output. Note that # enabling this will significantly increase the size of the XML output. XML_PROGRAMLISTING = NO #---------------------------------------------------------------------------# configuration options for the AutoGen Definitions output#--------------------------------------------------------------------------- # If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will # generate an AutoGen Definitions (see autogen.sf.net) file # that captures the structure of the code including all # documentation. Note that this feature is still experimental # and incomplete at the moment. GENERATE_AUTOGEN_DEF = YES #---------------------------------------------------------------------------# configuration options related to the Perl module output#--------------------------------------------------------------------------- # If the GENERATE_PERLMOD tag is set to YES Doxygen will # generate a Perl module file that captures the structure of # the code including all documentation. Note that this # feature is still experimental and incomplete at the # moment. GENERATE_PERLMOD = NO # If the PERLMOD_LATEX tag is set to YES Doxygen will generate # the necessary Makefile rules, Perl scripts and LaTeX code to be able # to generate PDF and DVI output from the Perl module output. PERLMOD_LATEX = NO # If the PERLMOD_PRETTY tag is set to YES the Perl module output will be # nicely formatted so it can be parsed by a human reader. This is useful # if you want to understand what is going on. On the other hand, if this # tag is set to NO the size of the Perl module output will be much smaller # and Perl will parse it just the same. PERLMOD_PRETTY = NO # The names of the make variables in the generated doxyrules.make file # are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. # This is useful so different doxyrules.make files included by the same # Makefile don t overwrite each other s variables. PERLMOD_MAKEVAR_PREFIX = #---------------------------------------------------------------------------# Configuration options related to the preprocessor #--------------------------------------------------------------------------- # If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will # evaluate all C-preprocessor directives found in the sources and include # files. ENABLE_PREPROCESSING = YES # If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro # names in the source code. If set to NO (the default) only conditional # compilation will be performed. Macro expansion can be done in a controlled # way by setting EXPAND_ONLY_PREDEF to YES. MACRO_EXPANSION = NO # If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES # then the macro expansion is limited to the macros specified with the # PREDEFINED and EXPAND_AS_DEFINED tags. EXPAND_ONLY_PREDEF = NO # If the SEARCH_INCLUDES tag is set to YES (the default) the includes files # in the INCLUDE_PATH (see below) will be search if a #include is found. SEARCH_INCLUDES = YES # The INCLUDE_PATH tag can be used to specify one or more directories that # contain include files that are not input files but should be processed by # the preprocessor. INCLUDE_PATH = # You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard # patterns (like *.h and *.hpp) to filter out the header-files in the # directories. If left blank, the patterns specified with FILE_PATTERNS will # be used. INCLUDE_FILE_PATTERNS = # The PREDEFINED tag can be used to specify one or more macro names that # are defined before the preprocessor is started (similar to the -D option of # gcc). The argument of the tag is a list of macros of the form name # or name=definition (no spaces). If the definition and the = are # omitted =1 is assumed. To prevent a macro definition from being # undefined via #undef or recursively expanded use the = operator # instead of the = operator. PREDEFINED = # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then # this tag can be used to specify a list of macro names that should be expanded. # The macro definition that is found in the sources will be used. # Use the PREDEFINED tag if you want to use a different macro definition. EXPAND_AS_DEFINED = # If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then # doxygen s preprocessor will remove all function-like macros that are alone # on a line, have an all uppercase name, and do not end with a semicolon. Such # function macros are typically used for boiler-plate code, and will confuse # the parser if not removed. SKIP_FUNCTION_MACROS = YES #---------------------------------------------------------------------------# Configuration additions related to external references #--------------------------------------------------------------------------- # The TAGFILES option can be used to specify one or more tagfiles. # Optionally an initial location of the external documentation # can be added for each tagfile. The format of a tag file without # this location is as follows # TAGFILES = file1 file2 ... # Adding location for the tag files is done as follows # TAGFILES = file1=loc1 "file2 = loc2" ... # where "loc1" and "loc2" can be relative or absolute paths or # URLs. If a location is present for each tag, the installdox tool # does not have to be run to correct the links. # Note that each tag file must have a unique name # (where the name does NOT include the path) # If a tag file is not located in the directory in which doxygen # is run, you must also specify the path to the tagfile here. TAGFILES = # When a file name is specified after GENERATE_TAGFILE, doxygen will create # a tag file that is based on the input files it reads. GENERATE_TAGFILE = # If the ALLEXTERNALS tag is set to YES all external classes will be listed # in the class index. If set to NO only the inherited external classes # will be listed. ALLEXTERNALS = NO # If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed # in the modules index. If set to NO, only the current project s groups will # be listed. EXTERNAL_GROUPS = YES # The PERL_PATH should be the absolute path and name of the perl script # interpreter (i.e. the result of `which perl ). PERL_PATH = #---------------------------------------------------------------------------# Configuration options related to the dot tool #--------------------------------------------------------------------------- # If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will # generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base # or super classes. Setting the tag to NO turns the diagrams off. Note that # this option is superseded by the HAVE_DOT option below. This is only a # fallback. It is recommended to install and use dot, since it yields more # powerful graphs. CLASS_DIAGRAMS = YES # You can define message sequence charts within doxygen comments using the \msc # command. Doxygen will then run the mscgen tool (see # http //www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the # documentation. The MSCGEN_PATH tag allows you to specify the directory where # the mscgen tool resides. If left empty the tool is assumed to be found in the # default search path. MSCGEN_PATH = # If set to YES, the inheritance and collaboration graphs will hide # inheritance and usage relations if the target is undocumented # or is not a class. HIDE_UNDOC_RELATIONS = YES # If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is # available from the path. This tool is part of Graphviz, a graph visualization # toolkit from AT T and Lucent Bell Labs. The other options in this section # have no effect if this option is set to NO (the default) HAVE_DOT = YES # By default doxygen will write a font called FreeSans.ttf to the output # directory and reference it in all dot files that doxygen generates. This # font does not include all possible unicode characters however, so when you need # these (or just want a differently looking font) you can specify the font name # using DOT_FONTNAME. You need need to make sure dot is able to find the font, # which can be done by putting it in a standard location or by setting the # DOTFONTPATH environment variable or by setting DOT_FONTPATH to the directory # containing the font. DOT_FONTNAME = Tahoma # The DOT_FONTSIZE tag can be used to set the size of the font of dot graphs. # The default size is 10pt. DOT_FONTSIZE = 8 # By default doxygen will tell dot to use the output directory to look for the # FreeSans.ttf font (which doxygen will put there itself). If you specify a # different font using DOT_FONTNAME you can set the path where dot # can find it using this tag. DOT_FONTPATH = "E \Program Files\Graphviz2.22\etc\fonts\tahoma.ttf" # If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen # will generate a graph for each documented class showing the direct and # indirect inheritance relations. Setting this tag to YES will force the # the CLASS_DIAGRAMS tag to NO. CLASS_GRAPH = YES # If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen # will generate a graph for each documented class showing the direct and # indirect implementation dependencies (inheritance, containment, and # class references variables) of the class with other documented classes. COLLABORATION_GRAPH = YES # If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen # will generate a graph for groups, showing the direct groups dependencies GROUP_GRAPHS = YES # If the UML_LOOK tag is set to YES doxygen will generate inheritance and # collaboration diagrams in a style similar to the OMG s Unified Modeling # Language. UML_LOOK = YES # If set to YES, the inheritance and collaboration graphs will show the # relations between templates and their instances. TEMPLATE_RELATIONS = NO # If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT # tags are set to YES then doxygen will generate a graph for each documented # file showing the direct and indirect include dependencies of the file with # other documented files. INCLUDE_GRAPH = YES # If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and # HAVE_DOT tags are set to YES then doxygen will generate a graph for each # documented header file showing the documented files that directly or # indirectly include this file. INCLUDED_BY_GRAPH = YES # If the CALL_GRAPH and HAVE_DOT options are set to YES then # doxygen will generate a call dependency graph for every global function # or class method. Note that enabling this option will significantly increase # the time of a run. So in most cases it will be better to enable call graphs # for selected functions only using the \callgraph command. CALL_GRAPH = YES # If the CALLER_GRAPH and HAVE_DOT tags are set to YES then # doxygen will generate a caller dependency graph for every global function # or class method. Note that enabling this option will significantly increase # the time of a run. So in most cases it will be better to enable caller # graphs for selected functions only using the \callergraph command. CALLER_GRAPH = YES # If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen # will graphical hierarchy of all classes instead of a textual one. GRAPHICAL_HIERARCHY = YES # If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES # then doxygen will show the dependencies a directory has on other directories # in a graphical way. The dependency relations are determined by the #include # relations between the files in the directories. DIRECTORY_GRAPH = YES # The DOT_IMAGE_FORMAT tag can be used to set the image format of the images # generated by dot. Possible values are png, jpg, or gif # If left blank png will be used. DOT_IMAGE_FORMAT = png # The tag DOT_PATH can be used to specify the path where the dot tool can be # found. If left blank, it is assumed the dot tool can be found in the path. DOT_PATH = "../../../../Program Files/Graphviz2.22/bin" # The DOTFILE_DIRS tag can be used to specify one or more directories that # contain dot files that are included in the documentation (see the # \dotfile command). DOTFILE_DIRS = # The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of # nodes that will be shown in the graph. If the number of nodes in a graph # becomes larger than this value, doxygen will truncate the graph, which is # visualized by representing a node as a red box. Note that doxygen if the # number of direct children of the root node in a graph is already larger than # DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note # that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH. DOT_GRAPH_MAX_NODES = 30 # The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the # graphs generated by dot. A depth value of 3 means that only nodes reachable # from the root by following a path via at most 3 edges will be shown. Nodes # that lay further from the root node will be omitted. Note that setting this # option to 1 or 2 may greatly reduce the computation time needed for large # code bases. Also note that the size of a graph can be further restricted by # DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction. MAX_DOT_GRAPH_DEPTH = 5 # Set the DOT_TRANSPARENT tag to YES to generate images with a transparent # background. This is disabled by default, because dot on Windows does not # seem to support this out of the box. Warning Depending on the platform used, # enabling this option may lead to badly anti-aliased labels on the edges of # a graph (i.e. they become hard to read). DOT_TRANSPARENT = YES # Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output # files in one run (i.e. multiple -o and -T options on the command line). This # makes dot run faster, but since only newer versions of dot ( 1.8.10) # support this, this feature is disabled by default. DOT_MULTI_TARGETS = YES # If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will # generate a legend page explaining the meaning of the various boxes and # arrows in the dot generated graphs. GENERATE_LEGEND = YES # If the DOT_CLEANUP tag is set to YES (the default) Doxygen will # remove the intermediate dot files that are used to generate # the various graphs. DOT_CLEANUP = YES #---------------------------------------------------------------------------# Options related to the search engine#--------------------------------------------------------------------------- # The SEARCHENGINE tag specifies whether or not a search engine should be # used. If set to NO the values of all tags below this one will be ignored. SEARCHENGINE = YES
https://w.atwiki.jp/mynote/pages/11.html
IntelMacでPovray IntelMacではPovrayが起動時に突然終了してしまうので、UNIX版を落として来て readmeファイルにある通り ======================== Compiling and installing ======================== Basic and detailed instructions to compile and install the generic POV-Ray source code on UNIX-based systems are given in the INSTALL file. In a nutshell the package installation is based on a configure script which detects your environment automatically and adapts the compilation and installation process accordingly. Simply run % ./configure COMPILED_BY="your name email@address " # configure the package % make # build the program % su # log as root $ make install # install program + data Please consult the INSTALL file for further details. POV-Ray 3.5 was the first effort at an official version of POV-Ray using a configure script and Makefiles generated by the GNU autoconf and automake tools. In POV-Ray 3.6 the configure script and accompanying files have been completely rewritten to work with as many platforms as possible, including systems that are missing some required libraries; see below. We hope that not only Linux but many (if not all) UNIX-based platforms will benefit from the new configure script. 449 cat readme 450 ./configure 451 ./configure COMPILED_BY="xxxx xxxx@xxxx.co.jp " 452 make 453 su 454 make install ではInstallできない、Macの場合はX11でsuでrootになり、 yama07 /Users/macmini/povray$ su Password yama07 /Users/macmini/povray root#make install で〜〜/povray/unixディレクトリに[povray]ってのが できてるから、 cp povray /sw/bin でおk $povray で実行できる レタリング 作業ディレクトリに行き $ povray test.pov でレタリングしてくれる オプションとして+W,+H等がある オプション一覧?(ただのコピペ) Parsing options I name = input file name HI name = header include file name L name = library path prefix MVn.n = set compability to version n.n SU = split bounded unions if children are finite UR = remove unnecessary bounding objects Output options Hn = image height of n pixels Wn = image width of n pixels SRn|0.n = start at row n | start row at n percent of image ERn|0.n = end at row n | end row at n percent of image SCn|0.n = start at col n | start col at n percent of image ECn|0.n = end at col n | end col at n percent of image C = continue aborted trace P = pause before exit V = verbose messages on WLn = set warning level to n X[n] = enable early exit by key hit (every n pixels) Output options - display related D[xy] = display rendering (in format x, using palette option y) SPn = display mosaic preview, start grid size = 2, 4, 8, 16, ... EPn = display mosaic preview, end grid size = 2, 4, 8, 16, ... UD = draw vista rectangles Output options - file related B[n] = Use buffer (of n KB) for output file F[x] = write output file (in format x) FC - Compressed Targa with 24 or 32 bpp FN[n] - PNG (n bits/color, n = 5 to 16, default is 8) FP - PPM FS - System specific FT - Uncompressed Targa with 24 or 32 bpp O name = output file name HTx = write CPU utilization histogram in format x HTC - Comma separated values (CSV - spreadsheet) HTN - PNG grayscale HTP - PPM heightfield HTS - System specific HTT - Uncompressed TGA heightfield HTX - No histogram output HN name = histogram filename HSx.y = histogram grid number of x, y divisions Tracing options MB[n] = use bounding slabs (if more than n objects) Qn = image quality (0 = rough, 9 = full) A[0.n] = perform antialiasing (if color change is above n percent) AMn = use non-adaptive (n=1) or adaptive (n=2) supersampling J[n.n] = set antialiasing-jitter (and amount) Rn = set antialiasing-depth (use n X n rays/pixel) UA = use alpha channel UL = use light buffer UV = use vista buffer Animation options Kn.n = set frame clock to n.n KFIn = set initial frame number to n KFFn = set final frame number to n KIn.n = set initial clock value to n.n KFn.n = set final clock value to n.n SFn|0.n = start subset at frame n | start at n percent in sequence EFn|0.n = end subset at frame n | end at n percent in sequence KC = calculate clock value for cyclic animation UF = use field rendering UO = use odd lines in odd frames Redirecting options GI name = write all .INI parameters to file name Gx name = write stream x to console (and/or optional file name) GA - All streams (except status) GD - Debug stream GF - Fatal stream GR - Render stream GS - Statistics stream GW - Warning stream オプション一覧?(ちょっと通訳) Parsing options(構造オプション) I name = インプットするファイルネーム $ povray test.pov でも可能だが $ povray +I test.pov が正式? HI name = header include file name L name = いつも呼び込むライブラリがあるディレクトリパス library path prefix MVn.n = set compability to version n.n SU = split bounded unions if children are finite UR = remove unnecessary bounding objects Output options Hn = Outputイメージファイルの高さ指定image height of n pixels Wn = Outputイメージファイルの高さ指定image width of n pixels $ povray test.pov +W640 +H480 デフォルトでは幅320pix,高さ240pixになってます SRn|0.n = start at row n | start row at n percent of image ERn|0.n = end at row n | end row at n percent of image SCn|0.n = start at col n | start col at n percent of image ECn|0.n = end at col n | end col at n percent of image C = continue aborted trace P = pause before exit V = verbose messages on WLn = set warning level to n X[n] = enable early exit by key hit (every n pixels) Output options - display related D[xy] = display rendering (in format x, using palette option y) SPn = display mosaic preview, start grid size = 2, 4, 8, 16, ... EPn = display mosaic preview, end grid size = 2, 4, 8, 16, ... UD = draw vista rectangles Output options - file related B[n] = Use buffer (of n KB) for output file F[x] = write output file (in format x) FC - Compressed Targa with 24 or 32 bpp +FC 24ビットTGA圧縮ファイル $povray +FC source.pov FN[n] - PNG (n bits/color, n = 5 to 16, default is 8) +FN 24ビットPNGファイル $povray +FN[8] source.pov FP - PPM +FP 24ビットPPMファイル $povray +FP source.pov FS - System specific +FS システム標準(Windows:BMP,Mac PNG,Linux PNG)[デフォルト] $povray source.pov -これでO.K FT - Uncompressed Targa with 24 or 32 bpp +FT 24ビットTGA非圧縮ファイル $povray +FT source.pov O name = output file name HTx = write CPU utilization histogram in format x HTC - Comma separated values (CSV - spreadsheet) HTN - PNG grayscale HTP - PPM heightfield HTS - System specific HTT - Uncompressed TGA heightfield HTX - No histogram output HN name = histogram filename HSx.y = histogram grid number of x, y divisions Tracing options MB[n] = use bounding slabs (if more than n objects) Qn = image quality (0 = rough, 9 = full) A[0.n] = perform antialiasing (if color change is above n percent) AMn = use non-adaptive (n=1) or adaptive (n=2) supersampling J[n.n] = set antialiasing-jitter (and amount) Rn = set antialiasing-depth (use n X n rays/pixel) UA = use alpha channel UL = use light buffer UV = use vista buffer Animation options Kn.n = set frame clock to n.n KFIn = set initial frame number to n KFFn = set final frame number to n $ povray test.pov +KFF100 clock関数?を使った時test001.png~test100.png まで100個の静止画ファイルを作る KIn.n = set initial clock value to n.n KFn.n = set final clock value to n.n SFn|0.n = start subset at frame n | start at n percent in sequence EFn|0.n = end subset at frame n | end at n percent in sequence KC = calculate clock value for cyclic animation UF = use field rendering UO = use odd lines in odd frames Redirecting options GI name = write all .INI parameters to file name Gx name = write stream x to console (and/or optional file name) GA - All streams (except status) GD - Debug stream GF - Fatal stream GR - Render stream GS - Statistics stream GW - Warning stream LAM-MPIを使用してコンパイル、リンクしたparapovがうまく走らん(以下Error) [cfd@utmcc010 advanced]$ mpirun -np 4 povray benchmark.pov Warning Warning Could not set priority Success Could not set priority Success Persistence of Vision(tm) Ray Tracer Version 3.5 Unix (.Linux.gcc) This is an unofficial version compiled by Benajmin Goldbach benny.goldbach@t-online.de and Matthias Fueller matthias_fueller@web.de - ParaPov Version 1.0 The POV-Ray Team(tm) is not responsible for supporting this version. Copyright 1991-2002 POV-Ray Team(tm) This is Parapov V1.0, a parallel extension to povray Warning Could not set priority Success Parsing Options Input file benchmark.pov (compatible to version 3.5) Remove bounds........On Split unions........Off Library paths /usr/local/share/povray-3.5 /usr/local/share/povray-3.5/include Output Options Image resolution 320 by 240 (rows 1 to 240, columns 1 to 320). Output file benchmark.png, 24 bpp PNG Graphic display......On (type 0, palette 3, gamma 2.2) Mosaic preview......Off CPU usage histogram.Off Continued trace.....Off Allow interruption..Off Pause when done.....Off Verbose messages.....On Tracing Options Quality 9 Bounding boxes.......On Bounding threshold 3 Light Buffer.........On Vista Buffer.........On Draw Vista Buffer...Off Antialiasing........Off Animation Options Clock value.... 0.000 (Animation off) ParaPov Options Block Width.......32 Block Height......32 Client Niceness...5 Client Logging....On Redirecting Options All Streams to console.........Off Debug Stream to console.........On Fatal Stream to console.........On Render Stream to console........On Statistics Stream to console....On Warning Stream to console.......On Starting frame 0... Displaying frame 0...Xlib connection to " 0.0" refused by server Xlib No protocol specified File Init Error The display 0.0 is not a valid display, MPI_Recv process in local group is dead (rank 1, comm 3) Rank (2, MPI_COMM_WORLD) Call stack within LAM Rank (2, MPI_COMM_WORLD) - MPI_Recv() Rank (2, MPI_COMM_WORLD) - MPI_Barrier() Rank (2, MPI_COMM_WORLD) - MPI_Barrier() Rank (2, MPI_COMM_WORLD) - main() One of the processes started by mpirun has exited with a nonzero exit code. This typically indicates that the process finished in error. If your process did not finish in error, be sure to include a "return 0" or "exit(0)" in your C code before exiting the application. PID 32069 failed on node n0 (202.13.13.16) due to signal 13. MPI_Recv process in local group is dead (rank 1, SSI coll smp local comm for CID 0) Rank (3, MPI_COMM_WORLD) Call stack within LAM Rank (3, MPI_COMM_WORLD) - MPI_Recv() Rank (3, MPI_COMM_WORLD) - MPI_Bcast() Rank (3, MPI_COMM_WORLD) - MPI_Barrier() Rank (3, MPI_COMM_WORLD) - main() [cfd@utmcc010 advanced]$ date 2007年 1月 4日 木曜日 22 00 18 JST
https://w.atwiki.jp/fairstreams/pages/47.html
この記事は荒らし対策の最終手段として作成されたものです。公的秩序に反する投稿内容は削除することがございますので、ご了承下さい。また客観性を確保するため、可能な限り記事の出展元を記載してください。 Sound stream or 音のストリーム is an English education material promoted by Keizo Sakurai (桜井恵三◆aRZpjQmYwQ) Definition According to Sakurai, sound stream stands for consecutively changing sound stream , which clearly shows that the definition of the term is yet to be provided for. Thus, it should be well stated that his usage of the word, sound stream, has no apparent relationship to the term sound stream proposed by Prof. Minematsu. (The reason why the two fellows came up with the same expression should be considered as a mere coincidence.)
https://w.atwiki.jp/matchmove/pages/95.html
Merging Files and Tracks When you are working on scenarios with multiple shots or objects, you may wish to combine different SynthEyes .sni files together. For example, you may track a wide reference shot, and want to use those trackers as indirect links for several other shots. You can save the tracked reference shot, then use the File/Merge option to combine it with each of several other files. Alternatively, you can transfer 2-D or 3-D data from one file to another, in the process making a variety of adjustments to it as discussed in the second subsection. You can track a file in several different auto-track sections, and recombine them using the scripts. File/Merge After you start File/Merge and select a file to merge, you will be asked whether or not to rename the trackers as necessary, to make them unique. If the current scene has Camera01 with trackers Tracker01 to Tracker05, and the scene being merged also has Camera01 with trackers Tracker01 to Tracker05, then answering yes will result in Camera01 with Tracker01 to Tracker05 and Camera02 with Tracker06 to Tracker10. If you answer no, Camera01 will have Tracker01 to Tracker05 and Camera02 will also have (different) Tracker01 to Tracker05, which is more confusing to people than machines. As that example shows indirectly, cameras, objects, meshes, and lights are always renamed to be unique. Renaming is always done by appending a number if the incoming and current scenes both have a TrashCan, the incoming one will be renamed to TrashCan1. If you are combining a shot with a previously-tracked reference, you will probably want to keep the existing tracker names, to make it easiest to find matching ones. Otherwise, renaming them with yes is probably the least confusing unless you have a particular knowledge of the TrackerNN assignments (in which case, giving them actual names such as Scuff1 is probably best). You might occasionally track one portion of a shot in one scene file, and track a different portion of the same shot in a separate file. You can combine the scene files onto a single camera as follows Open the first shot File/Merge the second shot. Answer yes to make tracker names unique (important!) Select Camera02 from the Shot menu. Hit control-A to select all its trackers. Go to the Coordinate System Panel . Change the trackers’ host object from Camera02 to *Camera01. (The * before the camera name indicates that you are moving the tracker to a different, but compatible, shot.) Delete any moving objects, lights, or meshes attached to Camera02. Select Remove Object on the Shot menu to delete Camera02. All the trackers will now be on the single Camera01. Notice how Remove Object can be used to remove a moving object or a camera and its shot. In each case, however, any other moving objects, trackers, lights, meshes, etc, must be removed first or the Remove Object will be ignored. Tracker Data Transfer You can transfer tracking data from file to file using SynthEyes export scripts, File/Export/Export 2-D Tracker Paths, and File/Import/Import 2-D Tracker Paths. These scripts can be used to interchange with other programs that support similar tracking data formats. The scripts can be used to make a number of remedial transforms as well, such as repairing track data if the source footage is replaced with a new version that is cropped differently. The simple data format, a tracker name, frame number, horizontal and vertical positions, and an optional status code, also permits external manipulations by UNIX-style scripts and even spreadsheets. Exporting Initiate the Export 2-D Tracker Paths script, select a file, and a script-generated dialog box will appear As can be seen, it affords quite a bit of control. The first three fields control the range of frames to be exported, in this case, frames 10 from 15. The offset allows the frame number in the file to be somewhat different, for example, -10 would make the first exported frame appear to be frame zero, as if frame 10 was the start of the shot. The next four fields, two scales and two offsets, manipulate the horizontal (U) and vertical (V) coordinates. SynthEyes defines these to range from -1 to +1 and from left to right and top to bottom. Each coordinate is multiplied by its scale and then the offset added. The normal defaults are scale=1 and offset=0. The values of 0.5 and 0.5 shown rework the ranges to go from 0 to 1, as may be used by other programs. A scale of -0.5 would change the vertical coordinate to run from bottom to top, for example. The scales and offsets can be used for a variety of fixes, including changes in the source imagery. You’ll have to cook up the scale and offset on your own, though. Note that if you are writing a tracker file on SynthEyes and will then read it back in with a transform, it is easiest to write it with scale=1 and offset=0, then make changes as you read in, since if you need to try again you can retry the import, without having to reexport. Continuing with the controls, Even when missing causes a line to be output even if the tracker was not found in that frame. This permits a more accurate import, though other programs are less likely to understand the file. Similarly, the Include Outcome Codes checkbox controls whether or not a small numeric code appears on each line that indicates what was found; it permits a more accurate import, though is less likely to be understood elsewhere. The 2-D tracks box controls whether or not the raw 2-D tracking data is output; this is not necessarily mandatory, as you’ll see. The 3-D tracks box controls whether or not the 3-D path of each tracker is included―this will be the 2-D path of the solved 3-D position, and is quite smooth. In the example, 3-D paths are exported and 2-D paths are not, which is the reverse of the default. When the 3-D paths are exported, an extra Suffix for 3-D can be added to the tracker names; usually this is _3D, so that if both are output, you can tell which is which. Finally, the Extra Points box controls whether or not the 2-D paths of an extra helper points in the scene are output. Importing The File/Import/Import 2-D Tracker Paths import can be used to read the output of the 2-D exporter, or from other programs as well. The import script offers a similar set of controls to the exporter The import runs roughly in reverse of the export. The frame offset is applied to the frame numbers in the file, and only those within the selected first and last frames are stored. The scale and offset can be adjusted; by default they are 1 and 0 respectively. The values of 2 and -1 shown undo the effect of the 0.5/0.5 in the example export panel. If you are importing several different tracker data files into a single moving object or camera, you may have several different trackers all named Tracker1, for example, and after combining the files, this would be undesirable. Instead, by turning on Force unique names, each would be assigned a new unique name. Of course, if you have done supervised tracking in some different files to combine, you might well leave it off, to combine the paths together. If the input data file contains data only for frames where a tracker has been found, the tracker will still be enabled past the last valid frame. By turning on Truncate enables after last, the enable will be turned off after the last valid frame. After each tracker is read, it is locked up. You can unlock and modify it as necessary. The tracking data file contains only the basic path data, so you will probably want to adjust the tracker size, search size, etc. If you will be writing your own tracker data file for this script to import, note that the lines must be sorted so that the lines for each specific tracker are contiguous, and sorted in order of ascending frame number. This convention makes everyone s scripts easier. Also, note that the tracker names in the file never contain spaces, they will have been changed to underscores. Transferring 3-D Paths The path of a camera or object can be exported into a plain file containing a frame number, 3 positions, 3 rotations, and an optional zoom channel (field of view or focal length). Like the 2-D exporter, the File/Export/Plain Camera Path exporter provides a variety of options First Frame. First frame to export Last Frame. Last frame to export. Frame Offset. Add this value to the frame number before storing it in the file. World Scaling. Multiplies the X,Y, Z coordinates, making the path bigger or smaller. Axis Mode. Radio-buttons for Z Up; Y Up, Right; Y Up, Left. Adjust to select the desired output alignment, overriding the current SynthEyes scene setting. Rotation Order. Radio buttons XYZ or ZXY. Controls the interpretation of the 3 rotation angles in the file. Zoom Channel. Radio buttons None, Field of View, Vertical Field of View, Focal Length. Controls the 7th data channel, namely what kind of field of view data is output, if any. Look the other way. SynthEyes camera looks along the –Z axis; some systems have the camera look along +Z. Select this checkbox for those other systems. The 3-D path importer, File/Import/Camera/Object Path, has the same set of options. Though this seems redundant, it lets the importer read flexibly from other packages. If you are writing from SynthEyes and then reading the same data back in, you can leave the settings at their defaults on both export and import (unless you want to time-shift too, for example). If you are changing something, usually it is best to do it on the import, rather than the export. Writing 3-D Tracker Positions You can output the trackers’ 3-D positions using the File/Export/Plain Trackers script with these options Tracker Names. Radio buttons At beginning, At end of line, None. Controls where the tracker names are placed on each output line. The end of line option allows tracker names that contain spaces. Spaces are changed to underscores if the names are at the beginning of the line. Include Extras. If enabled, any helper points are also included in the file. World Scaling. Multiplies the coordinates to increase or decrease overall scaling. Axis Mode. Temporarily changes the coordinate system setting as selected. Reading 3-D Tracker Positions On the input side, there is an File/Import/Tracker Locations option and an File/Import/Extra Points option. Neither has any controls; they automatically detect whether the name is at the beginning or end of the line. Putting the names at the end of each line is most flexible, because then there is no problem with spaces embedded in the file name. A sample file might consist of lines such as 0 0 0 Origin 10 0 0 OnXAxis 13 -5 0 OnGroundPlane 22 10 0 AnotherGroundPlane 3 4 12 LightPole When importing trackers, the coordinates are automatically set up as a seed position on the tracker. You may want to change it to a Lock constraint as well. If a tracker of the given name does not exist, a new tracker will be created.
https://w.atwiki.jp/apache_reading/pages/25.html
/** * Open the specified file. * @param newf The opened file descriptor. * @param fname The full path to the file (using / on all systems) * @param flag Or ed value of * PRE * APR_READ open for reading * APR_WRITE open for writing * APR_CREATE create the file if not there * APR_APPEND file ptr is set to end prior to all writes * APR_TRUNCATE set length to zero if file exists * APR_BINARY not a text file (This flag is ignored on * UNIX because it has no meaning) * APR_BUFFERED buffer the data. Default is non-buffered * APR_EXCL return error if APR_CREATE and file exists * APR_DELONCLOSE delete the file after closing. * APR_XTHREAD Platform dependent tag to open the file * for use across multiple threads * APR_SHARELOCK Platform dependent support for higher * level locked read/write access to support * writes across process/machines * APR_FILE_NOCLEANUP Do not register a cleanup with the pool * passed in on the EM pool /EM argument (see below). * The apr_os_file_t handle in apr_file_t will not * be closed when the pool is destroyed. * APR_SENDFILE_ENABLED Open with appropriate platform semantics * for sendfile operations. Advisory only, * apr_socket_sendfile does not check this flag. * /PRE * @param perm Access permissions for file. * @param pool The pool to use. * @remark If perm is APR_OS_DEFAULT and the file is being created, * appropriate default permissions will be used. * @remark By default, the returned file descriptor will not be * inherited by child processes created by apr_proc_create(). This * can be changed using apr_file_inherit_set(). */ APR_DECLARE(apr_status_t) apr_file_open(apr_file_t **newf, const char *fname, apr_int32_t flag, apr_fileperms_t perm, apr_pool_t *pool);
https://w.atwiki.jp/juria/pages/76.html
Streamripper win32 console MyWiki より転記[2007-10-09][2006-05-23] 以下は ver.1.61.19 についての記述です。 (2007-10-09 時点の最新ヴァージョンは 1.62.2) http //streamripper.sourceforge.net/index.php ネットラジオを録音。(単一ファイル + cue シート、トラック別) SHOUTcast , Icecast , Tuner2 対応。AACの放送が増えましたね。 Streamripper winamp 2/5 plugin は有名ですが、敢えてコンソール版 GUI 版 StreamRipper32 は SHOUTcast のジャンル検索が可能。 ストリームの IP が 403 Forbidden になる場合は、Option の User Agentを 空白に。 コンソール版Usage 拡張子はストリーミングにより自動で付けられる(.mp3/.aac/.ogg) streamripper URL [OPTIONS] -h - Print this listing -v - Print version info and quit -a [file] - Rip to single file, default name is timestamped -A - Don t write individual tracks -d dir - The destination directory -D pattern - Write files using specified pattern %S Stream %A Artist %T Title %a Album %D Date and time (per song) %d Date and time (per execution) %q Sequence number (automatic detection) %Nq Sequence number (starting from number N) %% Percent sign("%%S/%%A/%%T") -s - Don t create a directory for each stream -r [[ip ]port] - Create relay server on base ip port, default port 8000 -R #connect - Max connections to relay, default 1, -R 0 is no limit -L file - Create a relay playlist file -z - Don t scan for free ports if base port is not avail -p url - Use HTTP proxy server at url -o always - Always overwrite tracks in complete -o never - Never overwrite tracks in complete -t - Don t overwrite tracks in incomplete -c - Don t auto-reconnect -l seconds - Number of seconds to run, otherwise runs forever -M megabytes - Stop ripping after this many megabytes -q [start] - Add sequence number to output file -i - Don t add ID3 tags to output file -u useragent - Use a different UserAgent than "Streamripper" -w rulefile - Parse metadata using rules in file. -m timeout - Number of seconds before force-closing stalled conn -k count - Skip over first count tracks before starting to rip -T - Truncate duplicated tracks in incomplete -E command - Run external command to fetch metadata --quiet - Don t print ripping status to console --debug - Save debugging trace --xs_??? - Invoke splitpoint detection rules (see README/man page) Tutorial (console) Documentation や同梱の README を参考に ストリーミングをトラック別に録音 streamripper URL ストリーミングを一つのファイルとしてリッピング、cue シートを作成 streamripper URL -a (ファイル名はタイムスタンプから付けられ、トラック別のファイルも作成される。 トラック別ファイル名は、アーティスト名 - 曲名) トラック別のファイルを作成したくない時は、-A を追加 streamripper URL -a [filename] -A 出力先フォルダを指定 streamripper URL -d /music/stream -s (-s : stream ごとにフォルダを作らない) フォルダ名やディレクトリ構成を指定したい streamripper URL -D %A/%T (-A 付加時には無効。デフォルトのフォルダ名は stream 名) 最初の n 曲をスキップしてリッピングを開始する streamripper URL -a -k n (-A 付加時には無効。) cueシートとシングルファイルは日付時刻をファイル名に。 トラック別ファイルは日付時刻名のフォルダ内に出力し、ファイル名は [連番-アーティスト名-タイトル]、1曲目をスキップ。 streamripper URL -a %d -D %d/%1q-%A-%T -k 1 -
https://w.atwiki.jp/eathena/pages/20.html
// Athena Character configuration file. // Note "Comments" are all text on the right side of a double slash "//" // Whatever text is commented will not be parsed by the servers, and serves // only as information/reference. //訳)メモ:コメントを書く際はすべてのテキストにおいて行頭にスラッシュを二つ次のように入れてください「//」 //これをすることにより、サーバーで読み込まなくなります。注釈等で使用可能です。 // // Server Communication username and password. //サーバー間通信に使われるIDおよびパスワード userid s1 passwd p1 // Server name, use alternative character such as ASCII 160 for spaces. // NOTE Do not use spaces in the name, or guild emblems won t work client-side! //サーバーの名前。不明 //メモ 名前にスペースを使わないこと。ギルドエンブレムがクライアント側で正常動作しなくなります。 server_name KlonosServer // Wisp name for server used to send wisp from server to players (between 4 to 23 characters) //サーバーの総合的な名前(?)サーバーからプレイヤーへ束(?)を送る際に使用されます wisp_server_name Server // Login Server IP // The character server connects to the login server using this IP address. // NOTE This is useful when you are running behind a firewall or are on // a machine with multiple interfaces. //ログインサーバーのIPアドレス //キャラクターサーバーはこのアドレスを使用し、ログインサーバーへ接続します。 //メモ これは貴方がファイアーウォールを使用しているか、複数の機械を使っている場合に役に立ちます。 // login_ip 127.0.0.1 // The character server listens on the interface with this IP address. // NOTE This allows you to run multiple servers on multiple interfaces // while using the same ports for each server. //bind_ip 127.0.0.1 // Login Server Port //ログインサーバーの使用するポート login_port 6900 // Character Server IP // The IP address which clients will use to connect. // Set this to what your server s public IP address is. //キャラクターサーバーのIPアドレス //このIPアドレスはクライアントが接続する際に使用されます。 //貴方のサーバーのグローバルIPをセットしてください。 char_ip klonos.ddo.jp // Character Server Port //キャラクターサーバーの使用するポート char_port 6121 //Time-stamp format which will be printed before all messages. //Can at most be 20 characters long. //Common formats // %I %M %S %p (hour minute second 12 hour, AM/PM format) // %H %M %S (hour minute second, 24 hour format) // %d/%b/%Y (day/Month/year) //For full format information, consult the strftime() manual. //タイムスタンプのフォーマット。これはすべてのメッセージに適用されます。 //最高20文字の長さまで可能です //フォーマットの例 // %I %M %S %p (時 分 秒 12時間表示) // %H %M %S (時 分 秒, 24時間表示) // %d/%b/%Y (日/月/年) //個人的メモ 下の場合、日/月/時/分表示 //timestamp_format [%d/%b %H %M] //If redirected output contains escape sequences (color codes) stdout_with_ansisequence no //Makes server output more silent by ommitting certain types of messages //1 Hide Information messages //2 Hide Status messages //4 Hide Notice Messages //8 Hide Warning Messages //16 Hide Error and SQL Error messages. //32 Hide Debug Messages //Example "console_silent 7" Hides information, status and notice messages (1+2+4) //サーバーが出力するメッセージを規制することができます //1 Informationメッセージを隠す //2 Statusメッセージを隠す //4 Noticeメッセージを隠す //8 Warningメッセージを隠す //16 Error および SQL Error メッセージを隠す //32 Debugメッセージを隠す //例 次のような場合→"console_silent 7"information, status、noticeメッセージを隠す (1+2+4) console_silent 0 // Console Commands // Allow for console commands to be used on/off // This prevents usage of log.file console off // Option to force a player to create an e-mail. // If a player have default e-mail, and if you activate this option, the player can only connect in the game (to arrive on a map) like follow // - Create at least 1 character // - Select 1 character // - Select DEL to enter his/her e-mail. (if OK is choosen, client says to the player invalid e-mail ) // - If his/her e-mail is correct, the player enter in the game (an e-mail is saved definitively). // - If his/her e-mail is incorrect, he/she have incorrect e-mail and must select again DEL. // - After entering in the game (when the player arrives on a map), DEL and SEL/OK button work normaly for all next connections. // Resume If a player have "incorrect/invalid e-mail" when he/she click on OK button, // the player must click DEL button and register his/her NEW e-mail to enter in the game // So, default is 0, because administrator must explain to their players before to activate this option. email_creation 0 // キャラクターサーバーをメンテナンスモードにするか。 // 1を入力することでメンテナンスモードに入り、GM以外接続できないようになります char_maintenance 0 // Enable or disable creation of new characters. // Now it is actually supported [Kevin] // 新しいキャラクターの作成を許可するかしないか。 // これはKevin氏によりサポートされています。 char_new 1 // Display (New) in the server list. // 新しいサーバーリストを見せるか(?) char_new_display 0 // Maximum users able to connect to the server. Set to 0 for unlimited. // サーバーに接続できる最大人数。 // 無制限にするには「0」を入力してください。 max_connect_user 0 // When set to yes, the char server will refuse connections from players already online. // When a login attempt is rejected, the account in question will be booted from all the connected map servers. // Note that this only works within the char-server and it s connected mapservers, // the charserver cannot know if the same account is logged on in other char servers. // it s safe to turn off if the char-server only has a single map-server connected to it. // yesにセットすると、キャラクターサーバーはすでにログインしているプレイヤーからの接続を拒否します。 // ログイン試行が拒否される時、問題のアカウントは、すべてのMAPサーバーから排除されます。 // Note that this only works within the char-server and it s connected mapservers, // キャラサーバーは、同じアカウントが他のキャラサーバーでログオンされるかどうかわかることができません。 // online_check yes // Minimum GM level that is allowed to bypass the server limit of users. // 接続人数制限を無視できるGMのレベル gm_allow_level 99 // How often should the server save all files? (In seconds) // Note Applies to all data files on TXT servers. // On SQL servers, it applies to guilds (character save interval is defined on the map config) // どのぐらいの時間でサーバーはsavedataを保存するか (秒単位) // Note Applies to all data files on TXT servers. // On SQL servers, it applies to guilds (character save interval is defined on the map config) autosave_time 60 // Display information on the console whenever characters/guilds/parties/pets are loaded/saved? // キャラ、ギルド、パーティー、ペットをロードまたはセーブした時にログを表示するかどうか save_log yes // Character server flatfile database // キャラクター(キャラサーバー)のセーブファイル char_txt save/athena.txt // Friends list flatfile database // 友達リストのセーブファイル friends_txt save/friends.txt // Start point, Map name followed by coordinates (x,y) // キャラ作成後降り立つMAP、.gatは必要ないようだ start_point new_1-1,53,111 // Starting weapon for new characters // 新しいキャラクターがはじめから持っている武器 start_weapon 1201 // Starting armor for new characters // 新しいキャラクターがはじめから持っている防具 start_armor 2301 // Starting zeny for new characters // 新しいキャラクターがはじめから持っているZeny start_zeny 0 // Size for the fame-lists // 名声リストのランキング数(上からアルケミ、黒スミス、テコン) fame_list_alchemist 10 fame_list_blacksmith 10 fame_list_taekwon 10 // Guild earned exp modifier. // Adjusts taxed exp before adding it to the guild s exp. For example, if set // to 200, the guild receives double the player s taxed exp. // ギルドexpの変更 // ギルドに必要なexpを変更します。たとえば200に設定すれば2倍の経験値が必要になります。 guild_exp_rate 100 // Name used for unknown characters // 存在しないキャラクターに使う名前 unknown_char_name Unknown // To log the character server? // キャラサーバーのログを残すか。 log_char 1 // Log Filename // ログのファイルの名前 char_log_filename log/char.log // Allow or not identical name for characters but with a different case (upper/lower) // example Test-test-TEST-TesT; Value 0 not allowed (default), 1 allowed name_ignoring_case no // Manage possible letters/symbol in the name of charater. Control character (0x00-0x1f) are never accepted. Possible values are // NOTE Applies to character, party and guild names. // 0 no restriction (default) // 1 only letters/symbols in char_name_letters option. // 2 Letters/symbols in char_name_letters option are forbidden. All others are possibles. char_name_option 0 // Set the letters/symbols that you want use with the char_name_option option. // Note Don t add spaces unless you mean to add space to the list. char_name_letters abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890 // Character rename option. When set to yes, the server will send an extended // char-info packet, informing whether the character can be renamed or not. // NOTE This functionality is not implemented. // NOTE This option is for compatibility with kRO sakray 2006-10-23 and newer. // !Do not use it for any other type of client since it will crash them! // キャラクター名称変更設定。 yesにセットすると、 サーバーはキャラクターに関するパケットを送信します。 // キャラクターは名称変更をできる、またはできないようになります。 // メモ この機能は以下の条件を満たしていなければ使用できません。 // メモ このオプションは kRO sakray 2006-10-23 より新しい蔵でなければ使用できません。 // これら以外の蔵では絶対に使用しないでください、クラッシュするよ! char_rename yes // How many Characters are allowed per Account ? (0 = disabled) [SQL Only!] chars_per_account 0 // Restrict character deletion by BaseLevel // 0 no restriction (players can delete characters of any level) // -X you can t delete chars with BaseLevel = X // Y you can t delete chars with BaseLevel = Y // e.g. char_del_level 80 (players can t delete characters with 80+ BaseLevel) // ベースレベルによるキャラクター削除制限 // 0 規制をかけない。 (プレイヤーはどんなレベルでもキャラを削除できます。) // -X ベースレベルがX以上にならなければ削除できない // Y ベースレベルがY以上だと削除できない // 例: char_del_level 80 (プレイヤーはレベル80以上のキャラクターを消すことができない。) char_del_level 0 // What folder the DB files are in (item_db.txt, etc.) // データベースファイ(db)のフォルダの場所 db_path db //NOTE The following online listing options are only for TXT servers. // Filename of the file which receives the online players list in text // オンラインプレイヤーのリストを受け取るファイルの名前 online_txt_filename online.txt // Filename of the file which receives the online players list, but in html version // オンラインプレイヤーのリストを受け取るファイルの名前(HTML板) online_html_filename online.html // Choose how to display online players. // (sorting operation with a lot of online players can take time on a slow computer) // 0 no sorting (default) // 1 by alphabetical order of their name // 2 by number of their zenys // 3 by their base level // 4 by their job (and job level inside the same job) // 5 by alphabetical order of their actual map location // オンラインプレーヤーを示表示する方法を選んでください。 // (sorting operation with a lot of online players can take time on a slow computer) // 0 no sorting (default) // 1 by alphabetical order of their name // 2 by number of their zenys // 3 by their base level // 4 by their job (and job level inside the same job) // 5 by alphabetical order of their actual map location online_sorting_option 0 // Choose which columns that you want display in the online files. Do the addition of these values // (if value is 0, no file is done) // 1 name (just the name, no function like GM ) // 2 job // 4 levels // 8 map name // 16 mapname and coordonates // 32 zenys // 64 name (with GM if the player is a GM) // default value 1 (only name) online_display_option 1 // minimum GM level to display GM when we want to display it (default 1) // GMがログインしているかどうかを見れるGMのレベル online_gm_display_min_level 20 // refresh time (in sec) of the html file in the explorer (default 20) online_refresh_html 20 import conf/import/char_conf.txt
https://w.atwiki.jp/pjkyt/pages/15.html
日本語 What s this? As far as I know, Android SDK has no offering of standard FileDialog as it exists for Java SE. I thought it might help to make something simple available. It s just a toy code. Feel free to do anything with it. Download What it does It works in four modes 1. Select file 2. Create file 3. Select directory 4. Create directory In mode 1 and 3, the file dialog have the user select existing file / directory. User can navigate through the file system up and down and tap on the desired the file (Figure 1). In case of selecting directory, user can press Here to specify the current directory. In mode 2 and 4, the file dialog have the user enter the new file / directory name that he wishes to create. User can navigate through the file system up and down and tap Here to designate where the file should be created (Figure 2). Then a text box dialog appears and asks for the new file / directory name (Figure 3). In case a file is selected, the text box is brought up with the selected file name filled in. How it works Here s an example code you ll find in the download package. The code inside onCreate() corresponds to the four mode explained above. The first argument is the initial directory. The second and third controls the mode. And the fourth and fifth passes the Context and FileDialogue.Listener. FileDialogue.Listener must be implemented to receive the result from FileDialogue. fd.showDialogue() launches the dialog box. When user has made selection, onSelected() is invoked with the directory and file name as an argument (filename will be "" when ). Else when user has pressed the "back" button, onCanceled() is invoked. That s it! public class FdExample extends Activity implements FileDialogue.Listener { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); // (1) Select file, starting direcotry is /sdcard/ FileDialogue fd = new FileDialogue(null, FileDialogue.FILE, FileDialogue.SELECT, this, this); // (2) Create file, starting direcotry is /sdcard/, user will be requested to enter filename // FileDialogue fd = new FileDialogue("/sdcard/picture/", FileDialogue.FILE, FileDialogue.CREATE, this, this); // (3) Select directory, starting direcotry is /sdcard // FileDialogue fd = new FileDialogue(null, FileDialogue.DIRECTORY, FileDialogue.SELECT, this, this); // (4) Create directory, starting direcotry is /sdcard/, user will be requested to enter direcotry name // FileDialogue fd = new FileDialogue(null, FileDialogue.DIRECTORY, FileDialogue.CREATE, this, this); fd.showDialogue(); } public void onSelected(String directory, String filename) { // filename will be "" when target is the FileDialogue.DIRECOTRY Log.v("FdExample", "Directory = " + directory + ", File = " + filename); } public void onCanceled() { // this is when "back" button is pressed Log.v("FdExample", "Canceled"); } } Is this as good as it gets? Actually, I had never liked the file dialog in general. It is rather tiring to use it. As it is launched, I must resolve where I am now and plan how I should travel to the objective location. It s a lot of screen interpretation, a lot of structural memory challenge, and not even a hint of joy. It it one UI scheme that abuses the weak parts of the human capability. So we have some idea going. We are thinking we can create a better alternative that can take advantage of parallel processing of visual image and geometric / chromatic memory -- human is much better at those. It will be quick to get desired location, much less stressful to use, and hopefully fun. I hope we can implement the idea quickly and make available through this wiki soon. アルバイトはじめましたd(´∀`*)グッ♪ http //www.e29.mobi/ -- (わかりません) 2012-01-05 04 12 48 名前 コメント すべてのコメントを見る
https://w.atwiki.jp/hondashi/pages/64.html
設定ファイルを使うと起動時に便利です。 自分でテキストファイルを作って、下のようにOverviewer起動時の引数で指定します。 overviewer.py --config=path/to/my_configfile 設定ファイルはPythonの構文規則に乗っています。 Pythonを知らなくても心配入りません、とてもシンプルです。 以下のサンプルに従うだけです。 シンプルな例 worlds["My world"] = "/home/username/server/world" renders["normalrender"] = { "world" "My world", "title" "Normal Render of My World", } outputdir = "/home/username/mcmap" この記述では、一つのワールドから一つレンダリングします。 2つのセクションが見てわかると思います。 ※予備知識:下に出てくる"dictionary"(辞書、ディクショナリ)とはPythonで使われるオブジェクトのこと。 詳しく知りたい人はググるべし。 https //www.google.co.jp/search?q=Python+dictionary 文字数少ないので以下"辞書"で The worlds dictionary ここではworlds辞書で"My world"にワールドデータのパス(level.datがあるディレクトリ)を指定してます。 "My world"というキーは好きなものに変えても大丈夫です。変数みたいなものですね。 後でrenders辞書のところで使うことになります。 ネザーや複数ワールドがある場合は複数のworlds辞書を記述する必要があります。 The renders dictionary renders辞書では一つのワールドから一つのディメンジョンをオプションを与えてレンダリングします。 renders辞書を複数記述すると、出来上がったマップを見た時にドロップボックスで選ぶ事ができるようになります。 複数のワールドをレンダリングしたり、同じワールドを違うオプションを付けてレンダリングしたりできます。 ちょっと複雑な例 worlds["survival"] = "/home/username/server/survivalworld" worlds["creative"] = "/home/username/server/creativeworld" renders["survivalday"] = { "world" "survival", "title" "Survival Daytime", "rendermode" smooth_lighting, "dimension" "overworld", } renders["survivalnight"] = { "world" "survival", "title" "Survival Nighttime", "rendermode" smooth_night, "dimension" "overworld", } renders["survivalnether"] = { "world" "survival", "title" "Survival Nether", "rendermode" nether_smooth_lighting, "dimension" "nether", } renders["creative"] = { "world" "creative", "title" "Creative", "rendermode" smooth_lighting, "dimension" "overworld", } outputdir = "/home/username/mcmap" texturepath = "/home/username/my_texture_pack.zip" この例では4つのマップをレンダリングします。 サバイバルの通常ワールドの昼夜、同ワールドのネザー、クリエイティブモードワールドの4つです。 それぞれディメンジョンを明示的に設定しています。 もし設定しなければデフォルトで通常ワールド(overworld)が使われます。 例えばネザーをレンダリングする時は必要になります。 また、rendermodeも違ったものを指定しています。 rendermodeとはどのようにレンダリングするかです。 Overviewerは様々な方法でレンダリング出来、沢山のプリセットがあります。 modeを任意で作成することもできます。 最後に、texturepathオプションを使っていますね。 レンダリングに使うテクスチャパックを指定します。 設定ファイル内の最上位で指定していることに注目、こうすることで全てのレンダリングに適用できます。 それぞれのrendersの中で指定することで、個別に指定することもできます。 動的な設定ファイル 動的にパラメータを取得できると便利です。 例えば、定期的に日付フォルダにバックアップを取りたい場合、その都度設定を変えなくても良い書き方があります。 下の例のように、環境変数を使うことで簡単に日付を取得出来ます。 この例はbashスクリプトからOverviewerを呼び出していますが、その他のシェルスクリプトや言語でも可能です。 起動用のbashスクリプト #!/bin/bash ## Add these lines to your bash script # Setting up an environment variable that child processes will inherit. # In this example, the map s path is not static and depends on the # previously set $timestamp var. MYWORLD_DIR=/path/to/map/backup/$timestamp/YourWorld export MYWORLD_DIR # Running the Overviewer overviewer.py --config=/path/to/yourConfig.py 設定ファイルyourConfig.pyの中身 ## A config file example # Importing the os python module import os # Retrieving the environment variable set up by the bash script worlds["My world"] = os.environ[ MYWORLD_DIR ] renders["normalrender"] = { "world" "My world", "title" "Normal Render of My World", } outputdir = "/home/username/mcmap" 設定ファイルの書式 設定ファイルはPythonのexecfile()で読み込めるような書式であれば、どんな処理を入れても構いません。 実行時に幾つかの(overviewer_core.rendermodesモジュールで定義された)ローカル辞書を与えます。 上のことがよく分からなければ、"key = value"という書式だけ覚えておけば良いです。 2つだけ違う書式のものがあり、"worlds"と"renders"です。 worlds 事前に空(から)の辞書として定義されていて、少なくとも1つ設定しなければなりません。 worldのパス(level.datのあるディレクトリ)を指定し、renders辞書で使用します。 例 worlds[ myworld ] = "/path/to/myworld" 少なくとも一つワールドを指定しなければなりません renders 事前に空(から)の辞書として定義されていて、少なくとも1つ設定しなければなりません。 Key(下の例の myrender )はjavascriptでレンダリングするときの識別子、及びタイルファイルを作るフォルダ名になり、設定必須です。 そのため、文字列はスペースや特殊文字無しのアルファベットのみにすべきです。 Valueはレンダリングの設定を決めます。 設定名 設定値,設定名; 設定値,… keyとvalueは下のレンダー辞書キーのセクションで。 例 renders[ myrender ] = { world myworld , title Minecraft Server Title , } 少なくとも一つレンダーを指定しなければなりません outputdir = " output directory path " レンダリングした画像を出力するディレクトリです 例 outputdir = "/path/to/output" 必須 processes = num_procs レンダリング時に動作するCPUコア数を指定する、指定しなければ全部使おうとする 起動時の--processes,-p オプションでも指定可 例 processes = 2 observer = observer object レンダリングの過程をどのように報告するかを設定します。 デフォルトで、プログレスバーを表示し、Windows以外では標準エラー出力をファイルにリダイレクトします。 大抵の人はデフォルトでOKですが、(Webサービス等のために)独自の報告を出したい人は特定のオブザーバを指定しましょう。 もし手動でオブザーバを指定したければ下のように記述してみましょう from observer import ProgressBarObserver() observer = ProgressBarObserver() 利用できるオブザーバには以下の3つの種類があります。 LoggingObserver 標準的で古いスタイルの出力で、出力をファイルにリダイレクトした時やWindowsで起動した時のデフォルトです。 ProgressBarObserver ターミナルで起動時のデフォルトで、テキストベースのプログレスバーや状態を表示します。 JSObserver(outputdir[, minrefresh][, messages]) 画面の右下に出力過程を表示します。 outputdir=" output_directory_path"Overviewerの出力ディレクトリです。outputdirと書いておいて、あとでoutputdir = " output directory path "と1行書くのがシンプルです。必須 minrefresh= seconds 情報をファイルに書き込んだり、ブラウザからリクエストされる最小の間隔 messages=dict(totalTiles= string ,renderCompleted= string ,renderProgress= string )表示されるメッセージをカスタムする。3つのメッセージは以下のように定義されてます。totalTiles="Rendering %d tiles" dにはレンダリング済みのタイル数が代入されます。 renderCompleted="Render completed in %02d %02d %02d" レンダリングにどれだけ時間がかかるか。代入値は順に時間・分・秒 renderProgress="Rendered %d of %d tiles (%d%%)" 順にレンダリング済みタイル数、総タイル数、完成割合(単位%) %dや%02dの書き方を詳しく知りたい人は 公式のドキュメント String Formatting Operations(英語)や "Python フォーマット"でググるを見てみて下さい from observer import JSObserver observer = JSObserver(outputdir, 10) customwebassets = " path to custom web assets " 出力ディレクトリにコピーするweb assetsのあるディレクトリを指定できます 指定したディレクトリの全てのファイルでデフォルトファイルを上書きします。 もしindex.htmlをカスタムした場合、下のものは置き換えられます {title}は Minecraft Overviewer {time}はレンダリングした日付と時刻に。例 Sun, 12 Aug 2012 15 25 40 BST {version}はOverviewerのバージョンに。例 0.9.276 (5ff9c50) レンダー辞書のキー レンダー辞書は設定キーに値を入れる辞書です。以下、設定キーを解説していきます。 注 すべてのキーは最上位の階層に記述することで全てのレンダーのデフォルトにすることができます。 例えば下の行を最上位に書くことで、すべてのレンダーで myworld を使用します。 world = myworld また、改めてworldを指定する必要がなくなります。 render[ arender ] = { title This render doesn t explicitly declare a world! , } world どのワールドをレンダリングするかをしていします。 ワールド辞書で指定した文字列を使いましょう。 必須 title 出来上がったマップ右上に表示される名前です。 複数レンダリングする場合はどんなマップなのかわかりやすい名前をつけると良いでしょう。 必須 dimension ワールドのどのディメンジョンをレンダリングするか指定します。 Minecraftではデフォルトで3つのディメンジョンがあります、Overworld(通常世界)、Nether(ネザー)、End(エンド)。 Bukkit鯖なら少し複雑になるでしょうが、通常はディメンジョンは1つなので、このオプションは無視して構いません。 この値は、次の3つのうちのどれか"overworld","nether","end"、もしくはディメンジョンのデータが入ってるフォルダ名(例"DIM-1")です。 注 もしネザーを選んだ場合はネザーのrendermodeにしなければなりません。そうしないとネザーの天井がレンダリングされます。 デフォルト "overworld" rendermode レンダーモードをたくさんある中から指定します。 値はレンダーモードオブジェクトだったり、文字列だったりします。 例 "rendermode" "normal", "normal"ライティング無しの普通のレンダリング。一番速いオプション。 "lighting"ブロッキーライティング有り。normalよりちょっと遅い。ゲーム内のスムーズライティング無しのと同じように見える "smooth_lighting"スムーズライティング有り。一番綺麗だけど遅い。ゲーム内のスムーズライティング有りのと同じように見える "night"夜間をブロッキーライティングでレンダリング。 "smooth_night"夜間をスムーズライティングでレンダリング。 "nether"ネザー用のノーマルライティングでレンダリング。ネザー以外のディメンジョンにも適用可能。normalと違う点は天井が剥がされて内部が見えるようになります。 注.レンダーモードをnetherにしたからといって、ネザーをレンダリングするわけではありません。 きちんとdimensionオプションで nether と指定しましょう。 "nether_lighting"ネザー用のブロッキーライティング。 "nether_smooth_lighting"ネザー用のスムーズライティング。 "cave"深さごとにブロックを色分けしてレンダリング。 デフォルト "normal" northdirection 北をどちらに向けてレンダリングするか。 以下の4つの値があります "upper-left" "upper-right" "lower-left" "lower-right" 順に左上、右上、左下、右下 デフォルト "upper-left" rerenderprob タイル内でブロックの変化がない場合にも再レンダリングされる確率 値は0から1の浮動小数点数でなければならない。 (追記 0から増やすメリットが分からない) デフォルト 0 imgformat タイルに使う画像のフォーマット。使えるのは"png","jpg","jpeg" デフォルト "png" imgquality タイルをJPEGで保存する場合の圧縮率(画質)。0から100の整数。 大きいほど、ノイズが減る・画質が上がるが、ファイルサイズが増える。 デフォルト 95 optimizeimg このオプションを使うと、別のツールをつかてpng画像を最適化してファイルサイズを小さくできます。 pngcrushとadvdefというソフトで、詳しい事はgoogleで http //www.google.co.jp/search?q=pngcrush http //www.google.co.jp/search?q=AdvanceCOMP+advdef (advdefの方はAdvanceCOMPという圧縮ソフト集みたいなモノの中の一つらしい) それぞれ、環境変数PATHの通ったとkろおや、/usr/binみたいな所に置かないとダメです。 値として、0;使わない 1 pngcrushを使う 2 advdefを使う 3;両方使う(非推奨) 使用することで、レンダリングに時間がかかるようになりますが、画質そのままでサイズが小さくなります。 デフォルト 0 bgcolor マップの背景色を設定します。 値はHTMLで使われている表記法か4組の(RGBA)表記法です。アルファチャンネルは0であるべきです。 デフォルト #1a1a1a defaultzoom マップを開いた時の拡大率です。0より大きくなければなりません。 デフォルト 1 base タイルのフォルダをリモートに設定します。マップ画像をリモートサーバに同期させる場合に便利です。 指定する場合タイルのフォルダまでを指定するのではなく、一つ上の階層を指定する。 例 "http //domain.com/map/world_day/"ではなく"http //domain.com/map/" texturepath レンダリングに使用するテクスチャパックを指定します。 フォルダかzipファイルを指定する。 crop 座標を設定して一定の範囲のみレンダリングすることができます。 書式は(min x, min z, max x, max z) 数値は、ゲーム内のF3キーで見られる座標です。 例えば(0,0)を中心に1000x1000の範囲だけレンダリングしたい場合は renders[ myrender ] = { world myworld , title "Cropped Example", crop (-500, -500, 500, 500), } このオプションの使い所といえば、誰かが遠出しすぎて不要な場所があったり、 小さい範囲を複数アングルでレンダリングしたりするときにに便利です。 +注 一度crop使ってレンダリングしてから、範囲変えて上書きはしない方がいい。みたいなこと書いてるけど省略 If you decide to change the bounds on a render, you may find it produces unexpected results. It is recommended to not change the crop settings once it has been rendered once. For an expansion to the bounds, because chunks in the new bounds have the same mtime as the old, tiles will not automatically be updated, leaving strange artifacts along the old border. You may need to use --forcerender to force those tiles to update. (You can use the forcerender option on just one render by adding forcerender True to that render’s configuration) For reductions to the bounds, you will need to render your map at least once with the --check-tiles mode activated, and then once with the --forcerender option. The first run will go and delete tiles that should no longer exist, while the second will render the tiles around the edge properly. Also see this faq entry. Sorry there’s no better way to handle these cases at the moment. It’s a tricky problem and nobody has devoted the effort to solve it yet. forcerender 値はboolean(trueかfalse) trueだと(というかfalse以外を書くと)更新が必要でなくても、無条件で再レンダリングされます。 ~ --forcerenderコマンドラインオプションと似てますが、こちらは設定ファイル内で複数レダリングする場合 すべて再レンダリングされ、無駄ができてしまいます。 forcerender Trueを一つだけに記述することで、それのみ強制再レンダリングし、残りは更新があった所のみになります。 このオプションは基本的にはつけたままにはせず、新しい設定にしてレンダリングし直したい時などに付けて、 終わったら外しておきます。そうしないと無駄が大きいです。 例 renders[ myrender ] = { world myworld , title "Forced Example", forcerender True, } changelist 文字列を設定し、そのファイル名ででテキストファイル出力します。 ファイルは更新のあった画像のリストとなっており、1行に1つづつファイルパスが記述されています。 複数のレンダーで同じファイルに出力することも可能です。 このファイルはOverviewerが起動されるたびにまっさらになります。 これは、ローカルでレンダリングしてアップロードするときなど、更新のある画像だけを扱いたい時に便利です。 markers マーカーや看板、面白そうなポイントを表示するのに使います。 値は辞書リストです。 注:詳しくはSigns and markersのセクションで デフォルト [](設定なし) poititle POI/マーカーのドロップダウンメニューの表示名を設定します。 デフォルト "Signs" overlay どのレンダーの上に重ねて表示するかを設定できます。 例えばA,B,Cとrenderがあって、Cのoverlayに["A","B"]とすると、AとBのマップをブラウザで見てる時に、 Overlaysというメニューが右上に出て、Cを重ねて見ることが出来る。 C単体では見られなくなる。 デフォルト;[](設定なし) showspawn 値はbooleanで、デフォルトはTrue。 Falseにすると初期スポーンエリアを示すアイコンが表示されなくなる。