Skip to content

Commit

Permalink
nightly update
Browse files Browse the repository at this point in the history
  • Loading branch information
Kitware Robot committed Jan 9, 2025
1 parent 2b4eb85 commit f16264e
Show file tree
Hide file tree
Showing 13 changed files with 2,581 additions and 2,581 deletions.
50 changes: 25 additions & 25 deletions site/Cxx/Developers/AlgorithmFilter/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,31 @@
<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>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>

Expand Down Expand Up @@ -426,31 +451,6 @@
<span class=w> </span><span class=k>this</span><span class=o>-&gt;</span><span class=n>AddInputDataObject</span><span class=p>(</span><span class=n>index</span><span class=p>,</span><span class=w> </span><span class=n>input</span><span class=p>);</span>
<span class=w> </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> <h3 id=cmakeliststxt>CMakeLists.txt<a class=headerlink href=#cmakeliststxt title="Permanent link">&para;</a></h3> <div class=codehilite><pre><span></span><code><span class=nb>cmake_minimum_required</span><span class=p>(</span><span class=s>VERSION</span><span class=w> </span><span class=s>3.12</span><span class=w> </span><span class=s>FATAL_ERROR</span><span class=p>)</span>

<span class=nb>project</span><span class=p>(</span><span class=s>AlgorithmFilter</span><span class=p>)</span>
Expand Down
52 changes: 26 additions & 26 deletions site/Cxx/Developers/AlgorithmSource/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,32 @@

<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>vtkTest1.h</strong></p> <div class=codehilite><pre><span></span><code><span class=cp>#ifndef __vtkTest1_h</span>
<span class=cp>#define __vtkTest1_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>vtkTest1</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>vtkTest1</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>vtkTest1</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=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=k>protected</span><span class=o>:</span>
<span class=w> </span><span class=n>vtkTest1</span><span class=p>();</span>
<span class=w> </span><span class=o>~</span><span class=n>vtkTest1</span><span class=p>();</span>

<span class=k>private</span><span class=o>:</span>
<span class=w> </span><span class=n>vtkTest1</span><span class=p>(</span><span class=k>const</span><span class=w> </span><span class=n>vtkTest1</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>vtkTest1</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>vtkTest1.cxx</strong></p> <div class=codehilite><pre><span></span><code><span class=cp>#include</span><span class=w> </span><span class=cpf>&quot;vtkTest1.h&quot;</span>

<span class=hll><span class=cp>#include</span><span class=w> </span><span class=cpf>&lt;vtkObjectFactory.h&gt;</span>
Expand Down Expand Up @@ -158,32 +184,6 @@
<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>vtkTestAlgorithmSource</span><span class=o>&amp;</span><span class=p>);</span><span class=w> </span><span class=c1>// Not implemented.</span>
<span class=p>};</span>

<span class=cp>#endif</span>
</code></pre></div> <p><strong>vtkTest1.h</strong></p> <div class=codehilite><pre><span></span><code><span class=cp>#ifndef __vtkTest1_h</span>
<span class=cp>#define __vtkTest1_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>vtkTest1</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>vtkTest1</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>vtkTest1</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=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=k>protected</span><span class=o>:</span>
<span class=w> </span><span class=n>vtkTest1</span><span class=p>();</span>
<span class=w> </span><span class=o>~</span><span class=n>vtkTest1</span><span class=p>();</span>

<span class=k>private</span><span class=o>:</span>
<span class=w> </span><span class=n>vtkTest1</span><span class=p>(</span><span class=k>const</span><span class=w> </span><span class=n>vtkTest1</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>vtkTest1</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>vtkTestAlgorithmSource.cxx</strong></p> <div class=codehilite><pre><span></span><code><span class=cp>#include</span><span class=w> </span><span class=cpf>&quot;vtkTestAlgorithmSource.h&quot;</span>
<span class=cp>#include</span><span class=w> </span><span class=cpf>&quot;vtkTest1.h&quot;</span>
Expand Down
Loading

0 comments on commit f16264e

Please sign in to comment.