application_interfaces.htm
来自「acis说明文档」· HTM 代码 · 共 226 行 · 第 1/2 页
HTM
226 行
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Application Interfaces,Deriving Classes,Scheme Interface,Options,Attributes,Topology,Functions,Classes,Geometry,ACIS" /> <link rel="shortcut icon" href="/favicon.ico" /> <link rel="search" type="application/opensearchdescription+xml" href="/r18/opensearch_desc.php" title="DocR18 (English)" /> <link title="Creative Commons" type="application/rdf+xml" href="/r18/index.php?title=Application_Interfaces&action=creativecommons" rel="meta" /> <title>Application Interfaces - DocR18</title>
<style type="text/css" media="screen, projection">/*<![CDATA[*/
@import "/r18/skins/common/shared.css?97";
@import "/r18/skins/monobook/main.css?97";
/*]]>*/</style>
<link rel="stylesheet" type="text/css" media="print" href="/r18/skins/common/commonPrint.css?97" />
<!--[if lt IE 5.5000]><style type="text/css">@import "/r18/skins/monobook/IE50Fixes.css?97";</style><![endif]-->
<!--[if IE 5.5000]><style type="text/css">@import "/r18/skins/monobook/IE55Fixes.css?97";</style><![endif]-->
<!--[if IE 6]><style type="text/css">@import "/r18/skins/monobook/IE60Fixes.css?97";</style><![endif]-->
<!--[if IE 7]><style type="text/css">@import "/r18/skins/monobook/IE70Fixes.css?97";</style><![endif]-->
<!--[if lt IE 7]><script type="text/javascript" src="/r18/skins/common/IEFixes.js?97"></script>
<meta http-equiv="imagetoolbar" content="no" /><![endif]-->
<script type= "text/javascript">/*<![CDATA[*/var skin = "monobook";var stylepath = "/r18/skins";var wgArticlePath = "/r18/index.php/$1";var wgScriptPath = "/r18";var wgScript = "/r18/index.php";var wgServer = "http://doc.spatial.com";var wgCanonicalNamespace = "";var wgCanonicalSpecialPageName = false;var wgNamespaceNumber = 0;var wgPageName = "Application_Interfaces";var wgTitle = "Application Interfaces";var wgAction = "view";var wgRestrictionEdit = ["sysop"];var wgRestrictionMove = ["sysop"];var wgArticleId = "435";var wgIsArticle = true;var wgUserName = null;var wgUserGroups = null;var wgUserLanguage = "en";var wgContentLanguage = "en";var wgBreakFrames = false;var wgCurRevisionId = "1127";/*]]>*/</script>
<script type="text/javascript" src="/r18/skins/common/wikibits.js?97"><!-- wikibits js --></script>
<script type="text/javascript" src="/r18/index.php?title=-&action=raw&gen=js&useskin=monobook"><!-- site js --></script>
<style type="text/css">/*<![CDATA[*/@import "/r18/index.php?title=MediaWiki:Common.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=18000";@import "/r18/index.php?title=MediaWiki:Monobook.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=18000";@import "/r18/index.php?title=-&action=raw&gen=css&maxage=18000";/*]]>*/</style>
<!-- Head Scripts -->
<script type="text/javascript" src="/r18/skins/common/ajax.js?97"></script> </head>
<body class="mediawiki ns-0 ltr page-Application_Interfaces">
<div id="globalWrapper">
<div id="column-content">
<div id="content">
<a name="top" id="top"></a>
<h1 class="firstHeading">Application Interfaces</h1>
<div id="bodyContent">
<h3 id="siteSub">From DocR18</h3>
<div id="contentSub"></div>
<div id="jump-to-nav">Jump to: <a href="#column-one">navigation</a>, <a href="#searchInput">search</a></div> <!-- start content -->
<p>This section discusses the various <b>Application Interfaces</b> provided with ACIS. Most <a href="/r18/index.php?title=ACIS&action=edit" class="new" title="ACIS">ACIS</a>-based applications are developed in C++. However, applications can also be developed via the <a href="/r18/index.php?title=Scheme_Interface&action=edit" class="new" title="Scheme Interface">Scheme Interface</a>. C++ applications for Microsoft Windows platforms may also take advantage of the ACIS interface to <a href="http://en.wikipedia.org/wiki/Microsoft_Foundation_Class_Library" class="external text" title="http://en.wikipedia.org/wiki/Microsoft_Foundation_Class_Library" rel="nofollow">Microsoft Foundation Classes</a> (MFC).</p><p>C++ applications interface to ACIS through the Application Procedural Interface (API) and supporting C++ classes (<a href=/r18/qref/ACIS/html/modules.html class="external text"> ACIS Modules</a>), and, in some cases, Direct Interface (DI) functions. Developers may also extend ACIS by creating their own APIs and classes.</p><p>As the following figure illustrates, a C++ application is built on top of ACIS, interfacing to the modeler via APIs, classes, and DIs.</p><div class="center"><div class="thumb tnone"><div class="thumbinner" style="width:182px;"><a href="/r18/index.php/Image:SPAget_iface_image002.gif" title="Image:SPAget iface image002.gif">Image:SPAget iface image002.gif</a> <div class="thumbcaption">C++ Application Interface to ACIS</div></div></div></div><table id="toc" class="toc" summary="Contents"><tr><td><div id="toctitle"><h2>Contents</h2></div><ul><li class="toclevel-1"><a href="#Functions"><span class="tocnumber">1</span> <span class="toctext">Functions</span></a></li><li class="toclevel-1"><a href="#Classes"><span class="tocnumber">2</span> <span class="toctext">Classes</span></a></li><li class="toclevel-1"><a href="#Scheme_Interface"><span class="tocnumber">3</span> <span class="toctext">Scheme Interface</span></a></li><li class="toclevel-1"><a href="#Options"><span class="tocnumber">4</span> <span class="toctext">Options</span></a></li><li class="toclevel-1"><a href="#Attributes"><span class="tocnumber">5</span> <span class="toctext">Attributes</span></a></li></ul></td></tr></table><script type="text/javascript"> if (window.showTocToggle) { var tocShowText = "show"; var tocHideText = "hide"; showTocToggle(); } </script><a name="Functions"></a><h2> <span class="mw-headline">Functions</span></h2><dl><dd><span class="boilerplate seealso"><i>Main article: <a href="/r18/index.php?title=Functions&action=edit" class="new" title="Functions">Functions</a></i></span></dd></dl><p><br /></p><a name="Classes"></a><h2> <span class="mw-headline"> Classes </span></h2><dl><dd><span class="boilerplate seealso"><i>Main article: <a href="/r18/index.php?title=Classes&action=edit" class="new" title="Classes">Classes</a></i></span></dd></dl><p>The class interface is a set of C++ classes that are used to define the ACIS model <a href="/r18/index.php?title=Geometry&action=edit" class="new" title="Geometry">geometry</a>, <a href="/r18/index.php?title=Topology&action=edit" class="new" title="Topology">topology</a>, and other characteristics. The classes may be used by an application to directly interact with ACIS through their public and protected data members and methods (member functions). <i>Refer to the class summaries and reference templates for a complete list of all classes and a detailed description of each</i>.</p><p>The <a href=/r18/qref/ACIS/html/classENTITY.html class="external text">ENTITY class</a> is a base class from which many ACIS classes are derived. It implements common data and functionality that is mandatory in all classes that are permanent objects in the model, although ENTITY does not itself represent any specific object. The ATTRIB class, which is derived from ENTITY, is used to derive specific attribute classes for system and user <a href="/r18/index.php?title=Attributes&action=edit" class="new" title="Attributes">attributes</a>.</p><p>Developers may also derive application-specific classes from the ACIS classes for special purposes. (See also <a href="/r18/index.php?title=Deriving_Classes&action=edit" class="new" title="Deriving Classes">Deriving Classes</a>).</p><a name="Scheme_Interface"></a><h2> <span class="mw-headline"> Scheme Interface </span></h2><dl><dd><span class="boilerplate seealso"><i>Main article: <a href="/r18/index.php?title=Scheme_Interface&action=edit" class="new" title="Scheme Interface">Scheme Interface</a></i></span></dd></dl><p>Scheme is an interpretive, public domain language, derived from LISP, that provides rapid and easy prototyping capabilities. Unlike many interpretive languages, it runs very efficiently. Most developers who use Scheme find little or no need to translate their Scheme code into C++ or another compiled language.</p><a name="Options"></a><h2> <span class="mw-headline"> Options </span></h2><dl><dd><span class="boilerplate seealso"><i>Main article: <a href="/r18/index.php?title=Options&action=edit" class="new" title="Options">Options</a></i></span></dd></dl><p>Options are global variables that may be used to modify the behavior of ACIS. Options are documented in reference templates in online help.</p><a name="Attributes"></a><h2> <span class="mw-headline"> Attributes </span></h2><dl><dd><span class="boilerplate seealso"><i>Main article: <a href="/r18/index.php?title=Attributes&action=edit" class="new" title="Attributes">Attributes</a></i></span></dd></dl><p>Attributes are a specialized type of entity used to attach data to entities; any entity may have zero or more attributes. Attributes can carry simple data, pointers to other entities, or links to application specific variable length data. ACIS uses many system attributes, but applications may also define their own attributes.</p><!-- Tidy found serious XHTML errors --><!-- Pre-expand include size: 1858 bytesPost-expand include size: 566 bytesTemplate argument size: 196 bytesMaximum: 2097152 bytes
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?