mirror of
https://github.com/OpenFOAM/ThirdParty-6.git
synced 2025-12-08 06:57:43 +00:00
69 lines
2.0 KiB
C++
69 lines
2.0 KiB
C++
/*=========================================================================
|
|
|
|
Program: ParaView
|
|
Module: vtkSMMapProperty.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 "vtkSMMapProperty.h"
|
|
|
|
//---------------------------------------------------------------------------
|
|
vtkSMMapProperty::vtkSMMapProperty()
|
|
{
|
|
}
|
|
|
|
//---------------------------------------------------------------------------
|
|
vtkSMMapProperty::~vtkSMMapProperty()
|
|
{
|
|
}
|
|
|
|
//---------------------------------------------------------------------------
|
|
vtkIdType vtkSMMapProperty::GetNumberOfElements()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
//---------------------------------------------------------------------------
|
|
bool vtkSMMapProperty::IsValueDefault()
|
|
{
|
|
return this->GetNumberOfElements() == 0;
|
|
}
|
|
|
|
//---------------------------------------------------------------------------
|
|
int vtkSMMapProperty::LoadState(vtkPVXMLElement* element,
|
|
vtkSMProxyLocator* loader)
|
|
{
|
|
this->Superclass::LoadState(element, loader);
|
|
|
|
return 1;
|
|
}
|
|
|
|
//---------------------------------------------------------------------------
|
|
int vtkSMMapProperty::ReadXMLAttributes(vtkSMProxy *parent,
|
|
vtkPVXMLElement *element)
|
|
{
|
|
this->Superclass::ReadXMLAttributes(parent, element);
|
|
|
|
return 1;
|
|
}
|
|
|
|
//---------------------------------------------------------------------------
|
|
void vtkSMMapProperty::PrintSelf(ostream& os, vtkIndent indent)
|
|
{
|
|
this->Superclass::PrintSelf(os, indent);
|
|
}
|
|
|
|
//---------------------------------------------------------------------------
|
|
void vtkSMMapProperty::Copy(vtkSMProperty* src)
|
|
{
|
|
this->Superclass::Copy(src);
|
|
}
|