Skip to content

Commit

Permalink
First commit!
Browse files Browse the repository at this point in the history
  • Loading branch information
andylebihan committed Aug 2, 2019
0 parents commit 71e51ea
Show file tree
Hide file tree
Showing 132 changed files with 23,627 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
* text=auto
*.m text
*.mm text
*.sh eol=lf
*.sln eol=crlf
*.cmd eol=crlf
*.bat eol=crlf
*.Targets diff
*.dll filter=lfs diff=lfs merge=lfs -text
*.exe filter=lfs diff=lfs merge=lfs -text
*.lib filter=lfs diff=lfs merge=lfs -text
*.Lib filter=lfs diff=lfs merge=lfs -text
*.pdb filter=lfs diff=lfs merge=lfs -text
*.dylib filter=lfs diff=lfs merge=lfs -text
*.rhp filter=lfs diff=lfs merge=lfs -text
*.cubin filter=lfs diff=lfs merge=lfs -text
*.chm filter=lfs diff=lfs merge=lfs -text
*.ai filter=lfs diff=lfs merge=lfs -text
*.psd filter=lfs diff=lfs merge=lfs -text
*.doxdb filter=lfs diff=lfs merge=lfs -text
*.msm filter=lfs diff=lfs merge=lfs -text
*.aqt filter=lfs diff=lfs merge=lfs -text
*.DLL filter=lfs diff=lfs merge=lfs -text
*.tlb filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.a filter=lfs diff=lfs merge=lfs -text

175 changes: 175 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,175 @@
# Compiled Object files
*.slo
*.lo
*.o
*.obj
*.msm
*.aps

# Precompiled Headers
*.gch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll
*.rhp
*.pdb
*.pdb.bak

# Fortran module files
*.mod

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app

# Visual Studio temp files
*.suo
*.sdf
*.userprefs
*.exe.config
*.exe.manifest
*.opendb
*.opensdf
*.VC.db
*.DotSettings.user

# Visual Studio performance session files
*.psess
*.vspx

# Xcode temp files and folders
*.xcscmblueprint
*.xccheckout
xcuserdata/

# NUGET folders
packages/

# Output folders
bin/
Debug*/
Release*/
x64/
obj/
ipch/

# Subversion
.svn/
boost_1_55_0/

# MSBuild cruft
*.metaproj
*.metaproj.tmp
*.opensdf
*.*proj.user
*.teamcity*
BuildWarningReport/
*.tlog

# Intermediate C/H files for COM
*_h.h
*_i.h
*_i.c
*_p.c

# Intermediate autogenerated files from WPF
*.g.cs

# Rhino generated backups
*.rui_bak

# Specific files
src4/version.h
src4/version.cs
src4/version.vb
src4/version.wxi
src4/Builder/
src4/DotNetSDK/rhinocommon/dotnet/AutoNativeEnums.cs
src4/DotNetSDK/rhinocommon/dotnet/AutoNativeEnumsRdk.cs
src4/DotNetSDK/rhinocommon/dotnet/AutoNativeMethods.cs
src4/DotNetSDK/rhinocommon/dotnet/AutoNativeMethodsRdk.cs
src4/DotNetSDK/rhinocommon/MethodGen.exe.config
src4/DotNetSDK/rhinocommon/dotnet/rhino3dm_version.cs
src4/Zoo/crypto/doc/crypto.xml
src4/rhino4/Plug-ins/import_E57/Xerces/src/xercesc/util/Xerces_autoconf_config.hpp
src4/rhino4/Plug-ins/RhinoHandlers/dlldata.c
src4/rhino4/Plug-ins/RDK/ShellExtension/Win32/
src4/rhino4/Plug-ins/RDK/RPC/copylog.txt
src4/rhino4/Plug-ins/Toolbars/Resources/default.rui
src4/rhino4/assets/localized.rui
/build/obj
/build/logs
/register_plugins
src4/boostbuild/stagerelease
src4/boostbuild/stagedebug
src4/boostbuild/buildrelease
src4/boostbuild/builddebug
src4/boostbuild/build.log
src4/boostbuild/x64
src4/boostbuild/override.platform.props
src4/BuildSolutions/RhinoMacBuild.userprefs
/src4/tools/EvaluationDebugging/TimeCount
src4/rhino4/Plug-ins/PlugInTest/ShaderBuildErrorSourceCode.txt

