Skip to content

Commit

Permalink
nightly update
Browse files Browse the repository at this point in the history
  • Loading branch information
Kitware Robot committed Sep 20, 2024
1 parent c591afd commit 7c1a80e
Show file tree
Hide file tree
Showing 17 changed files with 2,681 additions and 2,681 deletions.
106 changes: 53 additions & 53 deletions site/Cxx/Developers/AlgorithmFilter/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,59 +84,6 @@

<span class=w> </span><span class=k>return</span><span class=w> </span><span class=n>EXIT_SUCCESS</span><span class=p>;</span>
<span class=p>}</span>
</code></pre></div> <p><strong>vtkTest.cxx</strong></p> <div class=codehilite><pre><span></span><code><span class=cp>#include</span><span class=w> </span><span class=cpf>&quot;vtkTest.h&quot;</span>

<span class=hll><span class=cp>#include</span><span class=w> </span><span class=cpf>&lt;vtkObjectFactory.h&gt;</span>
</span>
<span class=n>vtkStandardNewMacro</span><span class=p>(</span><span class=n>vtkTest</span><span class=p>);</span>

<span class=n>vtkTest</span><span class=o>::</span><span class=n>vtkTest</span><span class=p>()</span>
<span class=p>{</span>
<span class=w> </span><span class=k>this</span><span class=o>-&gt;</span><span class=n>Value</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=mf>0.0</span><span class=p>;</span>
<span class=p>}</span>

<span class=n>vtkTest</span><span class=o>::~</span><span class=n>vtkTest</span><span class=p>()</span>
<span class=p>{</span>
<span class=p>}</span>

<span class=hll><span class=kt>void</span><span class=w> </span><span class=n>vtkTest</span><span class=o>::</span><span class=n>PrintSelf</span><span class=p>(</span><span class=n>ostream</span><span class=o>&amp;</span><span class=w> </span><span class=n>os</span><span class=p>,</span><span class=w> </span><span class=n>vtkIndent</span><span class=w> </span><span class=n>indent</span><span class=p>)</span>
</span><span class=p>{</span>
<span class=w> </span><span class=k>this</span><span class=o>-&gt;</span><span class=n>Superclass</span><span class=o>::</span><span class=n>PrintSelf</span><span class=p>(</span><span class=n>os</span><span class=p>,</span><span class=w> </span><span class=n>indent</span><span class=p>);</span>
<span class=p>}</span>

<span class=hll><span class=kt>void</span><span class=w> </span><span class=n>vtkTest</span><span class=o>::</span><span class=n>ShallowCopy</span><span class=p>(</span><span class=n>vtkDataObject</span><span class=o>*</span><span class=w> </span><span class=n>t</span><span class=p>)</span>
</span><span class=p>{</span>
<span class=w> </span><span class=n>vtkTest</span><span class=o>*</span><span class=w> </span><span class=n>m</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=k>dynamic_cast</span><span class=o>&lt;</span><span class=n>vtkTest</span><span class=o>*&gt;</span><span class=p>(</span><span class=n>t</span><span class=p>);</span>
<span class=w> </span><span class=k>this</span><span class=o>-&gt;</span><span class=n>Value</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=n>m</span><span class=o>-&gt;</span><span class=n>GetValue</span><span class=p>();</span>
<span class=p>}</span>
</code></pre></div> <p><strong>vtkTest.h</strong></p> <div class=codehilite><pre><span></span><code><span class=cp>#ifndef __vtkTest_h</span>
<span class=cp>#define __vtkTest_h</span>

