Commit 22485c6d authored by pugmire's avatar pugmire

merge ellipsoid slice from 2.7RC

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@23430 18c085ea-50e0-402c-830e-de6fd14e8384
parent 6352c160
......@@ -94,6 +94,7 @@ Displace
DualMesh
Edge
Elevate
EllipsoidSlice
ExternalSurface
ExtractPointFunction2D
Extrude
......
# DO NOT EDIT THIS FILE! THIS FILE IS AUTOMATICALLY GENERATED BY xml2cmake
PROJECT(EllipsoidSlice)
INCLUDE(${VISIT_SOURCE_DIR}/CMake/PluginMacros.cmake)
SET(COMMON_SOURCES
EllipsoidSlicePluginInfo.C
EllipsoidSliceCommonPluginInfo.C
EllipsoidSliceAttributes.C
)
SET(LIBI_SOURCES
EllipsoidSlicePluginInfo.C
)
SET(LIBG_SOURCES
EllipsoidSliceGUIPluginInfo.C
QvisEllipsoidSliceWindow.C
${COMMON_SOURCES}
)
SET(LIBG_MOC_SOURCES
QvisEllipsoidSliceWindow.h
)
SET(LIBV_SOURCES
EllipsoidSliceViewerPluginInfo.C
${COMMON_SOURCES}
)
SET(LIBE_SOURCES
EllipsoidSliceEnginePluginInfo.C
avtEllipsoidSliceFilter.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(IEllipsoidSliceOperator ${LIBI_SOURCES})
TARGET_LINK_LIBRARIES(IEllipsoidSliceOperator visitcommon)
SET(INSTALLTARGETS IEllipsoidSliceOperator)
IF(NOT VISIT_SERVER_COMPONENTS_ONLY AND NOT VISIT_ENGINE_ONLY AND NOT VISIT_DBIO_ONLY)
QT_WRAP_CPP(GEllipsoidSliceOperator LIBG_SOURCES ${LIBG_MOC_SOURCES})
ADD_LIBRARY(GEllipsoidSliceOperator ${LIBG_SOURCES})
TARGET_LINK_LIBRARIES(GEllipsoidSliceOperator visitcommon gui )
ADD_LIBRARY(VEllipsoidSliceOperator ${LIBV_SOURCES})
TARGET_LINK_LIBRARIES(VEllipsoidSliceOperator visitcommon viewer )
SET(INSTALLTARGETS ${INSTALLTARGETS} GEllipsoidSliceOperator VEllipsoidSliceOperator)
IF(VISIT_PYTHON_SCRIPTING)
SET(LIBS_SOURCES
EllipsoidSliceScriptingPluginInfo.C
PyEllipsoidSliceAttributes.C
${COMMON_SOURCES}
)
ADD_LIBRARY(SEllipsoidSliceOperator ${LIBS_SOURCES})
TARGET_LINK_LIBRARIES(SEllipsoidSliceOperator visitcommon visitpy ${PYTHON_LIBRARY})
SET(INSTALLTARGETS ${INSTALLTARGETS} SEllipsoidSliceOperator)
ENDIF(VISIT_PYTHON_SCRIPTING)
IF(VISIT_JAVA)
FILE(COPY EllipsoidSliceAttributes.java DESTINATION ${JavaClient_BINARY_DIR}/src/operators)
ADD_CUSTOM_TARGET(JavaEllipsoidSlice ALL ${Java_JAVAC_EXECUTABLE} ${VISIT_Java_FLAGS} -d ${JavaClient_BINARY_DIR} -classpath ${JavaClient_BINARY_DIR} -sourcepath ${JavaClient_BINARY_DIR} EllipsoidSliceAttributes.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(EEllipsoidSliceOperator_ser ${LIBE_SOURCES})
TARGET_LINK_LIBRARIES(EEllipsoidSliceOperator_ser visitcommon avtexpressions_ser avtfilters_ser avtpipeline_ser )
SET(INSTALLTARGETS ${INSTALLTARGETS} EEllipsoidSliceOperator_ser)
IF(VISIT_PARALLEL)
ADD_PARALLEL_LIBRARY(EEllipsoidSliceOperator_par ${LIBE_SOURCES})
TARGET_LINK_LIBRARIES(EEllipsoidSliceOperator_par visitcommon avtexpressions_par avtfilters_par avtpipeline_par )
SET(INSTALLTARGETS ${INSTALLTARGETS} EEllipsoidSliceOperator_par)
ENDIF(VISIT_PARALLEL)
VISIT_INSTALL_OPERATOR_PLUGINS(${INSTALLTARGETS})
VISIT_PLUGIN_TARGET_RTOD(operators ${INSTALLTARGETS})
VISIT_PLUGIN_TARGET_FOLDER(operators EllipsoidSlice ${INSTALLTARGETS})
<?xml version="1.0"?>
<Plugin name="EllipsoidSlice" type="operator" label="EllipsoidSlice" version="1.0" enabled="true" mdspecificcode="false" engspecificcode="false" onlyengine="false" noengine="false" category="Slicing">
<Attribute name="EllipsoidSliceAttributes" purpose="EllipsoidSliceAttributes" persistent="true" keyframe="true" exportAPI="" exportInclude="">
<Field name="origin" label="Origin" type="doubleArray" length="3">
0.000000
0.000000
0.000000
</Field>
<Field name="radii" label="Radii" type="doubleArray" length="3">
1.000000
1.000000
1.000000
</Field>
<Field name="rotationAngle" label="Rotation Angle" type="doubleArray" length="3">
0.000000
0.000000
0.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 ELLIPSOIDSLICEATTRIBUTES_H
#define ELLIPSOIDSLICEATTRIBUTES_H
#include <AttributeSubject.h>
// ****************************************************************************
// Class: EllipsoidSliceAttributes
//
// Purpose:
// EllipsoidSliceAttributes
//
// Notes: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: omitted
//
// Modifications:
//
// ****************************************************************************
class EllipsoidSliceAttributes : public AttributeSubject
{
public:
// These constructors are for objects of this class
EllipsoidSliceAttributes();
EllipsoidSliceAttributes(const EllipsoidSliceAttributes &obj);
protected:
// These constructors are for objects derived from this class
EllipsoidSliceAttributes(private_tmfs_t tmfs);
EllipsoidSliceAttributes(const EllipsoidSliceAttributes &obj, private_tmfs_t tmfs);
public:
virtual ~EllipsoidSliceAttributes();
virtual EllipsoidSliceAttributes& operator = (const EllipsoidSliceAttributes &obj);
virtual bool operator == (const EllipsoidSliceAttributes &obj) const;
virtual bool operator != (const EllipsoidSliceAttributes &obj) const;
private:
void Init();
void Copy(const EllipsoidSliceAttributes &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 SelectOrigin();
void SelectRadii();
void SelectRotationAngle();
// Property setting methods
void SetOrigin(const double *origin_);
void SetRadii(const double *radii_);
void SetRotationAngle(const double *rotationAngle_);
// Property getting methods
const double *GetOrigin() const;
double *GetOrigin();
const double *GetRadii() const;
double *GetRadii();
const double *GetRotationAngle() const;
double *GetRotationAngle();
// 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_origin = 0,
ID_radii,
ID_rotationAngle,
ID__LAST
};
private:
double origin[3];
double radii[3];
double rotationAngle[3];
// Static class format string for type map.
static const char *TypeMapFormatString;
static const private_tmfs_t TmfsStruct;
};
#define ELLIPSOIDSLICEATTRIBUTES_TMFS "DDD"
#endif
// ***************************************************************************
//
// 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.
//
// ***************************************************************************
package llnl.visit.operators;
import llnl.visit.AttributeSubject;
import llnl.visit.CommunicationBuffer;
import llnl.visit.Plugin;
// ****************************************************************************
// Class: EllipsoidSliceAttributes
//
// Purpose:
// EllipsoidSliceAttributes
//
// Notes: Autogenerated by xml2java.
//
// Programmer: xml2java
// Creation: omitted
//
// Modifications:
//
// ****************************************************************************
public class EllipsoidSliceAttributes extends AttributeSubject implements Plugin
{
private static int EllipsoidSliceAttributes_numAdditionalAtts = 3;
public EllipsoidSliceAttributes()
{
super(EllipsoidSliceAttributes_numAdditionalAtts);
origin = new double[3];
origin[0] = 0;
origin[1] = 0;
origin[2] = 0;
radii = new double[3];
radii[0] = 1;
radii[1] = 1;
radii[2] = 1;
rotationAngle = new double[3];
rotationAngle[0] = 0;
rotationAngle[1] = 0;
rotationAngle[2] = 0;
}
public EllipsoidSliceAttributes(int nMoreFields)
{
super(EllipsoidSliceAttributes_numAdditionalAtts + nMoreFields);
origin = new double[3];
origin[0] = 0;
origin[1] = 0;
origin[2] = 0;
radii = new double[3];
radii[0] = 1;
radii[1] = 1;
radii[2] = 1;
rotationAngle = new double[3];
rotationAngle[0] = 0;
rotationAngle[1] = 0;
rotationAngle[2] = 0;
}
public EllipsoidSliceAttributes(EllipsoidSliceAttributes obj)
{
super(EllipsoidSliceAttributes_numAdditionalAtts);
int i;
origin = new double[3];
origin[0] = obj.origin[0];
origin[1] = obj.origin[1];
origin[2] = obj.origin[2];
radii = new double[3];
radii[0] = obj.radii[0];
radii[1] = obj.radii[1];
radii[2] = obj.radii[2];
rotationAngle = new double[3];
rotationAngle[0] = obj.rotationAngle[0];
rotationAngle[1] = obj.rotationAngle[1];
rotationAngle[2] = obj.rotationAngle[2];
SelectAll();
}
public int Offset()
{
return super.Offset() + super.GetNumAdditionalAttributes();
}
public int GetNumAdditionalAttributes()
{
return EllipsoidSliceAttributes_numAdditionalAtts;
}
public boolean equals(EllipsoidSliceAttributes obj)
{
int i;
// Compare the origin arrays.
boolean origin_equal = true;
for(i = 0; i < 3 && origin_equal; ++i)
origin_equal = (origin[i] == obj.origin[i]);
// Compare the radii arrays.
boolean radii_equal = true;
for(i = 0; i < 3 && radii_equal; ++i)
radii_equal = (radii[i] == obj.radii[i]);
// Compare the rotationAngle arrays.
boolean rotationAngle_equal = true;
for(i = 0; i < 3 && rotationAngle_equal; ++i)
rotationAngle_equal = (rotationAngle[i] == obj.rotationAngle[i]);
// Create the return value
return (origin_equal &&
radii_equal &&
rotationAngle_equal);
}
public String GetName() { return "EllipsoidSlice"; }
public String GetVersion() { return "1.0"; }
// Property setting methods
public void SetOrigin(double[] origin_)
{
origin[0] = origin_[0];
origin[1] = origin_[1];
origin[2] = origin_[2];
Select(0);
}
public void SetOrigin(double e0, double e1, double e2)
{
origin[0] = e0;
origin[1] = e1;
origin[2] = e2;
Select(0);
}
public void SetRadii(double[] radii_)
{
radii[0] = radii_[0];
radii[1] = radii_[1];
radii[2] = radii_[2];
Select(1);
}
public void SetRadii(double e0, double e1, double e2)
{
radii[0] = e0;
radii[1] = e1;
radii[2] = e2;
Select(1);
}
public void SetRotationAngle(double[] rotationAngle_)
{
rotationAngle[0] = rotationAngle_[0];
rotationAngle[1] = rotationAngle_[1];
rotationAngle[2] = rotationAngle_[2];
Select(2);
}
public void SetRotationAngle(double e0, double e1, double e2)
{
rotationAngle[0] = e0;
rotationAngle[1] = e1;
rotationAngle[2] = e2;
Select(2);
}
// Property getting methods
public double[] GetOrigin() { return origin; }
public double[] GetRadii() { return radii; }
public double[] GetRotationAngle() { return rotationAngle; }
// Write and read methods.
public void WriteAtts(CommunicationBuffer buf)
{
if(WriteSelect(0, buf))
buf.WriteDoubleArray(origin);
if(WriteSelect(1, buf))
buf.WriteDoubleArray(radii);
if(WriteSelect(2, buf))
buf.WriteDoubleArray(rotationAngle);
}
public void ReadAtts(int index, CommunicationBuffer buf)
{
switch(index)
{
case 0:
SetOrigin(buf.ReadDoubleArray());
break;
case 1:
SetRadii(buf.ReadDoubleArray());
break;
case 2:
SetRotationAngle(buf.ReadDoubleArray());
break;
}
}
public String toString(String indent)
{
String str = new String();
str = str + doubleArrayToString("origin", origin, indent) + "\n";
str = str + doubleArrayToString("radii", radii, indent) + "\n";
str = str + doubleArrayToString("rotationAngle", rotationAngle, indent) + "\n";
return str;
}
// Attributes
private double[] origin;
private double[] radii;
private double[] rotationAngle;
}
/*****************************************************************************
*
* 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: EllipsoidSliceCommonPluginInfo.C
// ************************************************************************* //
#include <EllipsoidSlicePluginInfo.h>
#include <EllipsoidSliceAttributes.h>
// ****************************************************************************
// Method: EllipsoidSliceCommonPluginInfo::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 *
EllipsoidSliceCommonPluginInfo::AllocAttributes()
{
return new EllipsoidSliceAttributes;
}
// ****************************************************************************
// Method: EllipsoidSliceCommonPluginInfo::CopyAttributes
//
// Purpose:
// Copy a EllipsoidSlice attribute subject.
//
// Arguments:
// to The destination attribute subject.
// from The source attribute subject.
//
// Programmer: generated by xml2info
// Creation: omitted
//
// ****************************************************************************
void
EllipsoidSliceCommonPluginInfo::CopyAttributes(AttributeSubject *to,
AttributeSubject *from)
{
*((EllipsoidSliceAttributes *) to) = *((EllipsoidSliceAttributes *) 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: EllipsoidSliceEnginePluginInfo.C
// ************************************************************************* //
#include <EllipsoidSlicePluginInfo.h>
#include <avtEllipsoidSliceFilter.h>
// ****************************************************************************
// Function: GetEngineInfo
//
// Purpose:
// Return a new EnginePluginInfo for the EllipsoidSlice operator.
//
// Programmer: generated by xml2info
// Creation: omitted
//
// ****************************************************************************
extern "C" OP_EXPORT EngineOperatorPluginInfo* EllipsoidSlice_GetEngineInfo()
{
return new EllipsoidSliceEnginePluginInfo;