Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
Multiple Output Ports in CPP

Multiple Output Ports in CPP

2005-04-04       - By Aloys Baillet

 Back
Reply:     1     2     3     4     5  

Hi Martin,

Here is the name you are looking for...

CStatus ClmCacheMapOp::Update
(
UpdateContext& ctx,
OutputPort& Out
)
{
CStatus hr = CStatus::OK ;
CString outName( Out.GetName() );
switch (outName)
your code!
}



On Apr 4, 2005 4:46 PM, Martin Matzeder <puppet_martin@(protected)>
wrote:
>
> Hi,
>
> I'm translating a operator from jsript to cpp. Right now I face the
> problem to feed multiple output connections. In jscript I used the
> switch/case statement to get the correct output. but I have no clue what
> to test in cpp, cause i can see no "name" in the outputport. In scripted
> operators the update routine is called for each output port, and I guess
> this is the same for a compiled operator.
> What is the correct way to achieve this in cpp.
>
> Martin
> ---
> Unsubscribe? Mail Majordomo@(protected) with the following text in body:
> unsubscribe xsi
>



--
Aloys Baillet - TD / R&D @ La Maison - www.alamaison.fr<http://www.alamaison.fr>

Hi Martin,<br>
<br>
Here is the name you are looking for...<br>
<br>
CStatus ClmCacheMapOp::Update<br>
(<br>
&nbsp;&nbsp;&nbsp; UpdateContext&amp;&nbsp;&nbsp;&nbsp; ctx,<br>
&nbsp;&nbsp;&nbsp; OutputPort&amp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Out<br>
)<br>
{<br>
&nbsp;&nbsp;&nbsp; CStatus hr = CStatus::OK ;<br>
&nbsp;&nbsp;&nbsp; CString outName( Out.GetName() );<br>
&nbsp;&nbsp;&nbsp; switch (outName)<br>
your code!<br>
}<br>
<br>
<br><br><div><span class="gmail_quote">On Apr 4, 2005 4:46 PM, <b class="gmail
_sendername">Martin Matzeder</b> &lt;<a href="mailto:puppet_martin
@(protected)">puppet_martin@(protected)</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204)
; margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>I'm translating a
operator from jsript to cpp. Right now I face the<br>problem to feed multiple
output connections. In jscript I used the<br>switch/case statement to get the
correct output. but I have no clue what<br>to test in cpp, cause i can see no
&quot;name&quot; in the outputport. In scripted<br>operators the update routine
is called for each output port, and I guess<br>this is the same for a compiled
operator.<br>What is the correct way to achieve this in cpp.<br><br>Martin<br>-
--<br>Unsubscribe? Mail <a href="mailto:Majordomo@(protected)">Majordomo
@(protected)</a> with the following text in body:<br>unsubscribe xsi<br><
/blockquote></div><br><br><br>-- <br>Aloys Baillet - TD / R&amp;D @ La Maison -
<a href="http://www.alamaison.fr">www.alamaison.fr</a><br>