Files
ThirdParty-6/ParaView-5.0.1/ParaViewCore/ClientServerCore/Rendering/vtkOutlineRepresentation.cxx

48 lines
1.4 KiB
C++

/*=========================================================================
Program: ParaView
Module: vtkOutlineRepresentation.cxx
Copyright (c) Kitware, Inc.
All rights reserved.
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#include "vtkOutlineRepresentation.h"
#include "vtkObjectFactory.h"
#include "vtkPVGeometryFilter.h"
vtkStandardNewMacro(vtkOutlineRepresentation);
//----------------------------------------------------------------------------
vtkOutlineRepresentation::vtkOutlineRepresentation()
{
this->SetUseOutline(1);
this->SetRepresentation(WIREFRAME);
this->SetAmbient(1);
this->SetDiffuse(0);
this->SetSpecular(0);
// you cannot select the outline!
this->SetPickable(0);
this->SetSuppressLOD(1);
}
//----------------------------------------------------------------------------
vtkOutlineRepresentation::~vtkOutlineRepresentation()
{
}
//----------------------------------------------------------------------------
void vtkOutlineRepresentation::PrintSelf(ostream& os, vtkIndent indent)
{
this->Superclass::PrintSelf(os, indent);
}