vtk 3D注释

vtkSmartPointer atext = vtkSmartPointer::New();
    atext->SetText("注释");
 

    vtkSmartPointer textMapper =
        vtkSmartPointer::New();
    textMapper->SetInputConnection(atext->GetOutputPort());
  
    vtkSmartPointer textActor = vtkVectorActor vtkFollwer;
        vtkSmartPointer::New();
    textActor->SetMapper(textMapper);
    textActor->SetScale(0.2, 0.2, 0.2);
    textActor->AddPosition(0, 0.1, 0);
    textActor->GetProperty()->SetColor(0, 0, 1);
 

你可能感兴趣的:(VTK,3d,p2p,linq)