VTK/Examples/Boneyard/Frustum

From KitwarePublic
Jump to navigationJump to search
VTK Examples Baseline GeometricObjectsDisplay TestDisplayFrustum.png

This example gets the frustum from a camera and displays it on the screen.

CMakeLists.txt

cmake_minimum_required(VERSION 2.6)

PROJECT(Frustum)

FIND_PACKAGE(VTK REQUIRED)
INCLUDE(${VTK_USE_FILE})

ADD_EXECUTABLE(DisplayFrustum DisplayFrustum.cxx)
TARGET_LINK_LIBRARIES(DisplayFrustum vtkHybrid)