|
| | cVoxelObject () |
| | Constructor of cVoxelObject.
|
| |
| virtual | ~cVoxelObject () |
| | Destructor of cVoxelObject.
|
| |
| virtual std::string | getClassName () |
| | This method returns the name of the object class.
|
| |
| void | setRenderingModeBasic () |
| | This method sets the basic rendering mode without shader.
|
| |
| void | setRenderingModeVoxelColors () |
| | This method sets a basic voxel renderer with shader.
|
| |
| void | setRenderingModeVoxelColorMap () |
| | This method sets a basic voxel renderer with shader and colormap.
|
| |
| void | setRenderingModeIsosurfaceMaterial () |
| | This method sets an isosurface renderer using shader and material color.
|
| |
| void | setRenderingModeIsosurfaceColors () |
| | This method sets an isosurface renderer using shader and individual voxel colors.
|
| |
| void | setRenderingModeIsosurfaceColorMap () |
| | This method sets an isosurface renderer using shader and colormap.
|
| |
| void | setRenderingModeDVRColorMap () |
| | This method sets a direct volume renderer.
|
| |
| void | setRenderingModeCustom () |
| | This method sets a custom shader renderer.
|
| |
| void | setQuality (const double a_quality) |
| | This method sets the quality level of the graphic rendering. This number ranges from 0.1 (poor) to 1.0 (high).
|
| |
| double | getQuality () |
| | This method returns the quality level of the graphic rendering.
|
| |
| void | setIsosurfaceValue (const float a_isosurfaceValue) |
| | This method sets the isosurface value. Used when isometric rendering is enabled.
|
| |
| float | getIsosurfaceValue () |
| | This method returns the isosurface value. This setting is used when isometric rendering is enabled.
|
| |
| void | setVoxelOpacity (const float a_voxelOpacity) |
| | This method sets the voxel opacity value. This setting is used with basic voxel rendering mode.
|
| |
| float | getVoxelOpacity () |
| | This method returns the voxel opacity value.
|
| |
| void | setOpacityThreshold (const float a_opacityThreshold) |
| | This method sets the opacity threshold. This value is the opacity accumulated along the ray before the shader decides to stop casting.
|
| |
| float | getOpacityThreshold () |
| | This method returns the opacity threshold.
|
| |
| void | setOpticalDensity (const float a_opticalDensity) |
| | This method sets the optical density factor. This setting is used when the direct volume rendering mode is enabled.
|
| |
| float | getOpticalDensity () |
| | This method returns the optical density factor.
|
| |
| void | setUseLinearInterpolation (const bool a_useLinearInterpolation) |
| | This method enables or disables linear interpolation.
|
| |
| bool | getUseLinearInterpolation () |
| | This method returns true if linear interpolation is enabled, false otherwise.
|
| |
| void | setUseColorMap (const bool a_useColorMap) |
| | This method enables or disables the use of the color look-up table.
|
| |
| bool | getUseColorMap () const |
| | This method returns true if the color look-up table is enabled, false otherwise.
|
| |
| bool | polygonize (cMesh *a_mesh, double a_gridSizeX=-1.0, double a_gridSizeY=-1.0, double a_gridSizeZ=-1.0) |
| | This method converts this voxel object into a triangle mesh.
|
| |
| bool | polygonize (cMultiMesh *a_multiMesh, double a_gridSizeX=-1.0, double a_gridSizeY=-1.0, double a_gridSizeZ=-1.0) |
| | This method converts this voxel object into a triangle multimesh.
|
| |
| bool | voxelize (cMesh *a_mesh, unsigned int a_largestSideInVoxels, cColorb &a_color) |
| | This method creates a voxel model from a triangle mesh.
|
| |
| bool | fill (unsigned int a_x, unsigned int a_y, unsigned int a_z, cColorb &a_color, double a_colorTolerance=0.1) |
| | This method fills a voxel object at a given point, with a given color, and color tolerance in respect to neighbour voxels.
|
| |
| | cMesh (cMaterialPtr a_material=cMaterialPtr()) |
| | Constructor of cMesh.
|
| |
| virtual | ~cMesh () |
| | Destructor of cMesh.
|
| |
| virtual cMesh * | copy (const bool a_duplicateMaterialData=false, const bool a_duplicateTextureData=false, const bool a_duplicateMeshData=false, const bool a_buildCollisionDetector=false) |
| | This method creates a copy of itself.
|
| |
| virtual void | setTransparencyLevel (const float a_level, const bool a_applyToVertices=false, const bool a_applyToTextures=false, const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method sets the alpha value at each vertex and in all of my material colors.
|
| |
| virtual void | markForUpdate (const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method invalidates any existing display lists and marks the mesh for update.
|
| |
| unsigned int | newVertex (const double a_x=0.0, const double a_y=0.0, const double a_z=0.0, const double a_normalX=1.0, const double a_normalY=0.0, const double a_normalZ=0.0, const double a_textureCoordX=0.0, const double a_textureCoordY=0.0, const double a_textureCoordZ=0.0) |
| | This method creates a new vertex and adds it to the vertex list.
|
| |
| unsigned int | newVertex (const cVector3d &a_pos, const cVector3d &a_normal=cVector3d(1, 0, 0), const cVector3d &a_textureCoord=cVector3d(0, 0, 0), const cColorf &a_color=cColorf(0, 0, 0, 1)) |
| | This method creates a new vertex and adds it to the vertex list.
|
| |
| unsigned int | getNumVertices () const |
| | This method returns the number of stored vertices.
|
| |
| void | setVertexColor (const cColorf &a_color) |
| | This method sets the color of each vertex.
|
| |
| unsigned int | newTriangle (const unsigned int a_indexVertex0, const unsigned int a_indexVertex1, const unsigned int a_indexVertex2) |
| | This method creates a new triangle by passing vertex indices.
|
| |
| unsigned int | newTriangle (const cVector3d &a_vertex0=cVector3d(0, 0, 0), const cVector3d &a_vertex1=cVector3d(0, 0, 0), const cVector3d &a_vertex2=cVector3d(0, 0, 0), const cVector3d &a_normal0=cVector3d(1, 0, 0), const cVector3d &a_normal1=cVector3d(1, 0, 0), const cVector3d &a_normal2=cVector3d(1, 0, 0), const cVector3d &a_textureCoord0=cVector3d(0, 0, 0), const cVector3d &a_textureCoord1=cVector3d(0, 0, 0), const cVector3d &a_textureCoord2=cVector3d(0, 0, 0), const cColorf &a_colorVertex0=cColorf(0, 0, 0, 1), const cColorf &a_colorVertex1=cColorf(0, 0, 0, 1), const cColorf &a_colorVertex2=cColorf(0, 0, 0, 1)) |
| | This method creates a new triangle and three new vertices by passing vertex positions, normals and texture coordinates.
|
| |
| bool | removeTriangle (const unsigned int a_index) |
| | This method removes a triangle from the triangle array.
|
| |
| unsigned int | getNumTriangles () |
| | This method returns the number of stored triangles.
|
| |
| void | clear () |
| | This method clears all triangles and vertices of mesh.
|
| |
| void | setShowTriangles (const bool a_showTriangles) |
| | This method enables or disables the rendering of triangles.
|
| |
| bool | getShowTriangles () const |
| | This method returns whether rendering of triangles is enabled.
|
| |
| void | computeAllEdges (double a_angleThresholdDeg=40.0) |
| | This method creates a list of edges by providing a threshold angle in degrees.
|
| |
| void | clearAllEdges () |
| | This method clears all edges.
|
| |
| void | setShowEdges (const bool a_showEdges) |
| | This method enables or disables the rendering of edges.
|
| |
| bool | getShowEdges () const |
| | This method returns whether rendering of edges is enabled.
|
| |
| void | setEdgeProperties (const double a_width, const cColorf &a_color) |
| | This method sets the graphic properties for edge-rendering.
|
| |
| void | setEdgeLineWidth (const double a_width) |
| | This method sets the line width of edges.
|
| |
| void | setShowNormals (const bool a_showNormals) |
| | This method enables or disables the rendering of vertex normals.
|
| |
| bool | getShowNormals () const |
| | This method returns whether rendering of normals is enabled.
|
| |
| void | setNormalsProperties (const double a_length, const cColorf &a_color) |
| | This method sets the graphic properties for normal-rendering.
|
| |
| void | setNormalsLength (const double a_length) |
| | This method set the length of normals for display purposes.
|
| |
| void | computeAllNormals () |
| | This method computes all triangle normals.
|
| |
| virtual void | reverseAllNormals () |
| | This method reverses all surface normals.
|
| |
| void | computeBTN () |
| | This method computes the normal matrix vectors for all triangles.
|
| |
| void | setShowTangents (const bool a_showTangents) |
| | This method enables or disables the rendering of tangents and bi-tangents.
|
| |
| bool | getShowTangents () const |
| | This method returns whether rendering of tangents and bi-tangents is enabled.
|
| |
| virtual void | createBruteForceCollisionDetector () |
| | This method builds a brute force collision detector for this mesh.
|
| |
| virtual void | createAABBCollisionDetector (const double a_radius) |
| | This method builds an AABB collision detector for this mesh.
|
| |
| void | scaleXYZ (const double a_scaleX, const double a_scaleY, const double a_scaleZ) |
| | This method scale this mesh by using different scale factors along X, Y and Z axes.
|
| |
| virtual void | offsetVertices (const cVector3d &a_offset, const bool a_updateCollisionDetector=true) |
| | This method shifts all vertex positions by the specified amount.
|
| |
| virtual void | rotateVertices (const cMatrix3d &a_rotation, const bool a_updateCollisionDetector=true) |
| | This method rotates all vertex positions by applying a local rotation matrix.
|
| |
| virtual cVector3d | getCenterOfMass () |
| | This method computes the center of mass of this mesh, based on vertex positions.
|
| |
| | cGenericObject () |
| | Constructor of cGenericObject.
|
| |
| virtual | ~cGenericObject () |
| | Destructor of cGenericObject.
|
| |
| virtual void | setEnabled (bool a_enabled, const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method enables or disable this object. When an object is disabled, both haptic and graphic rendering no longer occur.
|
| |
| bool | getEnabled () const |
| | This method returns true if the object is enabled, false otherwise.
|
| |
| cGenericObject * | getObject (std::string &a_name) |
| | This method returns a pointer to an object of a given name.
|
| |
| virtual void | setLocalPos (const cVector3d &a_localPos) |
| | This method sets the local position of this object.
|
| |
| void | setLocalPos (const double a_x=0.0, const double a_y=0.0, const double a_z=0.0) |
| | This method sets the local position of this object.
|
| |
| cVector3d | getLocalPos () const |
| | This method returns the local position of this object.
|
| |
| cVector3d | getGlobalPos () const |
| | This method returns the global position of this object.
|
| |
| virtual void | setLocalRot (const cMatrix3d &a_localRot) |
| | This method sets the local rotation matrix for this object.
|
| |
| cMatrix3d | getLocalRot () const |
| | This method returns the local rotation matrix of this object.
|
| |
| cMatrix3d | getGlobalRot () const |
| | This method returns the global rotation matrix of this object.
|
| |
| void | setLocalTransform (const cTransform &a_transform) |
| | This method returns the local position and rotation matrix by passing a transformation matrix.
|
| |
| cTransform | getLocalTransform () |
| | This method returns the local position and rotation matrix in a transformation matrix.
|
| |
| cTransform | getGlobalTransform () |
| | This method returns the global position and rotation matrix in a transformation matrix.
|
| |
| void | translate (const cVector3d &a_translation) |
| | This method translates this object by a specified offset.
|
| |
| void | translate (const double a_x, const double a_y, const double a_z=0.0) |
| | This method translates this object by a specified offset.
|
| |
| void | rotateAboutLocalAxisRad (const cVector3d &a_axis, const double a_angleRad) |
| | This method rotates this object around a local axis. Angle magnitude is defined in radians.
|
| |
| void | rotateAboutLocalAxisDeg (const cVector3d &a_axis, const double a_angleDeg) |
| | This method rotates this object around a local axis. Angle magnitude is defined in degrees.
|
| |
| void | rotateAboutLocalAxisRad (const double a_axisX, const double a_axisY, const double a_axisZ, const double a_angleRad) |
| | This method rotates this object around a local axis. Angle magnitude is defined in radians.
|
| |
| void | rotateAboutLocalAxisDeg (const double a_axisX, const double a_axisY, const double a_axisZ, const double a_angleDeg) |
| | This method rotates this object around a local axis. Angle magnitude is defined in degrees.
|
| |
| void | rotateAboutGlobalAxisRad (const cVector3d &a_axis, const double a_angleRad) |
| | This method rotates this object around a global axis. Angle magnitude is defined in radians.
|
| |
| void | rotateAboutGlobalAxisDeg (const cVector3d &a_axis, const double a_angleDeg) |
| | This method rotates this object around a global axis. Angle magnitude is defined in degrees.
|
| |
| void | rotateAboutGlobalAxisRad (const double a_axisX, const double a_axisY, const double a_axisZ, const double a_angleRad) |
| | This method rotate this object around a local axis. Angle magnitude is defined in radians.
|
| |
| void | rotateAboutGlobalAxisDeg (const double a_axisX, const double a_axisY, const double a_axisZ, const double a_angleDeg) |
| | This method rotates this object around a local axis. Angle magnitude is defined in degrees.
|
| |
| void | rotateExtrinsicEulerAnglesRad (const double &a_angleRad1, const double &a_angleRad2, const double &a_angleRad3, const cEulerOrder a_eulerOrder) |
| | This method rotates this object using fixed Euler representation. Angles are defined in radians.
|
| |
| void | rotateExtrinsicEulerAnglesDeg (const double &a_angleDeg1, const double &a_angleDeg2, const double &a_angleDeg3, const cEulerOrder a_eulerOrder) |
| | This method rotates this object using fixed Euler representation. Angles are defined in radians.
|
| |
| void | rotateIntrinsicEulerAnglesRad (const double &a_angleRad1, const double &a_angleRad2, const double &a_angleRad3, const cEulerOrder a_eulerOrder) |
| | This method rotates this object using co-moving Euler representation. Angles are defined in radians.
|
| |
| void | rotateIntrinsicEulerAnglesDeg (const double &a_angleDeg1, const double &a_angleDeg2, const double &a_angleDeg3, const cEulerOrder a_eulerOrder) |
| | This method rotates this object using co-moving Euler representation. Angles are defined in radians.
|
| |
| virtual void | computeGlobalPositions (const bool a_frameOnly=true, const cVector3d &a_globalPos=cVector3d(0.0, 0.0, 0.0), const cMatrix3d &a_globalRot=cIdentity3d()) |
| | This method computes the global position and rotation of this object and its children.
|
| |
| void | computeGlobalPositionsFromRoot (const bool a_frameOnly=true) |
| | This method computes the global position and rotation of current object only.
|
| |
| bool | addEffect (cGenericEffect *a_effect) |
| | This method adds a haptic effect to this object.
|
| |
| bool | removeEffect (cGenericEffect *a_effect) |
| | This method removes a haptic effect from this object.
|
| |
| void | deleteAllEffects () |
| | This method removes all haptic effects.
|
| |
| void | createEffectMagnetic (const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method creates a magnetic haptic effect.
|
| |
| void | deleteEffectMagnetic (const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method deletes any current magnetic haptic effect.
|
| |
| void | createEffectStickSlip (const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method creates a stick-and-slip haptic effect.
|
| |
| void | deleteEffectStickSlip (const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method delete any current stick-and-slip haptic effect.
|
| |
| void | createEffectSurface (const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method creates a surface haptic effect.
|
| |
| void | deleteEffectSurface (const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method deletes any current surface haptic effect.
|
| |
| void | createEffectVibration (const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method creates a vibration haptic effect.
|
| |
| void | deleteEffectVibration (const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method deletes any current vibration haptic effect.
|
| |
| void | createEffectViscosity (const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method creates a viscous haptic effect.
|
| |
| void | deleteEffectViscosity (const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method deletes any current viscous haptic effect.
|
| |
| virtual void | setHapticEnabled (const bool a_hapticEnabled, const bool a_affectChildren=true, const bool a_affectComponents=true) |
| | This method enables or disables haptic perception of this object, optionally propagating the change to children.
|
| |
| bool | getHapticEnabled () const |
| | This method returns the haptic status of object (true means it can be felt when visible).
|
| |
| virtual void | setStiffness (const double a_stiffness, const bool a_affectChildren=true, const bool a_affectComponents=true) |
| | This method sets the haptic stiffness of the object, optionally recursively affecting children.
|
| |
| virtual void | setFriction (double a_staticFriction, double a_dynamicFriction, const bool a_affectChildren=true, const bool a_affectComponents=true) |
| | This method sets the static and dynamic friction properties (polygonal models only), optionally recursively affecting children.
|
| |
| virtual void | setShowEnabled (const bool a_show, const bool a_affectChildren=true, const bool a_affectComponents=true) |
| | This method enables or disables the graphic display of this object, optionally propagating the change to children.
|
| |
| bool | getShowEnabled () const |
| | This method returns the display status of object (true means it's visible).
|
| |
| virtual void | setWireMode (const bool a_showWireMode, const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method enables or disables wireframe rendering, optionally propagating the operation to my children.
|
| |
| bool | getWireMode () const |
| | This method returns whether wireframe rendering is enabled.
|
| |
| virtual void | setUseCulling (const bool a_useCulling, const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method enables or disables face-culling, optionally propagating the operation to my children.
|
| |
| bool | getUseCulling () const |
| | This method returns true if face-culling is enabled, false otherwise.
|
| |
| virtual void | setUseTransparency (const bool a_useTransparency, const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method enables or disables transparency.
|
| |
| bool | getUseTransparency () const |
| | This method returns true if transparency is enabled, false otherwise.
|
| |
| virtual void | setUseDisplayList (const bool a_useDisplayList, const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method enabled or disables the use of a display list for rendering, optionally propagating the operation to its children.
|
| |
| bool | getUseDisplayList () const |
| | This method returns true if a display list is activated, false otherwise.
|
| |
| virtual void | setUseVertexColors (const bool a_useColors, const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method enables or disables the use of per-vertex colors, optionally propagating the operation to its children.
|
| |
| bool | getUseVertexColors () const |
| | This method returns true is per-vertex color properties are enabled, false otherwise.
|
| |
| virtual void | setUseMaterial (const bool a_useMaterial, const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method enables or disables the use of material properties, optionally propagating the operation to its children.
|
| |
| bool | getUseMaterial () const |
| | This method returns true is material properties are enabled, false otherwise.
|
| |
| virtual void | setMaterial (cMaterialPtr a_material, const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method sets the material properties of this object, optionally propagating the operation to its children.
|
| |
| virtual void | setMaterial (cMaterial &a_material, const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method setd the material properties of this object, optionally propagating the operation to its children.
|
| |
| virtual void | backupMaterialColors (const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method creates a backup of the material colors of this object, optionally propagating the operation to its children.
|
| |
| virtual void | restoreMaterialColors (const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method restores the material color properties of this object from a previous backup, optionally propagating the operation to its children.
|
| |
| virtual void | setUseTexture (const bool a_useTexture, const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method enables or disables the use of texture-mapping, optionally propagating the operation to its children.
|
| |
| bool | getUseTexture () const |
| | This method returns true if texture-mapping is enabled, false otherwise.
|
| |
| virtual void | setTexture (cTexture1dPtr a_texture, const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method sets a texture to this object, optionally propagating the operation to its children.
|
| |
| virtual void | setShaderProgram (cShaderProgramPtr a_shaderProgram, const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method assigns a shader program to this object, optionally propagating the operation to its children..
|
| |
| virtual cShaderProgramPtr | getShaderProgram () |
| | This method returns a pointer to the current shader program.
|
| |
| virtual void | setShowBoundaryBox (const bool a_showBoundaryBox, const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method enables or disabled the graphic display of the boundary box for this object, optionally propagating the change to its children.
|
| |
| bool | getShowBoundaryBox () const |
| | This method returns true if the boundary box is being displayed, false otherwise.
|
| |
| cVector3d | getBoundaryMin () const |
| | This method returns the minimum point of this object's boundary box.
|
| |
| cVector3d | getBoundaryMax () const |
| | This method returns the maximum point of this object's boundary box.
|
| |
| cVector3d | getBoundaryCenter () const |
| | This method computes and returns the center of this object's boundary box.
|
| |
| bool | getBoundaryBoxEmpty () |
| | This method returns true, if the boundary box is empty, otherwise false.
|
| |
| virtual void | computeBoundaryBox (const bool a_includeChildren=true) |
| | This method computes this object's boundary box, optionally forcing it to bound child objects.
|
| |
| virtual void | setShowFrame (const bool a_showFrame, const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method enables or disables the graphic display of the reference frame arrows for this object, optionally propagating the change to its children.
|
| |
| bool | getShowFrame (void) const |
| | This method returns true if the display of the reference frame is enabled, false otherwise.
|
| |
| virtual void | setFrameSize (const double a_size=1.0, const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method sets the size of the rendered reference frame, optionally propagating the change to its children.
|
| |
| double | getFrameSize () const |
| | This method returns the size of the graphical reference frame.
|
| |
| void | setCollisionDetector (cGenericCollision *a_collisionDetector) |
| | This method sets a collision detector to this current object.
|
| |
| cGenericCollision * | getCollisionDetector () const |
| | This method returns a pointer to this object's current collision detector.
|
| |
| virtual void | deleteCollisionDetector (const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method deletes any existing collision detector.
|
| |
| virtual bool | computeCollisionDetection (const cVector3d &a_segmentPointA, const cVector3d &a_segmentPointB, cCollisionRecorder &a_recorder, cCollisionSettings &a_settings) |
| | This method computes any collision between a segment and this object.
|
| |
| virtual void | setShowCollisionDetector (const bool a_showCollisionDetector, const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method enables or disables the display of the collision detector, optionally propagating the change to its children.
|
| |
| bool | getShowCollisionDetector () |
| | This method returns true if the collision detector is being displayed graphically, false otherwise.
|
| |
| virtual void | setCollisionDetectorProperties (unsigned int a_displayDepth, cColorf &a_color, const bool a_affectChildren=false, const bool a_affectComponents=true) |
| | This method sets the collision detector graphic display properties.
|
| |
| void | setParent (cGenericObject *a_parent) |
| | This method sets the parent of this object.
|
| |
| cGenericObject * | getParent () const |
| | This method returns the parent of this object.
|
| |
| void | setOwner (cGenericObject *a_owner) |
| | This method sets a link to an object that owns this object. This could be a super parent for instance.
|
| |
| cGenericObject * | getOwner () |
| | This method returns the owner of this object.
|
| |
| cGenericObject * | getRootObject () |
| | This method returns the root object of the scenegraph.
|
| |
| cGenericObject * | getChild (const unsigned int a_index) const |
| | This method returns a selected child from the list of children.
|
| |
| bool | addChild (cGenericObject *a_object) |
| | This method adds an object to the list of children.
|
| |
| bool | removeChild (cGenericObject *a_object) |
| | This method removes an object from the list of children, without deleting it.
|
| |
| bool | removeFromGraph () |
| | This method removes this object from its parent's list of children or list of components.
|
| |
| bool | deleteChild (cGenericObject *a_object) |
| | This method removes an object from its list of children and deletes it.
|
| |
| void | clearAllChildren () |
| | This method clears all objects from its list of children, without deleting them.
|
| |
| void | deleteAllChildren () |
| | This method clears and delete all objects from its list of children.
|
| |
| unsigned int | getNumChildren () |
| | This method returns the number of objects from its list of children.
|
| |
| unsigned int | getNumDescendants (bool a_includeCurrentObject=false) |
| | This method returns the total number of descendants, optionally including this object.
|
| |
| bool | addComponent (cGenericObject *a_component) |
| | This method adds an object to the list of components.
|
| |
| bool | removeComponent (cGenericObject *a_object) |
| | This method removes an object from the list of components, without deleting it.
|
| |
| bool | deleteComponent (cGenericObject *a_object) |
| | This method removes an object from its list of components and deletes it.
|
| |
| void | clearAllComponents () |
| | This method clears all objects from its list of components, without deleting them.
|
| |
| void | deleteAllComponents () |
| | This method clears and delete all objects from its list of components.
|
| |
| unsigned int | getNumComponents () |
| | This method returns the number of objects from its list of components.
|
| |
| void | setGhostEnabled (bool a_ghostEnabled) |
| | This method enables or disables this object to be a ghost node.
|
| |
| bool | getGhostEnabled () |
| | This method returns truee if this object is a ghost node.
|
| |
| virtual void | scale (const double &a_scaleFactor, const bool a_affectChildren=true, const bool a_affectComponents=true) |
| | This method scales the size of this object.
|
| |
| virtual void | renderSceneGraph (cRenderOptions &a_options) |
| | This method renders the entire scene graph, starting from this object.
|
| |
| virtual void | adjustCollisionSegment (cVector3d &a_segmentPointA, cVector3d &a_segmentPointAadjusted) |
| | This method adjusts the collision segment to handle objects in motion.
|
| |
| virtual cVector3d | computeInteractions (const cVector3d &a_toolPos, const cVector3d &a_toolVel, const unsigned int a_IDN, cInteractionRecorder &a_interactions) |
| | This method computes all haptic interaction between a tool and this object using the haptic effects.
|
| |
| | cGenericType () |
| | Constructor of cGenericType.
|
| |
| virtual | ~cGenericType () |
| | Destructor of cGenericType.
|
| |
| virtual int | getObjectCounter () |
| | This method return the value of the object counter.
|
| |