Experimental:Palette:cppParsTemplateGen

From Derivative
Revision as of 16:23, 9 February 2021 by Michel (talk | contribs) (Created page with "{{Summary |opFamily=COMP |opType=base |opClass=Palette:cppParsTemplateGen Ext |opLicense=Non-Commercial |short=The CppParsTemplateGen COMP can be used to quickly generate...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Summary
[edit]

The CppParsTemplateGen COMP can be used to quickly generate parameters.cpp and parameters.h files and kickstart your custom operators projects. The code generated follows our inhouse guidelines and conventions. Add the class and header to your C++ projects and after importing the files, call the setupParameters() function. It will add all the parameters present on the referenced COMP in C++ and they will appear on your custom operator parameters pages when the .dll of your project is loaded.

PythonIcon.pngPalette:cppParsTemplateGen Ext


Parameters - Generator settings Page

Source Parameters Comp Sourceparameterscomp - The COMP with one or multiple pages of custom parameters used as the template for your C++ custom operator parameters. Custom parameters order, style, pages... etc will be replicated.

Path Path - The path to which folder the .cpp and .h files will be generated in. If no path is supplied, it will use your TouchDesigner project path.

Generate Generate - Pulse to generate the .cpp and .h files. It will overwrite files found at the folder location specified in the Path parameter if any parameters.cpp and / or parameters.h files are already present.


Operator Outputs

  • Output 0 - The generated content of the .h file as a DAT.
  • Output 1 - The generated content of the .cpp file as a DAT.


Palette
Palette • Palette:arcBallCamera • Palette:arcBallGeometry • Palette:audioAnalysis • Palette:audioSet • Palette:battery • Palette:blendModes • Palette:bloom • Palette:camera • Palette:cameraBrowser • Palette:camSchnappr • Palette:changeColor • Palette:changeToColor • Palette:checker • Palette:chromaKey • Palette:colorThreshold • Palette:compareComp • Palette:convolve • Palette:cornerPinSOP • Experimental:Palette:cppParsTemplateGen • Palette:customAttributes • Palette:debugControl • Palette:dent • Palette:depthExtract • Palette:dilate • Palette:equalizer • Palette:feedback • Palette:feedbackEdge • Palette:firmata • Palette:geoPanel • Palette:gestureCapture • Palette:graphPlot • Palette:histogram • Palette:hsvBlur • Palette:imageSearch • Palette:julia • Palette:kantanMapper • Palette:kinectCalibration • Palette:kinectPointcloud • Palette:leapPaint • Palette:lightTunnel • Palette:mandelbrot • Palette:mesh • Palette:monochrome • Palette:motionSense • Palette:moviePlayer • Palette:moviePlaylist • Palette:multiLevel • Palette:multiMix • Palette:noise • Palette:onScreenKeyboard • Palette:opticalFlow • Palette:particlesGpu • Palette:pixelate • Palette:pixelRelocator • Palette:pointGenerator • Palette:pointillize • Palette:pointMerge • Palette:pointRender • Palette:pointRepack • Palette:pointTransform • Palette:pointWeight • Palette:popDialog • Palette:probe • Palette:projectorBlend • Palette:pushPins • Palette:puzzle • Experimental:Palette:quadReproject • Palette:radialBlur • Palette:remotePanel • Palette:reproject • Palette:rgbaBlur • Palette:rgbaDelay • Palette:rgbContrast • Experimental:Palette:sceneChanger • Palette:search • Palette:searchReplace • Palette:sharpen • Palette:softenAlpha • Palette:solarize • Palette:sopRender • Palette:splitter • Palette:stitcher • Palette:stoner • Palette:superFormula • Palette:sweetSpotPreviz • Palette:TDVR • Palette:transitMap • Palette:twirl • Palette:vectorScope • Palette:virtualFile • Palette:waveformMonitor • Palette:webBrowser • Palette:webSvg • Palette:xyScope