public class MDLVoxelArray extends MDLObject
MDLObject.Block_enumerateChildObjectsOfClassRootUsingBlockStopPointerNSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
MDLVoxelArray(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static MDLVoxelArray |
alloc() |
static MDLVoxelArray |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
MDLMesh |
coarseMesh()
Creates a coarse mesh from the voxel grid
|
MDLMesh |
coarseMeshUsingAllocator(MDLMeshBufferAllocator allocator) |
void |
convertToSignedShellField()
Converts volume grid into a signed shell field by surrounding the surface voxels, which have shell
level values of zero, by an inner layer of voxels with shell level values of negative one and an
outer layer of voxels with shell level values of positive one.
|
long |
count()
The number of voxels in the grid
|
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
void |
differenceWithVoxels(MDLVoxelArray voxels)
Difference modifies the voxel grid so that voxels also in the supplied voxel grid are removed.
|
static long |
hash_static() |
MDLVoxelArray |
init() |
MDLVoxelArray |
initWithAssetDivisionsPatchRadius(MDLAsset asset,
int divisions,
float patchRadius)
Initialize a voxel grid from an MDLAsset.
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
void |
intersectWithVoxels(MDLVoxelArray voxels)
Intersection modifies the voxel grid so that only voxels that are also in the supplied voxel grid are retained.
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
boolean |
isValidSignedShellField()
Returns whether or not the volume grid is in a valid signed shell field form.
|
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
MDLMesh |
meshUsingAllocator(MDLMeshBufferAllocator allocator)
Creates a smooth mesh from the voxel grid
|
static MDLVoxelArray |
new_objc() |
static MDLVoxelArray |
objectWithSCNNode(SCNNode scnNode) |
static MDLVoxelArray |
objectWithSCNNodeBufferAllocator(SCNNode scnNode,
MDLMeshBufferAllocator bufferAllocator) |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setShellFieldExteriorThickness(float value)
If voxel grid is in a valid signed shell field form, sets the exterior thickness to the desired width,
as measured from the model surface.
|
void |
setShellFieldInteriorThickness(float value)
If voxel grid is in a valid signed shell field form, sets the interior thickness to the desired width,
as measured from the model surface.
|
static void |
setVersion_static(long aVersion) |
void |
setVoxelsForMeshDivisionsPatchRadius(MDLMesh mesh,
int divisions,
float patchRadius)
Set voxels corresponding to a mesh.
|
float |
shellFieldExteriorThickness()
If voxel grid is in a valid signed shell field form, sets the exterior thickness to the desired width,
as measured from the model surface.
|
float |
shellFieldInteriorThickness()
If voxel grid is in a valid signed shell field form, sets the interior thickness to the desired width,
as measured from the model surface.
|
static org.moe.natj.objc.Class |
superclass_static() |
void |
unionWithVoxels(MDLVoxelArray voxels)
Union modifies the voxel grid to be the merger with the supplied voxel grid.
|
static long |
version_static() |
NSData |
voxelIndices()
Returns an NSData containing the indices of all voxels in the voxel grid
|
addChild, children, components, enumerateChildObjectsOfClassRootUsingBlockStopPointer, hidden, instance, name, objectAtPath, parent, path, setChildren, setHidden, setInstance, setName, setParent_unsafe, setParent, setTransform, transformaccessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static MDLVoxelArray alloc()
public static MDLVoxelArray allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static MDLVoxelArray new_objc()
public static MDLVoxelArray objectWithSCNNode(SCNNode scnNode)
public static MDLVoxelArray objectWithSCNNodeBufferAllocator(SCNNode scnNode, MDLMeshBufferAllocator bufferAllocator)
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public MDLMesh coarseMesh()
public MDLMesh coarseMeshUsingAllocator(MDLMeshBufferAllocator allocator)
public void convertToSignedShellField()
The volume model must be closed in order to generate a signed shell field.
public long count()
public void differenceWithVoxels(MDLVoxelArray voxels)
public MDLVoxelArray init()
public MDLVoxelArray initWithAssetDivisionsPatchRadius(MDLAsset asset, int divisions, float patchRadius)
public void intersectWithVoxels(MDLVoxelArray voxels)
public boolean isValidSignedShellField()
This property will be set to YES after calling generateSignedShellField. All other methods that modify the voxel grid will cause this property to be set to NO. Setting shellFieldInteriorThickness and shellFieldExteriorThickness will not affect the value of this property.
public MDLMesh meshUsingAllocator(MDLMeshBufferAllocator allocator)
public void setShellFieldExteriorThickness(float value)
public void setShellFieldInteriorThickness(float value)
public void setVoxelsForMeshDivisionsPatchRadius(MDLMesh mesh, int divisions, float patchRadius)
public float shellFieldExteriorThickness()
public float shellFieldInteriorThickness()
public void unionWithVoxels(MDLVoxelArray voxels)
public NSData voxelIndices()