MCPcopy Create free account
hub / github.com/astra-toolbox/astra-toolbox / initializeFromProjector

Method initializeFromProjector

src/CudaFDKAlgorithm3D.cpp:100–115  ·  view source on GitHub ↗

---------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

98
99//---------------------------------------------------------------------------------------
100void CCudaFDKAlgorithm3D::initializeFromProjector()
101{
102 m_iVoxelSuperSampling = 1;
103 m_GPUIndices.clear();
104
105 CCudaProjector3D* pCudaProjector = dynamic_cast<CCudaProjector3D*>(m_pProjector);
106 if (!pCudaProjector) {
107 if (m_pProjector) {
108 ASTRA_WARN("non-CUDA Projector3D passed to FDK_CUDA");
109 }
110 } else {
111 m_iVoxelSuperSampling = pCudaProjector->getVoxelSuperSampling();
112 m_GPUIndices = pCudaProjector->getGPUIndices();
113 }
114
115}
116
117//---------------------------------------------------------------------------------------
118// Initialize - Config

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected