/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright (C) 2004-2012 HUBzero Foundation, LLC * * Author: Leif Delgass */ #include #include #include #include #include #include #include #include "Shape.h" #include "Trace.h" using namespace VtkVis; Shape::Shape() : GraphicsObject() { } Shape::~Shape() { //TRACE("Deleting Shape"); } /** * \brief Set a group of world coordinate planes to clip rendering * * Passing NULL for planes will remove all cliping planes */ void Shape::setClippingPlanes(vtkPlaneCollection *planes) { if (_pdMapper != NULL) { _pdMapper->SetClippingPlanes(planes); } }