Skip to content

Commit

Permalink
nightly update
Browse files Browse the repository at this point in the history
  • Loading branch information
Kitware Robot committed Apr 20, 2024
1 parent 1944e94 commit 54c2589
Show file tree
Hide file tree
Showing 36 changed files with 2,444 additions and 2,444 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 @@ -336,6 +336,31 @@
<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> <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 @@ -426,31 +451,6 @@
<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> <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
Loading

0 comments on commit 54c2589

Please sign in to comment.