mirror of
https://github.com/OpenFOAM/ThirdParty-6.git
synced 2025-12-08 06:57:43 +00:00
48 lines
1.4 KiB
C++
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);
|
|
}
|