Commit 68de0f6e authored by kgriffin's avatar kgriffin

New Radial Resample Operator

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@23866 18c085ea-50e0-402c-830e-de6fd14e8384
parent 6768f9da
......@@ -122,6 +122,7 @@ RectilinearProject2D
Reflect
Replicate
Resample
RadialResample
Revolve
Slice
Smooth
......
# DO NOT EDIT THIS FILE! THIS FILE IS AUTOMATICALLY GENERATED BY xml2cmake
PROJECT(RadialResample)
INCLUDE(${VISIT_SOURCE_DIR}/CMake/PluginMacros.cmake)
SET(COMMON_SOURCES
RadialResamplePluginInfo.C
RadialResampleCommonPluginInfo.C
RadialResampleAttributes.C
)
SET(LIBI_SOURCES
RadialResamplePluginInfo.C
)
SET(LIBG_SOURCES
RadialResampleGUIPluginInfo.C
QvisRadialResampleWindow.C
${COMMON_SOURCES}
)
SET(LIBG_MOC_SOURCES
QvisRadialResampleWindow.h
)
SET(LIBV_SOURCES
RadialResampleViewerPluginInfo.C
${COMMON_SOURCES}
)
SET(LIBE_SOURCES
RadialResampleEnginePluginInfo.C
avtRadialResampleFilter.C
${COMMON_SOURCES}
)
IF(VISIT_PYTHON_SCRIPTING)
SET(PYINCLUDES ${PYTHON_INCLUDE_PATH} ${VISIT_INCLUDE_DIR}/visitpy/visitpy)
ENDIF(VISIT_PYTHON_SCRIPTING)
INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_SOURCE_DIR}
${VISIT_COMMON_INCLUDES}
${VISIT_INCLUDE_DIR}/avt/DBAtts/MetaData
${VISIT_INCLUDE_DIR}/avt/DBAtts/SIL
${VISIT_INCLUDE_DIR}/avt/Database/Database
${VISIT_INCLUDE_DIR}/avt/Expressions/Abstract
${VISIT_INCLUDE_DIR}/avt/Expressions/CMFE
${VISIT_INCLUDE_DIR}/avt/Expressions/Conditional
${VISIT_INCLUDE_DIR}/avt/Expressions/Derivations
${VISIT_INCLUDE_DIR}/avt/Expressions/General
${VISIT_INCLUDE_DIR}/avt/Expressions/ImageProcessing
${VISIT_INCLUDE_DIR}/avt/Expressions/Management
${VISIT_INCLUDE_DIR}/avt/Expressions/Math
${VISIT_INCLUDE_DIR}/avt/Expressions/MeshQuality
${VISIT_INCLUDE_DIR}/avt/Expressions/TimeIterators
${VISIT_INCLUDE_DIR}/avt/FileWriter
${VISIT_INCLUDE_DIR}/avt/Filters
${VISIT_INCLUDE_DIR}/avt/IVP
${VISIT_INCLUDE_DIR}/avt/Math
${VISIT_INCLUDE_DIR}/avt/Pipeline/AbstractFilters
${VISIT_INCLUDE_DIR}/avt/Pipeline/Data
${VISIT_INCLUDE_DIR}/avt/Pipeline/Pipeline
${VISIT_INCLUDE_DIR}/avt/Pipeline/Sinks
${VISIT_INCLUDE_DIR}/avt/Pipeline/Sources
${VISIT_INCLUDE_DIR}/avt/Plotter
${VISIT_INCLUDE_DIR}/avt/QtVisWindow
${VISIT_INCLUDE_DIR}/avt/View
${VISIT_INCLUDE_DIR}/avt/VisWindow/Colleagues
${VISIT_INCLUDE_DIR}/avt/VisWindow/Interactors
${VISIT_INCLUDE_DIR}/avt/VisWindow/Proxies
${VISIT_INCLUDE_DIR}/avt/VisWindow/Tools
${VISIT_INCLUDE_DIR}/avt/VisWindow/VisWindow
${VISIT_INCLUDE_DIR}/gui
${VISIT_INCLUDE_DIR}/mdserver/proxy
${VISIT_INCLUDE_DIR}/mdserver/rpc
${VISIT_INCLUDE_DIR}/viewer/main
${VISIT_INCLUDE_DIR}/viewer/proxy
${VISIT_INCLUDE_DIR}/viewer/rpc
${VISIT_INCLUDE_DIR}/winutil
${VISIT_INCLUDE_DIR}/visit_vtk/full
${VISIT_INCLUDE_DIR}/visit_vtk/lightweight
${QT_INCLUDE_DIR}
${QT_QTCORE_INCLUDE_DIR}
${QT_QTGUI_INCLUDE_DIR}
${EAVL_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
${PYINCLUDES}
)
LINK_DIRECTORIES(${VISIT_LIBRARY_DIR} ${QT_LIBRARY_DIR} ${GLEW_LIBRARY_DIR} ${EAVL_LIBRARY_DIR} ${VTK_LIBRARY_DIRS} )
ADD_LIBRARY(IRadialResampleOperator ${LIBI_SOURCES})
TARGET_LINK_LIBRARIES(IRadialResampleOperator visitcommon)
SET(INSTALLTARGETS IRadialResampleOperator)
IF(NOT VISIT_SERVER_COMPONENTS_ONLY AND NOT VISIT_ENGINE_ONLY AND NOT VISIT_DBIO_ONLY)
QT_WRAP_CPP(GRadialResampleOperator LIBG_SOURCES ${LIBG_MOC_SOURCES})
ADD_LIBRARY(GRadialResampleOperator ${LIBG_SOURCES})
TARGET_LINK_LIBRARIES(GRadialResampleOperator visitcommon gui )
ADD_LIBRARY(VRadialResampleOperator ${LIBV_SOURCES})
TARGET_LINK_LIBRARIES(VRadialResampleOperator visitcommon viewer )
SET(INSTALLTARGETS ${INSTALLTARGETS} GRadialResampleOperator VRadialResampleOperator)
IF(VISIT_PYTHON_SCRIPTING)
SET(LIBS_SOURCES
RadialResampleScriptingPluginInfo.C
PyRadialResampleAttributes.C
${COMMON_SOURCES}
)
ADD_LIBRARY(SRadialResampleOperator ${LIBS_SOURCES})
TARGET_LINK_LIBRARIES(SRadialResampleOperator visitcommon visitpy ${PYTHON_LIBRARY})
SET(INSTALLTARGETS ${INSTALLTARGETS} SRadialResampleOperator)
ENDIF(VISIT_PYTHON_SCRIPTING)
IF(VISIT_JAVA)
FILE(COPY RadialResampleAttributes.java DESTINATION ${JavaClient_BINARY_DIR}/src/operators)
ADD_CUSTOM_TARGET(JavaRadialResample ALL ${Java_JAVAC_EXECUTABLE} ${VISIT_Java_FLAGS} -d ${JavaClient_BINARY_DIR} -classpath ${JavaClient_BINARY_DIR} -sourcepath ${JavaClient_BINARY_DIR} RadialResampleAttributes.java
DEPENDS JavaClient
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
ENDIF(VISIT_JAVA)
ENDIF(NOT VISIT_SERVER_COMPONENTS_ONLY AND NOT VISIT_ENGINE_ONLY AND NOT VISIT_DBIO_ONLY)
ADD_LIBRARY(ERadialResampleOperator_ser ${LIBE_SOURCES})
TARGET_LINK_LIBRARIES(ERadialResampleOperator_ser visitcommon avtexpressions_ser avtfilters_ser avtpipeline_ser avtivp_ser )
SET(INSTALLTARGETS ${INSTALLTARGETS} ERadialResampleOperator_ser)
IF(VISIT_PARALLEL)
ADD_PARALLEL_LIBRARY(ERadialResampleOperator_par ${LIBE_SOURCES})
TARGET_LINK_LIBRARIES(ERadialResampleOperator_par visitcommon avtexpressions_par avtfilters_par avtpipeline_par avtivp_par )
SET(INSTALLTARGETS ${INSTALLTARGETS} ERadialResampleOperator_par)
ENDIF(VISIT_PARALLEL)
VISIT_INSTALL_OPERATOR_PLUGINS(${INSTALLTARGETS})
VISIT_PLUGIN_TARGET_RTOD(operators ${INSTALLTARGETS})
VISIT_PLUGIN_TARGET_FOLDER(operators RadialResample ${INSTALLTARGETS})
This diff is collapsed.
/*****************************************************************************
*
* Copyright (c) 2000 - 2013, Lawrence Livermore National Security, LLC
* Produced at the Lawrence Livermore National Laboratory
* LLNL-CODE-442911
* All rights reserved.
*
* This file is part of VisIt. For details, see https://visit.llnl.gov/. The
* full copyright notice is contained in the file COPYRIGHT located at the root
* of the VisIt distribution or at http://www.llnl.gov/visit/copyright.html.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* this list of conditions and the disclaimer below.
* - Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the disclaimer (as noted below) in the
* documentation and/or other materials provided with the distribution.
* - Neither the name of the LLNS/LLNL nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL LAWRENCE LIVERMORE NATIONAL SECURITY,
* LLC, THE U.S. DEPARTMENT OF ENERGY OR CONTRIBUTORS BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
* DAMAGE.
*
*****************************************************************************/
#ifndef PY_RADIALRESAMPLEATTRIBUTES_H
#define PY_RADIALRESAMPLEATTRIBUTES_H
#include <Python.h>
#include <RadialResampleAttributes.h>
//
// Functions exposed to the VisIt module.
//
#define RADIALRESAMPLEATTRIBUTES_NMETH 24
void PyRadialResampleAttributes_StartUp(RadialResampleAttributes *subj, void *data);
void PyRadialResampleAttributes_CloseDown();
PyMethodDef * PyRadialResampleAttributes_GetMethodTable(int *nMethods);
bool PyRadialResampleAttributes_Check(PyObject *obj);
RadialResampleAttributes * PyRadialResampleAttributes_FromPyObject(PyObject *obj);
PyObject * PyRadialResampleAttributes_New();
PyObject * PyRadialResampleAttributes_Wrap(const RadialResampleAttributes *attr);
void PyRadialResampleAttributes_SetParent(PyObject *obj, PyObject *parent);
void PyRadialResampleAttributes_SetDefaults(const RadialResampleAttributes *atts);
std::string PyRadialResampleAttributes_GetLogString();
std::string PyRadialResampleAttributes_ToString(const RadialResampleAttributes *, const char *);
PyObject * PyRadialResampleAttributes_getattr(PyObject *self, char *name);
int PyRadialResampleAttributes_setattr(PyObject *self, char *name, PyObject *args);
extern PyMethodDef PyRadialResampleAttributes_methods[RADIALRESAMPLEATTRIBUTES_NMETH];
#endif
This diff is collapsed.
/*****************************************************************************
*
* Copyright (c) 2000 - 2013, Lawrence Livermore National Security, LLC
* Produced at the Lawrence Livermore National Laboratory
* LLNL-CODE-442911
* All rights reserved.
*
* This file is part of VisIt. For details, see https://visit.llnl.gov/. The
* full copyright notice is contained in the file COPYRIGHT located at the root
* of the VisIt distribution or at http://www.llnl.gov/visit/copyright.html.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* this list of conditions and the disclaimer below.
* - Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the disclaimer (as noted below) in the
* documentation and/or other materials provided with the distribution.
* - Neither the name of the LLNS/LLNL nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL LAWRENCE LIVERMORE NATIONAL SECURITY,
* LLC, THE U.S. DEPARTMENT OF ENERGY OR CONTRIBUTORS BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
* DAMAGE.
*
*****************************************************************************/
#ifndef QVISRADIALRESAMPLEWINDOW_H
#define QVISRADIALRESAMPLEWINDOW_H
#include <QvisOperatorWindow.h>
#include <AttributeSubject.h>
class RadialResampleAttributes;
class QLabel;
class QCheckBox;
class QLineEdit;
class QSpinBox;
class QVBox;
class QButtonGroup;
class QvisColorTableButton;
class QvisOpacitySlider;
class QvisColorButton;
class QvisLineStyleWidget;
class QvisLineWidthWidget;
class QvisVariableButton;
// ****************************************************************************
// Class: QvisRadialResampleWindow
//
// Purpose:
// Defines QvisRadialResampleWindow class.
//
// Notes: Autogenerated by xml2window.
//
// Programmer: xml2window
// Creation: omitted
//
// Modifications:
//
// ****************************************************************************
class QvisRadialResampleWindow : public QvisOperatorWindow
{
Q_OBJECT
public:
QvisRadialResampleWindow(const int type,
RadialResampleAttributes *subj,
const QString &caption = QString::null,
const QString &shortName = QString::null,
QvisNotepadArea *notepad = 0);
virtual ~QvisRadialResampleWindow();
virtual void CreateWindowContents();
protected:
void UpdateWindow(bool doAll);
virtual void GetCurrentValues(int which_widget);
private slots:
void isFastChanged(bool val);
void minThetaProcessText();
void maxThetaProcessText();
void deltaThetaProcessText();
void radiusProcessText();
void deltaRadiusProcessText();
void centerProcessText();
void is3DChanged(bool val);
void minAzimuthProcessText();
void maxAzimuthProcessText();
void deltaAzimuthProcessText();
private:
QCheckBox *isFast;
QLineEdit *minTheta;
QLineEdit *maxTheta;
QLineEdit *deltaTheta;
QLineEdit *radius;
QLineEdit *deltaRadius;
QLineEdit *center;
QCheckBox *is3D;
QLineEdit *minAzimuth;
QLineEdit *maxAzimuth;
QLineEdit *deltaAzimuth;
QLabel *minThetaLabel;
QLabel *maxThetaLabel;
QLabel *deltaThetaLabel;
QLabel *radiusLabel;
QLabel *deltaRadiusLabel;
QLabel *centerLabel;
QLabel *minAzimuthLabel;
QLabel *maxAzimuthLabel;
QLabel *deltaAzimuthLabel;
RadialResampleAttributes *atts;
};
#endif
<?xml version="1.0"?>
<Plugin name="RadialResample" type="operator" label="Radial Resample" version="1.0" enabled="true" mdspecificcode="false" engspecificcode="false" onlyengine="false" noengine="false" category="Geometry">
<LIBS components="ESer">
avtivp_ser
</LIBS>
<LIBS components="EPar">
avtivp_par
</LIBS>
<Attribute name="RadialResampleAttributes" purpose="" persistent="true" keyframe="true" exportAPI="" exportInclude="">
<Field name="isFast" label="Fast Mode" type="bool">
false
</Field>
<Field name="minTheta" label="Min Elevation" type="float">
0.000000
</Field>
<Field name="maxTheta" label="Max Elevation" type="float">
90.000000
</Field>
<Field name="deltaTheta" label="Delta Elevation" type="float">
5.000000
</Field>
<Field name="radius" label="Radius" type="float">
0.500000
</Field>
<Field name="deltaRadius" label="Delta Radius" type="float">
0.050000
</Field>
<Field name="center" label="Center" type="floatArray" length="3">
0.500000
0.500000
0.500000
</Field>
<Field name="is3D" label="3D Resampling" type="bool">
true
</Field>
<Field name="minAzimuth" label="Min Azimuth" type="float" enabler="is3D:true">
0.000000
</Field>
<Field name="maxAzimuth" label="Max Azimuth" type="float" enabler="is3D:true">
180.000000
</Field>
<Field name="deltaAzimuth" label="Delta Azimuth" type="float" enabler="is3D:true">
5.000000
</Field>
</Attribute>
</Plugin>
This diff is collapsed.
/*****************************************************************************
*
* Copyright (c) 2000 - 2013, Lawrence Livermore National Security, LLC
* Produced at the Lawrence Livermore National Laboratory
* LLNL-CODE-442911
* All rights reserved.
*
* This file is part of VisIt. For details, see https://visit.llnl.gov/. The
* full copyright notice is contained in the file COPYRIGHT located at the root
* of the VisIt distribution or at http://www.llnl.gov/visit/copyright.html.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* this list of conditions and the disclaimer below.
* - Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the disclaimer (as noted below) in the
* documentation and/or other materials provided with the distribution.
* - Neither the name of the LLNS/LLNL nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL LAWRENCE LIVERMORE NATIONAL SECURITY,
* LLC, THE U.S. DEPARTMENT OF ENERGY OR CONTRIBUTORS BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
* DAMAGE.
*
*****************************************************************************/
#ifndef RADIALRESAMPLEATTRIBUTES_H
#define RADIALRESAMPLEATTRIBUTES_H
#include <AttributeSubject.h>
// ****************************************************************************
// Class: RadialResampleAttributes
//
// Purpose:
//
//
// Notes: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: omitted
//
// Modifications:
//
// ****************************************************************************
class RadialResampleAttributes : public AttributeSubject
{
public:
// These constructors are for objects of this class
RadialResampleAttributes();
RadialResampleAttributes(const RadialResampleAttributes &obj);
protected:
// These constructors are for objects derived from this class
RadialResampleAttributes(private_tmfs_t tmfs);
RadialResampleAttributes(const RadialResampleAttributes &obj, private_tmfs_t tmfs);
public:
virtual ~RadialResampleAttributes();
virtual RadialResampleAttributes& operator = (const RadialResampleAttributes &obj);
virtual bool operator == (const RadialResampleAttributes &obj) const;
virtual bool operator != (const RadialResampleAttributes &obj) const;
private:
void Init();
void Copy(const RadialResampleAttributes &obj);
public:
virtual const std::string TypeName() const;
virtual bool CopyAttributes(const AttributeGroup *);
virtual AttributeSubject *CreateCompatible(const std::string &) const;
virtual AttributeSubject *NewInstance(bool) const;
// Property selection methods
virtual void SelectAll();
void SelectCenter();
// Property setting methods
void SetIsFast(bool isFast_);
void SetMinTheta(float minTheta_);
void SetMaxTheta(float maxTheta_);
void SetDeltaTheta(float deltaTheta_);
void SetRadius(float radius_);
void SetDeltaRadius(float deltaRadius_);
void SetCenter(const float *center_);
void SetIs3D(bool is3D_);
void SetMinAzimuth(float minAzimuth_);
void SetMaxAzimuth(float maxAzimuth_);
void SetDeltaAzimuth(float deltaAzimuth_);
// Property getting methods
bool GetIsFast() const;
float GetMinTheta() const;
float GetMaxTheta() const;
float GetDeltaTheta() const;
float GetRadius() const;
float GetDeltaRadius() const;
const float *GetCenter() const;
float *GetCenter();
bool GetIs3D() const;
float GetMinAzimuth() const;
float GetMaxAzimuth() const;
float GetDeltaAzimuth() const;
// Persistence methods
virtual bool CreateNode(DataNode *node, bool completeSave, bool forceAdd);
virtual void SetFromNode(DataNode *node);
// Keyframing methods
virtual std::string GetFieldName(int index) const;
virtual AttributeGroup::FieldType GetFieldType(int index) const;
virtual std::string GetFieldTypeName(int index) const;
virtual bool FieldsEqual(int index, const AttributeGroup *rhs) const;
// IDs that can be used to identify fields in case statements
enum {
ID_isFast = 0,
ID_minTheta,
ID_maxTheta,
ID_deltaTheta,
ID_radius,
ID_deltaRadius,
ID_center,
ID_is3D,
ID_minAzimuth,
ID_maxAzimuth,
ID_deltaAzimuth,
ID__LAST
};
private:
bool isFast;
float minTheta;
float maxTheta;
float deltaTheta;
float radius;
float deltaRadius;
float center[3];
bool is3D;
float minAzimuth;
float maxAzimuth;
float deltaAzimuth;
// Static class format string for type map.
static const char *TypeMapFormatString;
static const private_tmfs_t TmfsStruct;
};
#define RADIALRESAMPLEATTRIBUTES_TMFS "bfffffFbfff"
#endif
This diff is collapsed.
/*****************************************************************************
*
* Copyright (c) 2000 - 2013, Lawrence Livermore National Security, LLC
* Produced at the Lawrence Livermore National Laboratory
* LLNL-CODE-442911
* All rights reserved.
*
* This file is part of VisIt. For details, see https://visit.llnl.gov/. The
* full copyright notice is contained in the file COPYRIGHT located at the root
* of the VisIt distribution or at http://www.llnl.gov/visit/copyright.html.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* this list of conditions and the disclaimer below.
* - Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the disclaimer (as noted below) in the
* documentation and/or other materials provided with the distribution.
* - Neither the name of the LLNS/LLNL nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL LAWRENCE LIVERMORE NATIONAL SECURITY,
* LLC, THE U.S. DEPARTMENT OF ENERGY OR CONTRIBUTORS BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
* DAMAGE.
*
*****************************************************************************/
// ************************************************************************* //
// File: RadialResampleCommonPluginInfo.C
// ************************************************************************* //
#include <RadialResamplePluginInfo.h>
#include <RadialResampleAttributes.h>
// ****************************************************************************
// Method: RadialResampleCommonPluginInfo::AllocAttributes
//
// Purpose:
// Return a pointer to a newly allocated attribute subject.
//
// Returns: A pointer to the newly allocated attribute subject.
//
// Programmer: generated by xml2info
// Creation: omitted
//
// ****************************************************************************
AttributeSubject *
RadialResampleCommonPluginInfo::AllocAttributes()
{
return new RadialResampleAttributes;
}
// ****************************************************************************
// Method: RadialResampleCommonPluginInfo::CopyAttributes
//
// Purpose:
// Copy a RadialResample attribute subject.
//
// Arguments:
// to The destination attribute subject.
// from The source attribute subject.
//
// Programmer: generated by xml2info
// Creation: omitted
//
// ****************************************************************************
void
RadialResampleCommonPluginInfo::CopyAttributes(AttributeSubject *to,
AttributeSubject *from)
{
*((RadialResampleAttributes *) to) = *((RadialResampleAttributes *) from);
}
/*****************************************************************************
*
* Copyright (c) 2000 - 2013, Lawrence Livermore National Security, LLC
* Produced at the Lawrence Livermore National Laboratory
* LLNL-CODE-442911
* All rights reserved.
*
* This file is part of VisIt. For details, see https://visit.llnl.gov/. The
* full copyright notice is contained in the file COPYRIGHT located at the root
* of the VisIt distribution or at http://www.llnl.gov/visit/copyright.html.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* this list of conditions and the disclaimer below.
* - Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the disclaimer (as noted below) in the
* documentation and/or other materials provided with the distribution.
* - Neither the name of the LLNS/LLNL nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL LAWRENCE LIVERMORE NATIONAL SECURITY,
* LLC, THE U.S. DEPARTMENT OF ENERGY OR CONTRIBUTORS BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
* DAMAGE.
*
*****************************************************************************/
// ************************************************************************* //
// File: RadialResampleEnginePluginInfo.C
// ************************************************************************* //
#include <RadialResamplePluginInfo.h>
#include <avtRadialResampleFilter.h>
// ****************************************************************************
// Function: GetEngineInfo
//
// Purpose:
// Return a new EnginePluginInfo for the RadialResample operator.
//
// Programmer: generated by xml2info
// Creation: omitted
//
// ****************************************************************************
extern "C" OP_EXPORT EngineOperatorPluginInfo* RadialResample_GetEngineInfo()
{
return new RadialResampleEnginePluginInfo;
}
// ****************************************************************************
// Method: RadialResampleEnginePluginInfo::AllocAvtPluginFilter
//
// Purpose:
// Return a pointer to a newly allocated avtPluginFilter.
//
// Returns: A pointer to the newly allocated avtPluginFilter.
//
// Programmer: generated by xml2info
// Creation: omitted
//
// ****************************************************************************