SoCSGOperation Class Reference
[SolidViz]

SolidViz Class which computes a CSG operation (OR, AND, SUB, etc) from 2 solid objects. More...

#include <SolidViz/SoCSGOperation.h>

List of all members.

Public Types

enum  OperationType {
  OR,
  AND,
  SUB,
  CUT,
  INSIDE_CUT,
  MERGE
}

Public Member Functions

 SoCSGOperation ()
 SoCSGOperation (OperationType opType)
void setOperationType (OperationType opType)
OperationType getOperationType () const
void setSceneGraphs (const SoNode *objectA, const SoNode *objectB)
SoSeparatorgetSceneGraph () const

Detailed Description

SolidViz Class which computes a CSG operation (OR, AND, SUB, etc) from 2 solid objects.

Each input solid object is given by a scene graph. The result is also given by a scene graph.

NOTE: This class is provided on an as-is basis, with no support or warranty.

SEE ALSO

SolidViz Overview, SoCSGGroup SoSolidViz

Deprecated:

Deprecated since Open Inventor 9500
No longer supported.

Member Enumeration Documentation

Available operations.

Enumerator:
OR 
AND 
SUB 
CUT 
INSIDE_CUT 
MERGE 

Constructor & Destructor Documentation

SoCSGOperation::SoCSGOperation (  ) 

Constructor.

SoCSGOperation::SoCSGOperation ( OperationType  opType  ) 

Constructor.


Member Function Documentation

OperationType SoCSGOperation::getOperationType (  )  const

Gets the current operation.

SoSeparator* SoCSGOperation::getSceneGraph (  )  const

Returns the result objectA OperationType objectB The scenegraph returned contains an SoFaceSet shape.

void SoCSGOperation::setOperationType ( OperationType  opType  ) 

Defines the current operation.

void SoCSGOperation::setSceneGraphs ( const SoNode objectA,
const SoNode objectB 
)

Defines the 2 solid objects used for the CSG operation.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/