<span class=hll><span class=cp>#include</span><span class=w> </span><span class=cpf>&lt;vtkDataObject.h&gt;</span>
</span>
<span class=hll><span class=k>class</span><span class=w> </span><span class=nc>vtkTest</span><span class=w> </span><span class=o>:</span><span class=w> </span><span class=k>public</span><span class=w> </span><span class=n>vtkDataObject</span>
</span><span class=p>{</span>
<span class=k>public</span><span class=o>:</span>
<span class=w> </span><span class=k>static</span><span class=w> </span><span class=n>vtkTest</span><span class=o>*</span><span class=w> </span><span class=n>New</span><span class=p>();</span>
<span class=hll><span class=w> </span><span class=n>vtkTypeMacro</span><span class=p>(</span><span class=n>vtkTest</span><span class=p>,</span><span class=w> </span><span class=n>vtkDataObject</span><span class=p>);</span>
</span><span class=hll><span class=w> </span><span class=kt>void</span><span class=w> </span><span class=nf>PrintSelf</span><span class=p>(</span><span class=n>ostream</span><span class=o>&amp;</span><span class=w> </span><span class=n>os</span><span class=p>,</span><span class=w> </span><span class=n>vtkIndent</span><span class=w> </span><span class=n>indent</span><span class=p>)</span><span class=w> </span><span class=k>override</span><span class=p>;</span>
</span><span class=hll><span class=w> </span><span class=kt>void</span><span class=w> </span><span class=nf>ShallowCopy</span><span class=p>(</span><span class=n>vtkDataObject</span><span class=o>*</span><span class=w> </span><span class=n>t</span><span class=p>)</span><span class=w> </span><span class=k>override</span><span class=p>;</span>
</span>
<span class=w> </span><span class=n>vtkGetMacro</span><span class=p>(</span><span class=n>Value</span><span class=p>,</span><span class=w> </span><span class=kt>double</span><span class=p>);</span>
<span class=w> </span><span class=n>vtkSetMacro</span><span class=p>(</span><span class=n>Value</span><span class=p>,</span><span class=w> </span><span class=kt>double</span><span class=p>);</span>

<span class=k>protected</span><span class=o>:</span>
<span class=w> </span><span class=n>vtkTest</span><span class=p>();</span>
<span class=w> </span><span class=o>~</span><span class=n>vtkTest</span><span class=p>();</span>

<span class=k>private</span><span class=o>:</span>
<span class=w> </span><span class=n>vtkTest</span><span class=p>(</span><span class=k>const</span><span class=w> </span><span class=n>vtkTest</span><span class=o>&amp;</span><span class=p>);</span><span class=w> </span><span class=c1>// Not implemented.</span>
<span class=w> </span><span class=kt>void</span><span class=w> </span><span class=k>operator</span><span class=o>=</span><span class=p>(</span><span class=k>const</span><span class=w> </span><span class=n>vtkTest</span><span class=o>&amp;</span><span class=p>);</span><span class=w> </span><span class=c1>// Not implemented.</span>

<span class=w> </span><span class=kt>double</span><span class=w> </span><span class=n>Value</span><span class=p>;</span>
<span class=p>};</span>

<span class=cp>#endif</span>
</code></pre></div> <p><strong>vtkTestAlgorithmFilter.h</strong></p> <div class=codehilite><pre><span></span><code><span class=cp>#ifndef __vtkTestAlgorithmFilter_h</span>
<span class=cp>#define __vtkTestAlgorithmFilter_h</span>

Expand Down Expand Up @@ -227,6 +174,59 @@
<span class=p>};</span>

<span class=cp>#endif</span>
</code></pre></div> <p><strong>vtkTest.h</strong></p> <div class=codehilite><pre><span></span><code><span class=cp>#ifndef __vtkTest_h</span>
<span class=cp>#define __vtkTest_h</span>

<span class=hll><span class=cp>#include</span><span class=w> </span><span class=cpf>&lt;vtkDataObject.h&gt;</span>
</span>
<span class=hll><span class=k>class</span><span class=w> </span><span class=nc>vtkTest</span><span class=w> </span><span class=o>:</span><span class=w> </span><span class=k>public</span><span class=w> </span><span class=n>vtkDataObject</span>
</span><span class=p>{</span>
<span class=k>public</span><span class=o>:</span>
<span class=w> </span><span class=k>static</span><span class=w> </span><span class=n>vtkTest</span><span class=o>*</span><span class=w> </span><span class=n>New</span><span class=p>();</span>
<span class=hll><span class=w> </span><span class=n>vtkTypeMacro</span><span class=p>(</span><span class=n>vtkTest</span><span class=p>,</span><span class=w> </span><span class=n>vtkDataObject</span><span class=p>);</span>
</span><span class=hll><span class=w> </span><span class=kt>void</span><span class=w> </span><span class=nf>PrintSelf</span><span class=p>(</span><span class=n>ostream</span><span class=o>&amp;</span><span class=w> </span><span class=n>os</span><span class=p>,</span><span class=w> </span><span class=n>vtkIndent</span><span class=w> </span><span class=n>indent</span><span class=p>)</span><span class=w> </span><span class=k>override</span><span class=p>;</span>
</span><span class=hll><span class=w> </span><span class=kt>void</span><span class=w> </span><span class=nf>ShallowCopy</span><span class=p>(</span><span class=n>vtkDataObject</span><span class=o>*</span><span class=w> </span><span class=n>t</span><span class=p>)</span><span class=w> </span><span class=k>override</span><span class=p>;</span>
</span>
<span class=w> </span><span class=n>vtkGetMacro</span><span class=p>(</span><span class=n>Value</span><span class=p>,</span><span class=w> </span><span class=kt>double</span><span class=p>);</span>
<span class=w> </span><span class=n>vtkSetMacro</span><span class=p>(</span><span class=n>Value</span><span class=p>,</span><span class=w> </span><span class=kt>double</span><span class=p>);</span>

<span class=k>protected</span><span class=o>:</span>
<span class=w> </span><span class=n>vtkTest</span><span class=p>();</span>
<span class=w> </span><span class=o>~</span><span class=n>vtkTest</span><span class=p>();</span>

<span class=k>private</span><span class=o>:</span>
<span class=w> </span><span class=n>vtkTest</span><span class=p>(</span><span class=k>const</span><span class=w> </span><span class=n>vtkTest</span><span class=o>&amp;</span><span class=p>);</span><span class=w> </span><span class=c1>// Not implemented.</span>
<span class=w> </span><span class=kt>void</span><span class=w> </span><span class=k>operator</span><span class=o>=</span><span class=p>(</span><span class=k>const</span><span class=w> </span><span class=n>vtkTest</span><span class=o>&amp;</span><span class=p>);</span><span class=w> </span><span class=c1>// Not implemented.</span>

<span class=w> </span><span class=kt>double</span><span class=w> </span><span class=n>Value</span><span class=p>;</span>
<span class=p>};</span>

