1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00
Files
occt/src/Vrml/Vrml_Coordinate3.hxx
abv 42cf5bc1ca 0024002: Overall code and build procedure refactoring -- automatic
Automatic upgrade of OCCT code by command "occt_upgrade . -nocdl":
- WOK-generated header files from inc and sources from drv are moved to src
- CDL files removed
- All packages are converted to nocdlpack
2015-07-12 07:42:38 +03:00

78 lines
2.0 KiB
C++

// Created on: 1997-02-05
// Created by: Alexander BRIVIN and Dmitry TARASOV
// Copyright (c) 1997-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _Vrml_Coordinate3_HeaderFile
#define _Vrml_Coordinate3_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <TColgp_HArray1OfVec.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_OStream.hxx>
class Vrml_Coordinate3;
DEFINE_STANDARD_HANDLE(Vrml_Coordinate3, MMgt_TShared)
//! defines a Coordinate3 node of VRML specifying
//! properties of geometry and its appearance.
//! This node defines a set of 3D coordinates to be used by a subsequent IndexedFaceSet,
//! IndexedLineSet, or PointSet node. This node does not produce a visible result
//! during rendering; it simply replaces the current coordinates in the rendering
//! state for subsequent nodes to use.
class Vrml_Coordinate3 : public MMgt_TShared
{
public:
Standard_EXPORT Vrml_Coordinate3(const Handle(TColgp_HArray1OfVec)& aPoint);
Standard_EXPORT Vrml_Coordinate3();
Standard_EXPORT void SetPoint (const Handle(TColgp_HArray1OfVec)& aPoint);
Standard_EXPORT Handle(TColgp_HArray1OfVec) Point() const;
Standard_EXPORT Standard_OStream& Print (Standard_OStream& anOStream) const;
DEFINE_STANDARD_RTTI(Vrml_Coordinate3,MMgt_TShared)
protected:
private:
Handle(TColgp_HArray1OfVec) myPoint;
};
#endif // _Vrml_Coordinate3_HeaderFile