MCPcopy Create free account
hub / github.com/MITK/MITK / New

Method New

Modules/AlgorithmsExt/src/mitkMovieGenerator.cpp:37–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37mitk::MovieGenerator::Pointer mitk::MovieGenerator::New()
38{
39 Pointer smartPtr;
40 MovieGenerator *rawPtr = ::itk::ObjectFactory<MovieGenerator>::Create();
41 if (rawPtr == nullptr)
42 {
43#ifdef WIN32
44#ifndef __GNUC__
45 //#if ! (_MSC_VER >= 1400)
46 mitk::MovieGenerator::Pointer wp = static_cast<mitk::MovieGenerator *>(mitk::MovieGeneratorWin32::New());
47 return wp;
48//#endif
49#endif
50#endif
51 }
52 smartPtr = rawPtr;
53 if (rawPtr != nullptr)
54 rawPtr->UnRegister();
55 return smartPtr;
56}
57
58bool mitk::MovieGenerator::WriteMovie()
59{

Callers

nothing calls this directly

Calls 3

CreateFunction · 0.85
NewFunction · 0.50
UnRegisterMethod · 0.45

Tested by

no test coverage detected