<span class=cp>#endif</span>
</code></pre></div> <p><strong>vtkTest.cxx</strong></p> <div class=codehilite><pre><span></span><code><span class=cp>#include</span><span class=w> </span><span class=cpf>&quot;vtkTest.h&quot;</span>

<span class=hll><span class=cp>#include</span><span class=w> </span><span class=cpf>&lt;vtkObjectFactory.h&gt;</span>
</span>
<span class=n>vtkStandardNewMacro</span><span class=p>(</span><span class=n>vtkTest</span><span class=p>);</span>

<span class=n>vtkTest</span><span class=o>::</span><span class=n>vtkTest</span><span class=p>()</span>
<span class=p>{</span>
<span class=w> </span><span class=k>this</span><span class=o>-&gt;</span><span class=n>Value</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=mf>0.0</span><span class=p>;</span>
<span class=p>}</span>

<span class=n>vtkTest</span><span class=o>::~</span><span class=n>vtkTest</span><span class=p>()</span>
<span class=p>{</span>
<span class=p>}</span>

<span class=hll><span class=kt>void</span><span class=w> </span><span class=n>vtkTest</span><span class=o>::</span><span class=n>PrintSelf</span><span class=p>(</span><span class=n>ostream</span><span class=o>&amp;</span><span class=w> </span><span class=n>os</span><span class=p>,</span><span class=w> </span><span class=n>vtkIndent</span><span class=w> </span><span class=n>indent</span><span class=p>)</span>
</span><span class=p>{</span>
<span class=w> </span><span class=k>this</span><span class=o>-&gt;</span><span class=n>Superclass</span><span class=o>::</span><span class=n>PrintSelf</span><span class=p>(</span><span class=n>os</span><span class=p>,</span><span class=w> </span><span class=n>indent</span><span class=p>);</span>
<span class=p>}</span>

<span class=hll><span class=kt>void</span><span class=w> </span><span class=n>vtkTest</span><span class=o>::</span><span class=n>ShallowCopy</span><span class=p>(</span><span class=n>vtkDataObject</span><span class=o>*</span><span class=w> </span><span class=n>t</span><span class=p>)</span>
</span><span class=p>{</span>
<span class=w> </span><span class=n>vtkTest</span><span class=o>*</span><span class=w> </span><span class=n>m</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=k>dynamic_cast</span><span class=o>&lt;</span><span class=n>vtkTest</span><span class=o>*&gt;</span><span class=p>(</span><span class=n>t</span><span class=p>);</span>
<span class=w> </span><span class=k>this</span><span class=o>-&gt;</span><span class=n>Value</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=n>m</span><span class=o>-&gt;</span><span class=n>GetValue</span><span class=p>();</span>
<span class=p>}</span>
</code></pre></div> <p><strong>vtkTestAlgorithmFilter.cxx</strong></p> <div class=codehilite><pre><span></span><code><span class=cp>#include</span><span class=w> </span><span class=cpf>&quot;vtkTestAlgorithmFilter.h&quot;</span>
<span class=cp>#include</span><span class=w> </span><span class=cpf>&quot;vtkTest.h&quot;</span>

Expand Down
Loading

0 comments on commit 7c1a80e

Please sign in to comment.