Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include "mitkRenderingTestHelper.h"
#include "mitkTestingMacros.h"
#include <mitkNodePredicateDataType.h>
#include <mitkSmartPointerProperty.h>
#include <mitkSurface.h>
#include <mitkIOUtil.h>
#include <vtkFloatArray.h>
#include <vtkPointData.h>
#include <vtkPolyData.h>
#include <vtkRegressionTestImage.h>
#include <vtkSphereSource.h>
#include <vtkTextureMapToSphere.h>
Go to the source code of this file.
Functions | |
int | mitkSurfaceVtkMapper3DTexturedSphereTest (int argc, char *argv[]) |
mitkSurfaceVtkMapper3DTexturedSphereTest This test puts a texture onto a sphere. It is a nice example how to use VTK methods to generate texture coordinates for MITK surfaces. More... | |
int mitkSurfaceVtkMapper3DTexturedSphereTest | ( | int | argc, |
char * | argv[] | ||
) |
mitkSurfaceVtkMapper3DTexturedSphereTest This test puts a texture onto a sphere. It is a nice example how to use VTK methods to generate texture coordinates for MITK surfaces.
argv | Just any image serving as texture. |
Definition at line 39 of file mitkSurfaceVtkMapper3DTexturedSphereTest.cpp.
References mitk::RenderingTestHelper::AddNodeToStorage(), mitk::RenderingTestHelper::CompareRenderWindowAgainstReference(), mitk::RenderingTestHelper::GetDataStorage(), MITK_TEST_BEGIN(), MITK_TEST_CONDITION, MITK_TEST_END(), mitk::NodePredicateDataType::New(), mitk::Surface::New(), mitk::SmartPointerProperty::New(), mitk::New(), mitk::DataNode::New(), mitk::RenderingTestHelper::SaveReferenceScreenShot(), mitk::RenderingTestHelper::SetMapperID(), and mitk::BaseRenderer::Standard3D.