# Localized Resources that get copied into this location - these are in Localization
src4/rhino4/Plug-ins/RhinoXXXXRender/Resources

# Generated in Debug mode if a shader fails to compile
src4/rhino4/ShaderBuildErrorSourceCode.txt

# These resources are copied from Localization at build time so can be ignored
src4/rhino4/MacOS/en.lproj/Environment Maps/
*.bak
/src4/BuildSolutions/UpgradeLog.htm
/src4/BuildSolutions/UpgradeLog2.htm
/src4/BuildSolutions/UpgradeLog3.htm
/src4/BuildSolutions/UpgradeLog32.htm
/src4/BuildSolutions/UpgradeLog4.htm
/src4/BuildSolutions/UpgradeLog5.htm
/src4/BuildSolutions/UpgradeLog6.htm
/installer/.vs
/src4/ProductLicenseSystem/ProductLicenseCtl/Encode
.vs
/src4/Zoo/CloudZooClient/*.DS_Store
/src4/rhino4/MacOS/.DS_Store
/src4/rhino4/MacOS/._.DS_Store
/src4/rhino4/MacOS/._.DS_Store
/src4/rhino4/.DS_Store
*.DS_Store

# NUnit generated files
$RANDOM_SEED$
nunit_random_seed.tmp

# Visual Studio Code files
.vscode/

# compiled python scripts
*.pyc
/reporting/cache
/reporting/reports

#Rhino.Python
/src4/rhino4/Plug-ins/ironpython_osx/plugin/rhinoscriptsyntax/
/src4/rhino4/Plug-ins/ironpython_osx/plugin/Lib/
/src4/rhino4/Plug-ins/export_IGES/AutoNativeMethods.cs

# Sandcastle SDK Help
src4/DotNetSDK/rhinocommon/dotnet/Help
src4/rhino4/Plug-ins/Grasshopper/docs/en/SDK Help/Help

# Doxygen
src4/SdkDocumentation/Rhino/html
doxygen_entrydb*.tmp
doxygen_objdb*.tmp
/src4/rhino4/RhinoApplication/ShaderBuildErrorSourceCode.txt
ResourceIds.cs
41 changes: 41 additions & 0 deletions ILBPRhWrapper.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#pragma once

enum eLBPRhWrapperType
{
lbprh_wt_none,
lbprh_wt_object,
lbprh_wt_view,
lbprh_wt_material,
lbprh_wt_layer,
lbprh_wt_document,
lbprh_wt_light,
lbprh_wt_rdk_content,
};


class IWrapperBase
{
public:
virtual ON_Object* GetTarget(void) const = 0;
virtual UUID OriginalUuid(void) const = 0;
virtual const ON_Object* OriginalObject(void) const = 0;
virtual bool RemoveData(void) = 0;
virtual void UndoModifications(void) = 0;
virtual bool CommitChanges(void) = 0;
virtual void RecaptureObject(void) = 0;
virtual void Modify(void) = 0;
virtual bool UserDataPresent(void) const = 0;
virtual bool ModificationsPending(void) const = 0;
virtual bool LastReference(void) const = 0;
virtual eLBPRhWrapperType WrapperType(void) const = 0;
virtual void OnModification(void) const = 0;
};

enum eLBPRhWrapper_DefaultUse { lbprh_use_defaults, lbprh_dont_use_defaults };

template<class T> class ILBPRhWrapper : public IWrapperBase
{
public:
virtual const T* UserData(eLBPRhWrapper_DefaultUse du = lbprh_dont_use_defaults) const = 0;
virtual T* UserDataToModify(void) = 0;
};
Loading

0 comments on commit 71e51ea

Please sign in to comment.